Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 298 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer From | 20650693 | 570 days ago | IN | 0 ETH | 0.00001486 | ||||
| Transfer From | 20650693 | 570 days ago | IN | 0 ETH | 0.00001695 | ||||
| Transfer From | 20650692 | 570 days ago | IN | 0 ETH | 0.00003211 | ||||
| Transfer From | 19978516 | 664 days ago | IN | 0 ETH | 0.00015099 | ||||
| Safe Transfer Fr... | 17695340 | 984 days ago | IN | 0 ETH | 0.00097366 | ||||
| Mint | 17030871 | 1078 days ago | IN | 0.03333 ETH | 0.00176322 | ||||
| Mint | 16819662 | 1108 days ago | IN | 0.3333 ETH | 0.00947963 | ||||
| Mint | 16733104 | 1120 days ago | IN | 0.3333 ETH | 0.0023002 | ||||
| Set Approval For... | 16600124 | 1138 days ago | IN | 0 ETH | 0.0018807 | ||||
| Mint | 16572342 | 1142 days ago | IN | 0.07777 ETH | 0.00316419 | ||||
| Mint | 16525233 | 1149 days ago | IN | 0.3333 ETH | 0.00145043 | ||||
| Set Approval For... | 16370053 | 1171 days ago | IN | 0 ETH | 0.00098937 | ||||
| Mint | 16308117 | 1179 days ago | IN | 0.03333 ETH | 0.00131541 | ||||
| Mint | 16236468 | 1189 days ago | IN | 0.3333 ETH | 0.00131874 | ||||
| Safe Transfer Fr... | 16231508 | 1190 days ago | IN | 0 ETH | 0.00095383 | ||||
| Mint | 16215322 | 1192 days ago | IN | 0.03333 ETH | 0.00135021 | ||||
| Mint | 16176772 | 1197 days ago | IN | 0.7777 ETH | 0.00174068 | ||||
| Mint | 16084120 | 1210 days ago | IN | 0.03333 ETH | 0.00141671 | ||||
| Mint | 15995192 | 1223 days ago | IN | 0.03333 ETH | 0.00129064 | ||||
| Mint | 15816306 | 1248 days ago | IN | 0.03333 ETH | 0.00098627 | ||||
| Mint | 15760945 | 1256 days ago | IN | 0.03333 ETH | 0.00118163 | ||||
| Mint | 15575085 | 1282 days ago | IN | 0.03333 ETH | 0.00161751 | ||||
| Safe Transfer Fr... | 15546026 | 1286 days ago | IN | 0 ETH | 0.00038896 | ||||
| Mint | 15546010 | 1286 days ago | IN | 0.03333 ETH | 0.00051688 | ||||
| Safe Transfer Fr... | 15446453 | 1302 days ago | IN | 0 ETH | 0.00093893 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 17030871 | 1078 days ago | 0.03333 ETH | ||||
| Transfer | 16819662 | 1108 days ago | 0.3333 ETH | ||||
| Transfer | 16733104 | 1120 days ago | 0.3333 ETH | ||||
| Transfer | 16572342 | 1142 days ago | 0.07777 ETH | ||||
| Transfer | 16525233 | 1149 days ago | 0.3333 ETH | ||||
| Transfer | 16308117 | 1179 days ago | 0.03333 ETH | ||||
| Transfer | 16236468 | 1189 days ago | 0.3333 ETH | ||||
| Transfer | 16215322 | 1192 days ago | 0.03333 ETH | ||||
| Transfer | 16176772 | 1197 days ago | 0.7777 ETH | ||||
| Transfer | 16084120 | 1210 days ago | 0.03333 ETH | ||||
| Transfer | 15995192 | 1223 days ago | 0.03333 ETH | ||||
| Transfer | 15816306 | 1248 days ago | 0.03333 ETH | ||||
| Transfer | 15760945 | 1256 days ago | 0.03333 ETH | ||||
| Transfer | 15575085 | 1282 days ago | 0.03333 ETH | ||||
| Transfer | 15546010 | 1286 days ago | 0.03333 ETH | ||||
| Transfer | 15364726 | 1315 days ago | 0.1111 ETH | ||||
| Transfer | 15197047 | 1341 days ago | 0.03333 ETH | ||||
| Transfer | 15076974 | 1359 days ago | 0.3333 ETH | ||||
| Transfer | 15049099 | 1364 days ago | 0.07777 ETH | ||||
| - | 14985166 | 1376 days ago | 0.03333 ETH | ||||
| - | 14738455 | 1416 days ago | 0.7777 ETH | ||||
| - | 14525937 | 1450 days ago | 0.03333 ETH | ||||
| - | 14375930 | 1473 days ago | 0.03333 ETH | ||||
| - | 14280941 | 1488 days ago | 0.03333 ETH | ||||
| - | 14255803 | 1492 days ago | 0.03333 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Creatoken
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract Creatoken is ERC721, Ownable {
using Strings for uint256;
bool public saleIsActive = false;
address private _ethRecipient;
string private _baseURL;
mapping(uint256 => uint256) private MAX_PER_TIER;
mapping(uint256 => uint256) private _tier;
constructor(address ethRecipient, uint256[] memory tierStart , uint256[] memory tierEnds) ERC721("Creatoken", "CTK") {
_ethRecipient = ethRecipient;
_tier[0] = tierStart[0];
_tier[1] = tierStart[1];
_tier[2] = tierStart[2];
_tier[3] = tierStart[3];
_tier[4] = tierStart[4];
_tier[5] = tierStart[5];
MAX_PER_TIER[0] = tierEnds[0];
MAX_PER_TIER[1] = tierEnds[1];
MAX_PER_TIER[2] = tierEnds[2];
MAX_PER_TIER[3] = tierEnds[3];
MAX_PER_TIER[4] = tierEnds[4];
MAX_PER_TIER[5] = tierEnds[5];
}
function toggleSaleState() external onlyOwner returns (bool) {
saleIsActive = !saleIsActive;
return saleIsActive;
}
function adminMint() external onlyOwner {
require(tierCheck(5), "We're out of stock for this tier.");
_tier[5] += 1;
_safeMint(owner(), _tier[5]);
}
function adminMintTo(address to) external onlyOwner {
require(tierCheck(5), "We're out of stock for this tier.");
_tier[5] += 1;
_safeMint(to, _tier[5]);
}
function mint(uint8 tier) external payable {
require(saleIsActive, "Sale not active yet.");
require(tier >= 0 && tier <= 5, "Tier out of range.");
require(tierCheck(tier), "We're out of stock for this tier.");
require(msg.value == getTokenPrice(tier), "The amount of ether sent is wrong.");
_tier[tier] += 1;
_safeMint(msg.sender, _tier[tier]);
transferEthereum(msg.value);
}
function tierCheck(uint256 tier) internal view returns (bool) {
return MAX_PER_TIER[tier] > _tier[tier];
}
function getTokenPrice(uint256 tier) internal pure returns (uint256) {
if (tier == 0) {
return 11110000000000000000; // 11,11 ETH - Space
} else if (tier == 1) {
return 777700000000000000; // 0,7777 ETH - Tinte
} else if(tier == 2) {
return 333300000000000000; // 0,3333 ETH - Gold
} else if(tier == 3){
return 111100000000000000; // 0,1111 ETH - Silber
} else if(tier == 4){
return 77770000000000000; // 0,07777 ETH - Wood
} else {
return 33330000000000000; // 0,03333 ETH - Black
}
}
function setEthRecipient(address ethRecipient) external onlyOwner {
_ethRecipient = ethRecipient;
}
function setBaseUrl(string calldata url) external onlyOwner {
_baseURL = url;
}
function _baseURI() internal view override(ERC721) returns (string memory) {
return _baseURL;
}
function transferEthereum(uint sentValue) internal {
(bool sent, ) = _ethRecipient.call{value: sentValue}("");
require(sent, "Failed to send ETH");
}
function withdraw() external onlyOwner {
uint256 balance = address(this).balance;
(bool sent, ) = _ethRecipient.call{value: balance}("");
require(sent, "Failed to send ETH");
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
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) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @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
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 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");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(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");
// solhint-disable-next-line avoid-low-level-calls
(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");
// solhint-disable-next-line avoid-low-level-calls
(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");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping (uint256 => address) private _owners;
// Mapping owner address to token count
mapping (address => uint256) private _balances;
// Mapping from token ID to approved address
mapping (uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping (address => mapping (address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor (string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC721).interfaceId
|| interfaceId == type(IERC721Metadata).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0
? string(abi.encodePacked(baseURI, tokenId.toString()))
: '';
}
/**
* @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
* in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: 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 virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
_mint(to, tokenId);
require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(address from, address to, uint256 tokenId) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev 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("ERC721: transfer to non ERC721Receiver implementer");
} else {
// solhint-disable-next-line no-inline-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), 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 {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}{
"remappings": [],
"optimizer": {
"enabled": false,
"runs": 200
},
"evmVersion": "istanbul",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"ethRecipient","type":"address"},{"internalType":"uint256[]","name":"tierStart","type":"uint256[]"},{"internalType":"uint256[]","name":"tierEnds","type":"uint256[]"}],"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":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"adminMintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"tier","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"setBaseUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ethRecipient","type":"address"}],"name":"setEthRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526000600660146101000a81548160ff0219169083151502179055503480156200002c57600080fd5b50604051620044fa380380620044fa8339818101604052810190620000529190620007b7565b6040518060400160405280600981526020017f43726561746f6b656e00000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f43544b00000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d692919062000637565b508060019080519060200190620000ef92919062000637565b5050506000620001046200062f60201b60201c565b905080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35082600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816000815181106200021f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600a6000808152602001908152602001600020819055508160018151811062000279577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600a6000600181526020019081526020016000208190555081600281518110620002d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600a60006002815260200190815260200160002081905550816003815181106200032f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600a60006003815260200190815260200160002081905550816004815181106200038a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600a6000600481526020019081526020016000208190555081600581518110620003e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600a600060058152602001908152602001600020819055508060008151811062000440577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516009600080815260200190815260200160002081905550806001815181106200049a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160096000600181526020019081526020016000208190555080600281518110620004f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516009600060028152602001908152602001600020819055508060038151811062000550577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160096000600381526020019081526020016000208190555080600481518110620005ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516009600060048152602001908152602001600020819055508060058151811062000606577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600960006005815260200190815260200160002081905550505050620009e4565b600033905090565b8280546200064590620008d5565b90600052602060002090601f016020900481019282620006695760008555620006b5565b82601f106200068457805160ff1916838001178555620006b5565b82800160010185558215620006b5579182015b82811115620006b457825182559160200191906001019062000697565b5b509050620006c49190620006c8565b5090565b5b80821115620006e3576000816000905550600101620006c9565b5090565b6000620006fe620006f88462000868565b6200083f565b905080838252602082019050828560208602820111156200071e57600080fd5b60005b85811015620007525781620007378882620007a0565b84526020840193506020830192505060018101905062000721565b5050509392505050565b6000815190506200076d81620009b0565b92915050565b600082601f8301126200078557600080fd5b815162000797848260208601620006e7565b91505092915050565b600081519050620007b181620009ca565b92915050565b600080600060608486031215620007cd57600080fd5b6000620007dd868287016200075c565b935050602084015167ffffffffffffffff811115620007fb57600080fd5b620008098682870162000773565b925050604084015167ffffffffffffffff8111156200082757600080fd5b620008358682870162000773565b9150509250925092565b60006200084b6200085e565b90506200085982826200090b565b919050565b6000604051905090565b600067ffffffffffffffff82111562000886576200088562000970565b5b602082029050602081019050919050565b6000620008a482620008ab565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006002820490506001821680620008ee57607f821691505b6020821081141562000905576200090462000941565b5b50919050565b62000916826200099f565b810181811067ffffffffffffffff8211171562000938576200093762000970565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620009bb8162000897565b8114620009c757600080fd5b50565b620009d581620008cb565b8114620009e157600080fd5b50565b613b0680620009f46000396000f3fe60806040526004361061014b5760003560e01c80638da5cb5b116100b6578063c7c3268b1161006f578063c7c3268b14610445578063c87b56dd1461046e578063daaeec86146104ab578063e985e9c5146104d6578063eb8d244414610513578063f2fde38b1461053e5761014b565b80638da5cb5b1461034b57806395d89b411461037657806395df8944146103a1578063a22cb465146103ca578063b1bef03a146103f3578063b88d4fde1461041c5761014b565b806342842e0e1161010857806342842e0e1461025e5780636352211e146102875780636ecd2306146102c457806370a08231146102e0578063715018a61461031d578063895fc788146103345761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b8578063095ea7b3146101f557806323b872dd1461021e5780633ccfd60b14610247575b600080fd5b34801561015c57600080fd5b50610177600480360381019061017291906128ca565b610567565b6040516101849190612e25565b60405180910390f35b34801561019957600080fd5b506101a2610649565b6040516101af9190612e40565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da9190612961565b6106db565b6040516101ec9190612dbe565b60405180910390f35b34801561020157600080fd5b5061021c6004803603810190610217919061288e565b610760565b005b34801561022a57600080fd5b5061024560048036038101906102409190612788565b610878565b005b34801561025357600080fd5b5061025c6108d8565b005b34801561026a57600080fd5b5061028560048036038101906102809190612788565b610a2b565b005b34801561029357600080fd5b506102ae60048036038101906102a99190612961565b610a4b565b6040516102bb9190612dbe565b60405180910390f35b6102de60048036038101906102d9919061298a565b610afd565b005b3480156102ec57600080fd5b5061030760048036038101906103029190612723565b610c95565b6040516103149190613102565b60405180910390f35b34801561032957600080fd5b50610332610d4d565b005b34801561034057600080fd5b50610349610e8a565b005b34801561035757600080fd5b50610360610fa2565b60405161036d9190612dbe565b60405180910390f35b34801561038257600080fd5b5061038b610fcc565b6040516103989190612e40565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c39190612723565b61105e565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190612852565b61111e565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190612723565b61129f565b005b34801561042857600080fd5b50610443600480360381019061043e91906127d7565b6113b1565b005b34801561045157600080fd5b5061046c6004803603810190610467919061291c565b611413565b005b34801561047a57600080fd5b5061049560048036038101906104909190612961565b6114a5565b6040516104a29190612e40565b60405180910390f35b3480156104b757600080fd5b506104c061154c565b6040516104cd9190612e25565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f8919061274c565b611609565b60405161050a9190612e25565b60405180910390f35b34801561051f57600080fd5b5061052861169d565b6040516105359190612e25565b60405180910390f35b34801561054a57600080fd5b5061056560048036038101906105609190612723565b6116b0565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061063257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061064257506106418261185c565b5b9050919050565b6060600080546106589061333f565b80601f01602080910402602001604051908101604052809291908181526020018280546106849061333f565b80156106d15780601f106106a6576101008083540402835291602001916106d1565b820191906000526020600020905b8154815290600101906020018083116106b457829003601f168201915b5050505050905090565b60006106e6826118c6565b610725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071c90612fe2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061076b82610a4b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d3906130c2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107fb611932565b73ffffffffffffffffffffffffffffffffffffffff16148061082a575061082981610824611932565b611609565b5b610869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086090612f42565b60405180910390fd5b610873838361193a565b505050565b610889610883611932565b826119f3565b6108c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bf906130e2565b60405180910390fd5b6108d3838383611ad1565b505050565b6108e0611932565b73ffffffffffffffffffffffffffffffffffffffff166108fe610fa2565b73ffffffffffffffffffffffffffffffffffffffff1614610954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094b90613042565b60405180910390fd5b60004790506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516109a190612da9565b60006040518083038185875af1925050503d80600081146109de576040519150601f19603f3d011682016040523d82523d6000602084013e6109e3565b606091505b5050905080610a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1e90613082565b60405180910390fd5b5050565b610a46838383604051806020016040528060008152506113b1565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aeb90612fa2565b60405180910390fd5b80915050919050565b600660149054906101000a900460ff16610b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4390613022565b60405180910390fd5b60008160ff1610158015610b64575060058160ff1611155b610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a90613002565b60405180910390fd5b610baf8160ff16611d2d565b610bee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be590612e62565b60405180910390fd5b610bfa8160ff16611d5f565b3414610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3290612f62565b60405180910390fd5b6001600a60008360ff1681526020019081526020016000206000828254610c6291906131c1565b92505081905550610c8933600a60008460ff16815260200190815260200160002054611ded565b610c9234611e0b565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfd90612f82565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d55611932565b73ffffffffffffffffffffffffffffffffffffffff16610d73610fa2565b73ffffffffffffffffffffffffffffffffffffffff1614610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc090613042565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610e92611932565b73ffffffffffffffffffffffffffffffffffffffff16610eb0610fa2565b73ffffffffffffffffffffffffffffffffffffffff1614610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd90613042565b60405180910390fd5b610f106005611d2d565b610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4690612e62565b60405180910390fd5b6001600a6000600581526020019081526020016000206000828254610f7491906131c1565b92505081905550610fa0610f86610fa2565b600a60006005815260200190815260200160002054611ded565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610fdb9061333f565b80601f01602080910402602001604051908101604052809291908181526020018280546110079061333f565b80156110545780601f1061102957610100808354040283529160200191611054565b820191906000526020600020905b81548152906001019060200180831161103757829003601f168201915b5050505050905090565b611066611932565b73ffffffffffffffffffffffffffffffffffffffff16611084610fa2565b73ffffffffffffffffffffffffffffffffffffffff16146110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d190613042565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611126611932565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118b90612f02565b60405180910390fd5b80600560006111a1611932565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661124e611932565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112939190612e25565b60405180910390a35050565b6112a7611932565b73ffffffffffffffffffffffffffffffffffffffff166112c5610fa2565b73ffffffffffffffffffffffffffffffffffffffff161461131b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131290613042565b60405180910390fd5b6113256005611d2d565b611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90612e62565b60405180910390fd5b6001600a600060058152602001908152602001600020600082825461138991906131c1565b925050819055506113ae81600a60006005815260200190815260200160002054611ded565b50565b6113c26113bc611932565b836119f3565b611401576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f8906130e2565b60405180910390fd5b61140d84848484611edd565b50505050565b61141b611932565b73ffffffffffffffffffffffffffffffffffffffff16611439610fa2565b73ffffffffffffffffffffffffffffffffffffffff161461148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148690613042565b60405180910390fd5b8181600891906114a0929190612550565b505050565b60606114b0826118c6565b6114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e6906130a2565b60405180910390fd5b60006114f9611f39565b905060008151116115195760405180602001604052806000815250611544565b8061152384611fcb565b604051602001611534929190612d85565b6040516020818303038152906040525b915050919050565b6000611556611932565b73ffffffffffffffffffffffffffffffffffffffff16611574610fa2565b73ffffffffffffffffffffffffffffffffffffffff16146115ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c190613042565b60405180910390fd5b600660149054906101000a900460ff1615600660146101000a81548160ff021916908315150217905550600660149054906101000a900460ff16905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600660149054906101000a900460ff1681565b6116b8611932565b73ffffffffffffffffffffffffffffffffffffffff166116d6610fa2565b73ffffffffffffffffffffffffffffffffffffffff161461172c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172390613042565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561179c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179390612ea2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119ad83610a4b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006119fe826118c6565b611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3490612f22565b60405180910390fd5b6000611a4883610a4b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ab757508373ffffffffffffffffffffffffffffffffffffffff16611a9f846106db565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ac85750611ac78185611609565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611af182610a4b565b73ffffffffffffffffffffffffffffffffffffffff1614611b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3e90613062565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bae90612ee2565b60405180910390fd5b611bc2838383612178565b611bcd60008261193a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c1d9190613248565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c7491906131c1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a6000838152602001908152602001600020546009600084815260200190815260200160002054119050919050565b600080821415611d7957679a2ea622fe9700009050611de8565b6001821415611d9257670acaf20791d240009050611de8565b6002821415611dab576704a01e9587a340009050611de8565b6003821415611dc45767018ab4dc828bc0009050611de8565b6004821415611ddd576701144b67282ea0009050611de8565b667669755a5d200090505b919050565b611e0782826040518060200160405280600081525061217d565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611e5390612da9565b60006040518083038185875af1925050503d8060008114611e90576040519150601f19603f3d011682016040523d82523d6000602084013e611e95565b606091505b5050905080611ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed090613082565b60405180910390fd5b5050565b611ee8848484611ad1565b611ef4848484846121d8565b611f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2a90612e82565b60405180910390fd5b50505050565b606060088054611f489061333f565b80601f0160208091040260200160405190810160405280929190818152602001828054611f749061333f565b8015611fc15780601f10611f9657610100808354040283529160200191611fc1565b820191906000526020600020905b815481529060010190602001808311611fa457829003601f168201915b5050505050905090565b60606000821415612013576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612173565b600082905060005b6000821461204557808061202e906133a2565b915050600a8261203e9190613217565b915061201b565b60008167ffffffffffffffff811115612087577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120b95781602001600182028036833780820191505090505b5090505b6000851461216c576001826120d29190613248565b9150600a856120e191906133eb565b60306120ed91906131c1565b60f81b818381518110612129577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121659190613217565b94506120bd565b8093505050505b919050565b505050565b612187838361236f565b61219460008484846121d8565b6121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca90612e82565b60405180910390fd5b505050565b60006121f98473ffffffffffffffffffffffffffffffffffffffff1661253d565b15612362578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612222611932565b8786866040518563ffffffff1660e01b81526004016122449493929190612dd9565b602060405180830381600087803b15801561225e57600080fd5b505af192505050801561228f57506040513d601f19601f8201168201806040525081019061228c91906128f3565b60015b612312573d80600081146122bf576040519150601f19603f3d011682016040523d82523d6000602084013e6122c4565b606091505b5060008151141561230a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230190612e82565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612367565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690612fc2565b60405180910390fd5b6123e8816118c6565b15612428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241f90612ec2565b60405180910390fd5b61243460008383612178565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461248491906131c1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461255c9061333f565b90600052602060002090601f01602090048101928261257e57600085556125c5565b82601f1061259757803560ff19168380011785556125c5565b828001600101855582156125c5579182015b828111156125c45782358255916020019190600101906125a9565b5b5090506125d291906125d6565b5090565b5b808211156125ef5760008160009055506001016125d7565b5090565b600061260661260184613142565b61311d565b90508281526020810184848401111561261e57600080fd5b6126298482856132fd565b509392505050565b60008135905061264081613a5d565b92915050565b60008135905061265581613a74565b92915050565b60008135905061266a81613a8b565b92915050565b60008151905061267f81613a8b565b92915050565b600082601f83011261269657600080fd5b81356126a68482602086016125f3565b91505092915050565b60008083601f8401126126c157600080fd5b8235905067ffffffffffffffff8111156126da57600080fd5b6020830191508360018202830111156126f257600080fd5b9250929050565b60008135905061270881613aa2565b92915050565b60008135905061271d81613ab9565b92915050565b60006020828403121561273557600080fd5b600061274384828501612631565b91505092915050565b6000806040838503121561275f57600080fd5b600061276d85828601612631565b925050602061277e85828601612631565b9150509250929050565b60008060006060848603121561279d57600080fd5b60006127ab86828701612631565b93505060206127bc86828701612631565b92505060406127cd868287016126f9565b9150509250925092565b600080600080608085870312156127ed57600080fd5b60006127fb87828801612631565b945050602061280c87828801612631565b935050604061281d878288016126f9565b925050606085013567ffffffffffffffff81111561283a57600080fd5b61284687828801612685565b91505092959194509250565b6000806040838503121561286557600080fd5b600061287385828601612631565b925050602061288485828601612646565b9150509250929050565b600080604083850312156128a157600080fd5b60006128af85828601612631565b92505060206128c0858286016126f9565b9150509250929050565b6000602082840312156128dc57600080fd5b60006128ea8482850161265b565b91505092915050565b60006020828403121561290557600080fd5b600061291384828501612670565b91505092915050565b6000806020838503121561292f57600080fd5b600083013567ffffffffffffffff81111561294957600080fd5b612955858286016126af565b92509250509250929050565b60006020828403121561297357600080fd5b6000612981848285016126f9565b91505092915050565b60006020828403121561299c57600080fd5b60006129aa8482850161270e565b91505092915050565b6129bc8161327c565b82525050565b6129cb8161328e565b82525050565b60006129dc82613173565b6129e68185613189565b93506129f681856020860161330c565b6129ff816134d8565b840191505092915050565b6000612a158261317e565b612a1f81856131a5565b9350612a2f81856020860161330c565b612a38816134d8565b840191505092915050565b6000612a4e8261317e565b612a5881856131b6565b9350612a6881856020860161330c565b80840191505092915050565b6000612a816021836131a5565b9150612a8c826134e9565b604082019050919050565b6000612aa46032836131a5565b9150612aaf82613538565b604082019050919050565b6000612ac76026836131a5565b9150612ad282613587565b604082019050919050565b6000612aea601c836131a5565b9150612af5826135d6565b602082019050919050565b6000612b0d6024836131a5565b9150612b18826135ff565b604082019050919050565b6000612b306019836131a5565b9150612b3b8261364e565b602082019050919050565b6000612b53602c836131a5565b9150612b5e82613677565b604082019050919050565b6000612b766038836131a5565b9150612b81826136c6565b604082019050919050565b6000612b996022836131a5565b9150612ba482613715565b604082019050919050565b6000612bbc602a836131a5565b9150612bc782613764565b604082019050919050565b6000612bdf6029836131a5565b9150612bea826137b3565b604082019050919050565b6000612c026020836131a5565b9150612c0d82613802565b602082019050919050565b6000612c25602c836131a5565b9150612c308261382b565b604082019050919050565b6000612c486012836131a5565b9150612c538261387a565b602082019050919050565b6000612c6b6014836131a5565b9150612c76826138a3565b602082019050919050565b6000612c8e6020836131a5565b9150612c99826138cc565b602082019050919050565b6000612cb16029836131a5565b9150612cbc826138f5565b604082019050919050565b6000612cd46012836131a5565b9150612cdf82613944565b602082019050919050565b6000612cf7602f836131a5565b9150612d028261396d565b604082019050919050565b6000612d1a6021836131a5565b9150612d25826139bc565b604082019050919050565b6000612d3d60008361319a565b9150612d4882613a0b565b600082019050919050565b6000612d606031836131a5565b9150612d6b82613a0e565b604082019050919050565b612d7f816132e6565b82525050565b6000612d918285612a43565b9150612d9d8284612a43565b91508190509392505050565b6000612db482612d30565b9150819050919050565b6000602082019050612dd360008301846129b3565b92915050565b6000608082019050612dee60008301876129b3565b612dfb60208301866129b3565b612e086040830185612d76565b8181036060830152612e1a81846129d1565b905095945050505050565b6000602082019050612e3a60008301846129c2565b92915050565b60006020820190508181036000830152612e5a8184612a0a565b905092915050565b60006020820190508181036000830152612e7b81612a74565b9050919050565b60006020820190508181036000830152612e9b81612a97565b9050919050565b60006020820190508181036000830152612ebb81612aba565b9050919050565b60006020820190508181036000830152612edb81612add565b9050919050565b60006020820190508181036000830152612efb81612b00565b9050919050565b60006020820190508181036000830152612f1b81612b23565b9050919050565b60006020820190508181036000830152612f3b81612b46565b9050919050565b60006020820190508181036000830152612f5b81612b69565b9050919050565b60006020820190508181036000830152612f7b81612b8c565b9050919050565b60006020820190508181036000830152612f9b81612baf565b9050919050565b60006020820190508181036000830152612fbb81612bd2565b9050919050565b60006020820190508181036000830152612fdb81612bf5565b9050919050565b60006020820190508181036000830152612ffb81612c18565b9050919050565b6000602082019050818103600083015261301b81612c3b565b9050919050565b6000602082019050818103600083015261303b81612c5e565b9050919050565b6000602082019050818103600083015261305b81612c81565b9050919050565b6000602082019050818103600083015261307b81612ca4565b9050919050565b6000602082019050818103600083015261309b81612cc7565b9050919050565b600060208201905081810360008301526130bb81612cea565b9050919050565b600060208201905081810360008301526130db81612d0d565b9050919050565b600060208201905081810360008301526130fb81612d53565b9050919050565b60006020820190506131176000830184612d76565b92915050565b6000613127613138565b90506131338282613371565b919050565b6000604051905090565b600067ffffffffffffffff82111561315d5761315c6134a9565b5b613166826134d8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006131cc826132e6565b91506131d7836132e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561320c5761320b61341c565b5b828201905092915050565b6000613222826132e6565b915061322d836132e6565b92508261323d5761323c61344b565b5b828204905092915050565b6000613253826132e6565b915061325e836132e6565b9250828210156132715761327061341c565b5b828203905092915050565b6000613287826132c6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561332a57808201518184015260208101905061330f565b83811115613339576000848401525b50505050565b6000600282049050600182168061335757607f821691505b6020821081141561336b5761336a61347a565b5b50919050565b61337a826134d8565b810181811067ffffffffffffffff82111715613399576133986134a9565b5b80604052505050565b60006133ad826132e6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133e0576133df61341c565b5b600182019050919050565b60006133f6826132e6565b9150613401836132e6565b9250826134115761341061344b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5765277265206f7574206f662073746f636b20666f722074686973207469657260008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f54686520616d6f756e74206f662065746865722073656e742069732077726f6e60008201527f672e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f54696572206f7574206f662072616e67652e0000000000000000000000000000600082015250565b7f53616c65206e6f7420616374697665207965742e000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e64204554480000000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b613a668161327c565b8114613a7157600080fd5b50565b613a7d8161328e565b8114613a8857600080fd5b50565b613a948161329a565b8114613a9f57600080fd5b50565b613aab816132e6565b8114613ab657600080fd5b50565b613ac2816132f0565b8114613acd57600080fd5b5056fea26469706673582212204bedf8edf0c81c762afafd663d736feb28d62eefd54768bdfa2b7abbefc3a59064736f6c6343000804003300000000000000000000000061f8ccb34194577c30e86bd80bd3f879775a8fb0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000045700000000000000000000000000000000000000000000000000000000000008ae000000000000000000000000000000000000000000000000000000000000115c000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000045700000000000000000000000000000000000000000000000000000000000008ae000000000000000000000000000000000000000000000000000000000000115c0000000000000000000000000000000000000000000000000000000000001e61
Deployed Bytecode
0x60806040526004361061014b5760003560e01c80638da5cb5b116100b6578063c7c3268b1161006f578063c7c3268b14610445578063c87b56dd1461046e578063daaeec86146104ab578063e985e9c5146104d6578063eb8d244414610513578063f2fde38b1461053e5761014b565b80638da5cb5b1461034b57806395d89b411461037657806395df8944146103a1578063a22cb465146103ca578063b1bef03a146103f3578063b88d4fde1461041c5761014b565b806342842e0e1161010857806342842e0e1461025e5780636352211e146102875780636ecd2306146102c457806370a08231146102e0578063715018a61461031d578063895fc788146103345761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b8578063095ea7b3146101f557806323b872dd1461021e5780633ccfd60b14610247575b600080fd5b34801561015c57600080fd5b50610177600480360381019061017291906128ca565b610567565b6040516101849190612e25565b60405180910390f35b34801561019957600080fd5b506101a2610649565b6040516101af9190612e40565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da9190612961565b6106db565b6040516101ec9190612dbe565b60405180910390f35b34801561020157600080fd5b5061021c6004803603810190610217919061288e565b610760565b005b34801561022a57600080fd5b5061024560048036038101906102409190612788565b610878565b005b34801561025357600080fd5b5061025c6108d8565b005b34801561026a57600080fd5b5061028560048036038101906102809190612788565b610a2b565b005b34801561029357600080fd5b506102ae60048036038101906102a99190612961565b610a4b565b6040516102bb9190612dbe565b60405180910390f35b6102de60048036038101906102d9919061298a565b610afd565b005b3480156102ec57600080fd5b5061030760048036038101906103029190612723565b610c95565b6040516103149190613102565b60405180910390f35b34801561032957600080fd5b50610332610d4d565b005b34801561034057600080fd5b50610349610e8a565b005b34801561035757600080fd5b50610360610fa2565b60405161036d9190612dbe565b60405180910390f35b34801561038257600080fd5b5061038b610fcc565b6040516103989190612e40565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c39190612723565b61105e565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190612852565b61111e565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190612723565b61129f565b005b34801561042857600080fd5b50610443600480360381019061043e91906127d7565b6113b1565b005b34801561045157600080fd5b5061046c6004803603810190610467919061291c565b611413565b005b34801561047a57600080fd5b5061049560048036038101906104909190612961565b6114a5565b6040516104a29190612e40565b60405180910390f35b3480156104b757600080fd5b506104c061154c565b6040516104cd9190612e25565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f8919061274c565b611609565b60405161050a9190612e25565b60405180910390f35b34801561051f57600080fd5b5061052861169d565b6040516105359190612e25565b60405180910390f35b34801561054a57600080fd5b5061056560048036038101906105609190612723565b6116b0565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061063257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061064257506106418261185c565b5b9050919050565b6060600080546106589061333f565b80601f01602080910402602001604051908101604052809291908181526020018280546106849061333f565b80156106d15780601f106106a6576101008083540402835291602001916106d1565b820191906000526020600020905b8154815290600101906020018083116106b457829003601f168201915b5050505050905090565b60006106e6826118c6565b610725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071c90612fe2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061076b82610a4b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d3906130c2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107fb611932565b73ffffffffffffffffffffffffffffffffffffffff16148061082a575061082981610824611932565b611609565b5b610869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086090612f42565b60405180910390fd5b610873838361193a565b505050565b610889610883611932565b826119f3565b6108c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bf906130e2565b60405180910390fd5b6108d3838383611ad1565b505050565b6108e0611932565b73ffffffffffffffffffffffffffffffffffffffff166108fe610fa2565b73ffffffffffffffffffffffffffffffffffffffff1614610954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094b90613042565b60405180910390fd5b60004790506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516109a190612da9565b60006040518083038185875af1925050503d80600081146109de576040519150601f19603f3d011682016040523d82523d6000602084013e6109e3565b606091505b5050905080610a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1e90613082565b60405180910390fd5b5050565b610a46838383604051806020016040528060008152506113b1565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aeb90612fa2565b60405180910390fd5b80915050919050565b600660149054906101000a900460ff16610b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4390613022565b60405180910390fd5b60008160ff1610158015610b64575060058160ff1611155b610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a90613002565b60405180910390fd5b610baf8160ff16611d2d565b610bee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be590612e62565b60405180910390fd5b610bfa8160ff16611d5f565b3414610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3290612f62565b60405180910390fd5b6001600a60008360ff1681526020019081526020016000206000828254610c6291906131c1565b92505081905550610c8933600a60008460ff16815260200190815260200160002054611ded565b610c9234611e0b565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfd90612f82565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d55611932565b73ffffffffffffffffffffffffffffffffffffffff16610d73610fa2565b73ffffffffffffffffffffffffffffffffffffffff1614610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc090613042565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610e92611932565b73ffffffffffffffffffffffffffffffffffffffff16610eb0610fa2565b73ffffffffffffffffffffffffffffffffffffffff1614610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd90613042565b60405180910390fd5b610f106005611d2d565b610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4690612e62565b60405180910390fd5b6001600a6000600581526020019081526020016000206000828254610f7491906131c1565b92505081905550610fa0610f86610fa2565b600a60006005815260200190815260200160002054611ded565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610fdb9061333f565b80601f01602080910402602001604051908101604052809291908181526020018280546110079061333f565b80156110545780601f1061102957610100808354040283529160200191611054565b820191906000526020600020905b81548152906001019060200180831161103757829003601f168201915b5050505050905090565b611066611932565b73ffffffffffffffffffffffffffffffffffffffff16611084610fa2565b73ffffffffffffffffffffffffffffffffffffffff16146110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d190613042565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611126611932565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118b90612f02565b60405180910390fd5b80600560006111a1611932565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661124e611932565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112939190612e25565b60405180910390a35050565b6112a7611932565b73ffffffffffffffffffffffffffffffffffffffff166112c5610fa2565b73ffffffffffffffffffffffffffffffffffffffff161461131b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131290613042565b60405180910390fd5b6113256005611d2d565b611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90612e62565b60405180910390fd5b6001600a600060058152602001908152602001600020600082825461138991906131c1565b925050819055506113ae81600a60006005815260200190815260200160002054611ded565b50565b6113c26113bc611932565b836119f3565b611401576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f8906130e2565b60405180910390fd5b61140d84848484611edd565b50505050565b61141b611932565b73ffffffffffffffffffffffffffffffffffffffff16611439610fa2565b73ffffffffffffffffffffffffffffffffffffffff161461148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148690613042565b60405180910390fd5b8181600891906114a0929190612550565b505050565b60606114b0826118c6565b6114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e6906130a2565b60405180910390fd5b60006114f9611f39565b905060008151116115195760405180602001604052806000815250611544565b8061152384611fcb565b604051602001611534929190612d85565b6040516020818303038152906040525b915050919050565b6000611556611932565b73ffffffffffffffffffffffffffffffffffffffff16611574610fa2565b73ffffffffffffffffffffffffffffffffffffffff16146115ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c190613042565b60405180910390fd5b600660149054906101000a900460ff1615600660146101000a81548160ff021916908315150217905550600660149054906101000a900460ff16905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600660149054906101000a900460ff1681565b6116b8611932565b73ffffffffffffffffffffffffffffffffffffffff166116d6610fa2565b73ffffffffffffffffffffffffffffffffffffffff161461172c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172390613042565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561179c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179390612ea2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119ad83610a4b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006119fe826118c6565b611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3490612f22565b60405180910390fd5b6000611a4883610a4b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ab757508373ffffffffffffffffffffffffffffffffffffffff16611a9f846106db565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ac85750611ac78185611609565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611af182610a4b565b73ffffffffffffffffffffffffffffffffffffffff1614611b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3e90613062565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bae90612ee2565b60405180910390fd5b611bc2838383612178565b611bcd60008261193a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c1d9190613248565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c7491906131c1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a6000838152602001908152602001600020546009600084815260200190815260200160002054119050919050565b600080821415611d7957679a2ea622fe9700009050611de8565b6001821415611d9257670acaf20791d240009050611de8565b6002821415611dab576704a01e9587a340009050611de8565b6003821415611dc45767018ab4dc828bc0009050611de8565b6004821415611ddd576701144b67282ea0009050611de8565b667669755a5d200090505b919050565b611e0782826040518060200160405280600081525061217d565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611e5390612da9565b60006040518083038185875af1925050503d8060008114611e90576040519150601f19603f3d011682016040523d82523d6000602084013e611e95565b606091505b5050905080611ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed090613082565b60405180910390fd5b5050565b611ee8848484611ad1565b611ef4848484846121d8565b611f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2a90612e82565b60405180910390fd5b50505050565b606060088054611f489061333f565b80601f0160208091040260200160405190810160405280929190818152602001828054611f749061333f565b8015611fc15780601f10611f9657610100808354040283529160200191611fc1565b820191906000526020600020905b815481529060010190602001808311611fa457829003601f168201915b5050505050905090565b60606000821415612013576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612173565b600082905060005b6000821461204557808061202e906133a2565b915050600a8261203e9190613217565b915061201b565b60008167ffffffffffffffff811115612087577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120b95781602001600182028036833780820191505090505b5090505b6000851461216c576001826120d29190613248565b9150600a856120e191906133eb565b60306120ed91906131c1565b60f81b818381518110612129577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121659190613217565b94506120bd565b8093505050505b919050565b505050565b612187838361236f565b61219460008484846121d8565b6121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca90612e82565b60405180910390fd5b505050565b60006121f98473ffffffffffffffffffffffffffffffffffffffff1661253d565b15612362578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612222611932565b8786866040518563ffffffff1660e01b81526004016122449493929190612dd9565b602060405180830381600087803b15801561225e57600080fd5b505af192505050801561228f57506040513d601f19601f8201168201806040525081019061228c91906128f3565b60015b612312573d80600081146122bf576040519150601f19603f3d011682016040523d82523d6000602084013e6122c4565b606091505b5060008151141561230a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230190612e82565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612367565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690612fc2565b60405180910390fd5b6123e8816118c6565b15612428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241f90612ec2565b60405180910390fd5b61243460008383612178565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461248491906131c1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461255c9061333f565b90600052602060002090601f01602090048101928261257e57600085556125c5565b82601f1061259757803560ff19168380011785556125c5565b828001600101855582156125c5579182015b828111156125c45782358255916020019190600101906125a9565b5b5090506125d291906125d6565b5090565b5b808211156125ef5760008160009055506001016125d7565b5090565b600061260661260184613142565b61311d565b90508281526020810184848401111561261e57600080fd5b6126298482856132fd565b509392505050565b60008135905061264081613a5d565b92915050565b60008135905061265581613a74565b92915050565b60008135905061266a81613a8b565b92915050565b60008151905061267f81613a8b565b92915050565b600082601f83011261269657600080fd5b81356126a68482602086016125f3565b91505092915050565b60008083601f8401126126c157600080fd5b8235905067ffffffffffffffff8111156126da57600080fd5b6020830191508360018202830111156126f257600080fd5b9250929050565b60008135905061270881613aa2565b92915050565b60008135905061271d81613ab9565b92915050565b60006020828403121561273557600080fd5b600061274384828501612631565b91505092915050565b6000806040838503121561275f57600080fd5b600061276d85828601612631565b925050602061277e85828601612631565b9150509250929050565b60008060006060848603121561279d57600080fd5b60006127ab86828701612631565b93505060206127bc86828701612631565b92505060406127cd868287016126f9565b9150509250925092565b600080600080608085870312156127ed57600080fd5b60006127fb87828801612631565b945050602061280c87828801612631565b935050604061281d878288016126f9565b925050606085013567ffffffffffffffff81111561283a57600080fd5b61284687828801612685565b91505092959194509250565b6000806040838503121561286557600080fd5b600061287385828601612631565b925050602061288485828601612646565b9150509250929050565b600080604083850312156128a157600080fd5b60006128af85828601612631565b92505060206128c0858286016126f9565b9150509250929050565b6000602082840312156128dc57600080fd5b60006128ea8482850161265b565b91505092915050565b60006020828403121561290557600080fd5b600061291384828501612670565b91505092915050565b6000806020838503121561292f57600080fd5b600083013567ffffffffffffffff81111561294957600080fd5b612955858286016126af565b92509250509250929050565b60006020828403121561297357600080fd5b6000612981848285016126f9565b91505092915050565b60006020828403121561299c57600080fd5b60006129aa8482850161270e565b91505092915050565b6129bc8161327c565b82525050565b6129cb8161328e565b82525050565b60006129dc82613173565b6129e68185613189565b93506129f681856020860161330c565b6129ff816134d8565b840191505092915050565b6000612a158261317e565b612a1f81856131a5565b9350612a2f81856020860161330c565b612a38816134d8565b840191505092915050565b6000612a4e8261317e565b612a5881856131b6565b9350612a6881856020860161330c565b80840191505092915050565b6000612a816021836131a5565b9150612a8c826134e9565b604082019050919050565b6000612aa46032836131a5565b9150612aaf82613538565b604082019050919050565b6000612ac76026836131a5565b9150612ad282613587565b604082019050919050565b6000612aea601c836131a5565b9150612af5826135d6565b602082019050919050565b6000612b0d6024836131a5565b9150612b18826135ff565b604082019050919050565b6000612b306019836131a5565b9150612b3b8261364e565b602082019050919050565b6000612b53602c836131a5565b9150612b5e82613677565b604082019050919050565b6000612b766038836131a5565b9150612b81826136c6565b604082019050919050565b6000612b996022836131a5565b9150612ba482613715565b604082019050919050565b6000612bbc602a836131a5565b9150612bc782613764565b604082019050919050565b6000612bdf6029836131a5565b9150612bea826137b3565b604082019050919050565b6000612c026020836131a5565b9150612c0d82613802565b602082019050919050565b6000612c25602c836131a5565b9150612c308261382b565b604082019050919050565b6000612c486012836131a5565b9150612c538261387a565b602082019050919050565b6000612c6b6014836131a5565b9150612c76826138a3565b602082019050919050565b6000612c8e6020836131a5565b9150612c99826138cc565b602082019050919050565b6000612cb16029836131a5565b9150612cbc826138f5565b604082019050919050565b6000612cd46012836131a5565b9150612cdf82613944565b602082019050919050565b6000612cf7602f836131a5565b9150612d028261396d565b604082019050919050565b6000612d1a6021836131a5565b9150612d25826139bc565b604082019050919050565b6000612d3d60008361319a565b9150612d4882613a0b565b600082019050919050565b6000612d606031836131a5565b9150612d6b82613a0e565b604082019050919050565b612d7f816132e6565b82525050565b6000612d918285612a43565b9150612d9d8284612a43565b91508190509392505050565b6000612db482612d30565b9150819050919050565b6000602082019050612dd360008301846129b3565b92915050565b6000608082019050612dee60008301876129b3565b612dfb60208301866129b3565b612e086040830185612d76565b8181036060830152612e1a81846129d1565b905095945050505050565b6000602082019050612e3a60008301846129c2565b92915050565b60006020820190508181036000830152612e5a8184612a0a565b905092915050565b60006020820190508181036000830152612e7b81612a74565b9050919050565b60006020820190508181036000830152612e9b81612a97565b9050919050565b60006020820190508181036000830152612ebb81612aba565b9050919050565b60006020820190508181036000830152612edb81612add565b9050919050565b60006020820190508181036000830152612efb81612b00565b9050919050565b60006020820190508181036000830152612f1b81612b23565b9050919050565b60006020820190508181036000830152612f3b81612b46565b9050919050565b60006020820190508181036000830152612f5b81612b69565b9050919050565b60006020820190508181036000830152612f7b81612b8c565b9050919050565b60006020820190508181036000830152612f9b81612baf565b9050919050565b60006020820190508181036000830152612fbb81612bd2565b9050919050565b60006020820190508181036000830152612fdb81612bf5565b9050919050565b60006020820190508181036000830152612ffb81612c18565b9050919050565b6000602082019050818103600083015261301b81612c3b565b9050919050565b6000602082019050818103600083015261303b81612c5e565b9050919050565b6000602082019050818103600083015261305b81612c81565b9050919050565b6000602082019050818103600083015261307b81612ca4565b9050919050565b6000602082019050818103600083015261309b81612cc7565b9050919050565b600060208201905081810360008301526130bb81612cea565b9050919050565b600060208201905081810360008301526130db81612d0d565b9050919050565b600060208201905081810360008301526130fb81612d53565b9050919050565b60006020820190506131176000830184612d76565b92915050565b6000613127613138565b90506131338282613371565b919050565b6000604051905090565b600067ffffffffffffffff82111561315d5761315c6134a9565b5b613166826134d8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006131cc826132e6565b91506131d7836132e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561320c5761320b61341c565b5b828201905092915050565b6000613222826132e6565b915061322d836132e6565b92508261323d5761323c61344b565b5b828204905092915050565b6000613253826132e6565b915061325e836132e6565b9250828210156132715761327061341c565b5b828203905092915050565b6000613287826132c6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561332a57808201518184015260208101905061330f565b83811115613339576000848401525b50505050565b6000600282049050600182168061335757607f821691505b6020821081141561336b5761336a61347a565b5b50919050565b61337a826134d8565b810181811067ffffffffffffffff82111715613399576133986134a9565b5b80604052505050565b60006133ad826132e6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133e0576133df61341c565b5b600182019050919050565b60006133f6826132e6565b9150613401836132e6565b9250826134115761341061344b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5765277265206f7574206f662073746f636b20666f722074686973207469657260008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f54686520616d6f756e74206f662065746865722073656e742069732077726f6e60008201527f672e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f54696572206f7574206f662072616e67652e0000000000000000000000000000600082015250565b7f53616c65206e6f7420616374697665207965742e000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e64204554480000000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b613a668161327c565b8114613a7157600080fd5b50565b613a7d8161328e565b8114613a8857600080fd5b50565b613a948161329a565b8114613a9f57600080fd5b50565b613aab816132e6565b8114613ab657600080fd5b50565b613ac2816132f0565b8114613acd57600080fd5b5056fea26469706673582212204bedf8edf0c81c762afafd663d736feb28d62eefd54768bdfa2b7abbefc3a59064736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000061f8ccb34194577c30e86bd80bd3f879775a8fb0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000045700000000000000000000000000000000000000000000000000000000000008ae000000000000000000000000000000000000000000000000000000000000115c000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000045700000000000000000000000000000000000000000000000000000000000008ae000000000000000000000000000000000000000000000000000000000000115c0000000000000000000000000000000000000000000000000000000000001e61
-----Decoded View---------------
Arg [0] : ethRecipient (address): 0x61f8Ccb34194577C30E86Bd80bD3F879775A8Fb0
Arg [1] : tierStart (uint256[]): 0,1,112,1111,2222,4444
Arg [2] : tierEnds (uint256[]): 1,112,1111,2222,4444,7777
-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000061f8ccb34194577c30e86bd80bd3f879775a8fb0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000070
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000457
Arg [8] : 00000000000000000000000000000000000000000000000000000000000008ae
Arg [9] : 000000000000000000000000000000000000000000000000000000000000115c
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000070
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000457
Arg [14] : 00000000000000000000000000000000000000000000000000000000000008ae
Arg [15] : 000000000000000000000000000000000000000000000000000000000000115c
Arg [16] : 0000000000000000000000000000000000000000000000000000000000001e61
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.