Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 399 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 21525845 | 419 days ago | IN | 0 ETH | 0.00025061 | ||||
| Set Approval For... | 18181441 | 886 days ago | IN | 0 ETH | 0.00038763 | ||||
| Set Approval For... | 16689609 | 1096 days ago | IN | 0 ETH | 0.00121178 | ||||
| Set Approval For... | 16507875 | 1122 days ago | IN | 0 ETH | 0.00085281 | ||||
| Set Approval For... | 16195065 | 1165 days ago | IN | 0 ETH | 0.00064387 | ||||
| Set Approval For... | 16180247 | 1167 days ago | IN | 0 ETH | 0.00071571 | ||||
| Set Approval For... | 16179916 | 1167 days ago | IN | 0 ETH | 0.00070516 | ||||
| Set Approval For... | 16174318 | 1168 days ago | IN | 0 ETH | 0.00066657 | ||||
| Set Approval For... | 16172610 | 1169 days ago | IN | 0 ETH | 0.000703 | ||||
| Set Approval For... | 16168763 | 1169 days ago | IN | 0 ETH | 0.00075229 | ||||
| Set Approval For... | 16168601 | 1169 days ago | IN | 0 ETH | 0.00063015 | ||||
| Set Approval For... | 16168491 | 1169 days ago | IN | 0 ETH | 0.00070503 | ||||
| Set Approval For... | 16167590 | 1169 days ago | IN | 0 ETH | 0.00064007 | ||||
| Set Approval For... | 16167589 | 1169 days ago | IN | 0 ETH | 0.00067239 | ||||
| Set Approval For... | 16167300 | 1169 days ago | IN | 0 ETH | 0.00071373 | ||||
| Set Approval For... | 16167209 | 1169 days ago | IN | 0 ETH | 0.00060958 | ||||
| Set Approval For... | 16166614 | 1169 days ago | IN | 0 ETH | 0.00067024 | ||||
| Set Approval For... | 16166565 | 1169 days ago | IN | 0 ETH | 0.00067426 | ||||
| Set Approval For... | 16166565 | 1169 days ago | IN | 0 ETH | 0.00067426 | ||||
| Set Approval For... | 16166547 | 1169 days ago | IN | 0 ETH | 0.00063365 | ||||
| Set Approval For... | 16166512 | 1169 days ago | IN | 0 ETH | 0.00067821 | ||||
| Set Approval For... | 16166509 | 1169 days ago | IN | 0 ETH | 0.0006214 | ||||
| Set Approval For... | 16166451 | 1169 days ago | IN | 0 ETH | 0.00065438 | ||||
| Set Approval For... | 16166447 | 1169 days ago | IN | 0 ETH | 0.0006556 | ||||
| Set Approval For... | 16166429 | 1169 days ago | IN | 0 ETH | 0.00069236 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 16166231 | 1169 days ago | 1.104 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
UtsukushisabyWisu
Compiler Version
v0.8.7+commit.e28d00a7
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.7;
import "@openzeppelin/contracts/access/Ownable.sol";
import "tiny-erc721/contracts/TinyERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
contract UtsukushisabyWisu is TinyERC721, Ownable {
string public baseURI;
address public proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;
address public lead;
bool public publicPaused = true;
uint256 public cost = 0.003 ether;
uint256 public maxSupply = 369;
uint256 public maxPerWalletPublic = 3;
uint256 public maxPerTxPublic = 3;
address public contractV1;
uint256 supply = totalSupply();
mapping(address => uint) public addressMintedBalance;
constructor(
string memory _baseURI,
address _lead,
address _contractV1
)TinyERC721("Utsukushi-sa by Wisu", "UBW", 0) {
baseURI = _baseURI;
lead = _lead;
contractV1 = _contractV1;
}
modifier publicnotPaused() {
require(!publicPaused, "Contract is Paused");
_;
}
modifier callerIsUser() {
require(tx.origin == msg.sender, 'The caller is another contract.');
_;
}
function setContractV1Address(address _contractV1) public onlyOwner {
contractV1 =_contractV1;
}
function tokenURI(uint256 _tokenId) public view override returns (string memory) {
require(_exists(_tokenId), "Token does not exist.");
return string(abi.encodePacked(baseURI, Strings.toString(_tokenId),".json"));
}
function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner {
proxyRegistryAddress = _proxyRegistryAddress;
}
function togglePublic(bool _state) external onlyOwner {
publicPaused = _state;
}
function Mint(uint256 _quanitity) public onlyOwner {
uint256 supply = totalSupply();
require(_quanitity + supply <= maxSupply);
_safeMint(msg.sender, _quanitity);
}
function setBaseURI(string memory _baseURI) public onlyOwner {
baseURI = _baseURI;
}
function setmaxSupply(uint256 _maxSupply) public onlyOwner {
maxSupply = _maxSupply;
}
function setCost(uint256 _cost) public onlyOwner {
cost = _cost;
}
function setmaxPerWalletPublic(uint256 _MPWPublic) public onlyOwner {
maxPerWalletPublic = _MPWPublic;
}
function setmaxPerTxPublic(uint256 _MPTxPublic) public onlyOwner {
maxPerTxPublic = _MPTxPublic;
}
function publicMint(uint256 _quantity)
public
payable
publicnotPaused()
callerIsUser()
{
uint256 supply = totalSupply();
require(msg.value >= cost * _quantity, "Not Enough Ether");
require(_quantity <= maxPerTxPublic, "Over Tx Limit");
require(_quantity + supply <= maxSupply, "SoldOut");
require(addressMintedBalance[msg.sender] < maxPerWalletPublic, "Over MaxPerWallet");
addressMintedBalance[msg.sender] += _quantity;
_safeMint(msg.sender, _quantity);
}
function isApprovedForAll(address _owner, address operator) public view override returns (bool) {
OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress);
if (address(proxyRegistry.proxies(_owner)) == operator) return true;
return super.isApprovedForAll(_owner, operator);
}
function withdraw() public onlyOwner {
(bool success, ) = lead.call{value: address(this).balance}("");
require(success, "Failed to send to lead.");
}
}
contract OwnableDelegateProxy { }
contract OpenSeaProxyRegistry {
mapping(address => OwnableDelegateProxy) public proxies;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, 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
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';
error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error TokenDataQueryForNonexistentToken();
error OwnerQueryForNonexistentToken();
error OperatorQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();
contract TinyERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
struct TokenData {
address owner;
bytes12 aux;
}
uint256 private immutable _maxBatchSize;
mapping(uint256 => TokenData) private _tokens;
uint256 private _mintCounter;
string private _name;
string private _symbol;
mapping(uint256 => address) private _tokenApprovals;
mapping(address => mapping(address => bool)) private _operatorApprovals;
constructor(
string memory name_,
string memory symbol_,
uint256 maxBatchSize_
) {
_name = name_;
_symbol = symbol_;
_maxBatchSize = maxBatchSize_;
}
function totalSupply() public view virtual returns (uint256) {
return _mintCounter;
}
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
function name() public view virtual override returns (string memory) {
return _name;
}
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
}
function _baseURI() internal view virtual returns (string memory) {
return '';
}
function balanceOf(address owner) public view virtual override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
uint256 total = totalSupply();
uint256 count;
address lastOwner;
for (uint256 i; i < total; ++i) {
address tokenOwner = _tokens[i].owner;
if (tokenOwner != address(0)) lastOwner = tokenOwner;
if (lastOwner == owner) ++count;
}
return count;
}
function _tokenData(uint256 tokenId) internal view returns (TokenData storage) {
if (!_exists(tokenId)) revert TokenDataQueryForNonexistentToken();
TokenData storage token = _tokens[tokenId];
uint256 currentIndex = tokenId;
while (token.owner == address(0)) {
unchecked {
--currentIndex;
}
token = _tokens[currentIndex];
}
return token;
}
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken();
return _tokenData(tokenId).owner;
}
function approve(address to, uint256 tokenId) public virtual override {
TokenData memory token = _tokenData(tokenId);
address owner = token.owner;
if (to == owner) revert ApprovalToCurrentOwner();
if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_approve(to, tokenId, token);
}
function getApproved(uint256 tokenId) public view virtual override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId];
}
function setApprovalForAll(address operator, bool approved) public virtual override {
if (operator == _msgSender()) revert ApproveToCaller();
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
TokenData memory token = _tokenData(tokenId);
if (!_isApprovedOrOwner(_msgSender(), tokenId, token)) revert TransferCallerNotOwnerNorApproved();
_transfer(from, to, tokenId, token);
}
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, '');
}
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
TokenData memory token = _tokenData(tokenId);
if (!_isApprovedOrOwner(_msgSender(), tokenId, token)) revert TransferCallerNotOwnerNorApproved();
_safeTransfer(from, to, tokenId, token, _data);
}
function _safeTransfer(
address from,
address to,
uint256 tokenId,
TokenData memory token,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId, token);
if (to.isContract() && !_checkOnERC721Received(from, to, tokenId, _data))
revert TransferToNonERC721ReceiverImplementer();
}
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return tokenId < _mintCounter;
}
function _isApprovedOrOwner(
address spender,
uint256 tokenId,
TokenData memory token
) internal view virtual returns (bool) {
address owner = token.owner;
return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
}
function _safeMint(address to, uint256 quantity) internal virtual {
_safeMint(to, quantity, '');
}
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal virtual {
uint256 startTokenId = _mintCounter;
_mint(to, quantity);
if (to.isContract()) {
unchecked {
for (uint256 i; i < quantity; ++i) {
if (!_checkOnERC721Received(address(0), to, startTokenId + i, _data))
revert TransferToNonERC721ReceiverImplementer();
}
}
}
}
function _mint(address to, uint256 quantity) internal virtual {
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
uint256 startTokenId = _mintCounter;
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
unchecked {
for (uint256 i; i < quantity; ++i) {
if (_maxBatchSize == 0 ? i == 0 : i % _maxBatchSize == 0) {
TokenData storage token = _tokens[startTokenId + i];
token.owner = to;
token.aux = _calculateAux(address(0), to, startTokenId + i, 0);
}
emit Transfer(address(0), to, startTokenId + i);
}
_mintCounter += quantity;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
function _transfer(
address from,
address to,
uint256 tokenId,
TokenData memory token
) internal virtual {
if (token.owner != from) revert TransferFromIncorrectOwner();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
_approve(address(0), tokenId, token);
unchecked {
uint256 nextTokenId = tokenId + 1;
if (_exists(nextTokenId)) {
TokenData storage nextToken = _tokens[nextTokenId];
if (nextToken.owner == address(0)) {
nextToken.owner = token.owner;
nextToken.aux = token.aux;
}
}
}
TokenData storage newToken = _tokens[tokenId];
newToken.owner = to;
newToken.aux = _calculateAux(from, to, tokenId, token.aux);
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
function _calculateAux(
address from,
address to,
uint256 tokenId,
bytes12 current
) internal view virtual returns (bytes12) {}
function _approve(
address to,
uint256 tokenId,
TokenData memory token
) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(token.owner, to, tokenId);
}
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_lead","type":"address"},{"internalType":"address","name":"_contractV1","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenDataQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_quanitity","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractV1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","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":[],"name":"lead","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTxPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractV1","type":"address"}],"name":"setContractV1Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MPTxPublic","type":"uint256"}],"name":"setmaxPerTxPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MPWPublic","type":"uint256"}],"name":"setmaxPerWalletPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"togglePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60a060405273a5409ec958c83c3f309868babaca7c86dcb077c1600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600960146101000a81548160ff021916908315150217905550660aa87bee538000600a55610171600b556003600c556003600d556200009f6200024460201b60201c565b600f55348015620000af57600080fd5b50604051620045de380380620045de8339818101604052810190620000d5919062000461565b6040518060400160405280601481526020017f557473756b757368692d736120627920576973750000000000000000000000008152506040518060400160405280600381526020017f5542570000000000000000000000000000000000000000000000000000000000815250600082600290805190602001906200015b9291906200031c565b508160039080519060200190620001749291906200031c565b508060808181525050505050620001a0620001946200024e60201b60201c565b6200025660201b60201c565b8260079080519060200190620001b89291906200031c565b5081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620006ae565b6000600154905090565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200032a90620005a5565b90600052602060002090601f0160209004810192826200034e57600085556200039a565b82601f106200036957805160ff19168380011785556200039a565b828001600101855582156200039a579182015b82811115620003995782518255916020019190600101906200037c565b5b509050620003a99190620003ad565b5090565b5b80821115620003c8576000816000905550600101620003ae565b5090565b6000620003e3620003dd8462000505565b620004dc565b90508281526020810184848401111562000402576200040162000674565b5b6200040f8482856200056f565b509392505050565b600081519050620004288162000694565b92915050565b600082601f8301126200044657620004456200066f565b5b815162000458848260208601620003cc565b91505092915050565b6000806000606084860312156200047d576200047c6200067e565b5b600084015167ffffffffffffffff8111156200049e576200049d62000679565b5b620004ac868287016200042e565b9350506020620004bf8682870162000417565b9250506040620004d28682870162000417565b9150509250925092565b6000620004e8620004fb565b9050620004f68282620005db565b919050565b6000604051905090565b600067ffffffffffffffff82111562000523576200052262000640565b5b6200052e8262000683565b9050602081019050919050565b600062000548826200054f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200058f57808201518184015260208101905062000572565b838111156200059f576000848401525b50505050565b60006002820490506001821680620005be57607f821691505b60208210811415620005d557620005d462000611565b5b50919050565b620005e68262000683565b810181811067ffffffffffffffff8211171562000608576200060762000640565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200069f816200053b565b8114620006ab57600080fd5b50565b608051613f0d620006d160003960008181612c160152612c3e0152613f0d6000f3fe6080604052600436106102255760003560e01c80636c0360eb11610123578063b029a514116100ab578063cd7c03261161006f578063cd7c0326146107d0578063d26ea6c0146107fb578063d5abeb0114610824578063e985e9c51461084f578063f2fde38b1461088c57610225565b8063b029a514146106ed578063b88d4fde14610718578063c3c62d3814610741578063c4d4ec941461076a578063c87b56dd1461079357610225565b80637885ce39116100f25780637885ce39146106185780638da5cb5b1461064357806395d89b411461066e5780639943770d14610699578063a22cb465146106c457610225565b80636c0360eb14610570578063701ee0061461059b57806370a08231146105c4578063715018a61461060157610225565b806318cae269116101b157806342842e0e1161017557806342842e0e1461048d57806344a0d68a146104b657806346bb0a16146104df57806355f804b31461050a5780636352211e1461053357610225565b806318cae269146103cb578063228025e81461040857806323b872dd146104315780632db115441461045a5780633ccfd60b1461047657610225565b8063095ea7b3116101f8578063095ea7b3146102f85780630bb12bb8146103215780630e21f59f1461034c57806313faede61461037557806318160ddd146103a057610225565b806301ffc9a71461022a57806306fdde03146102675780630788370314610292578063081812fc146102bb575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613191565b6108b5565b60405161025e919061362c565b60405180910390f35b34801561027357600080fd5b5061027c610997565b6040516102899190613647565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613261565b610a29565b005b3480156102c757600080fd5b506102e260048036038101906102dd9190613261565b610ad9565b6040516102ef91906135c5565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190613124565b610b55565b005b34801561032d57600080fd5b50610336610d10565b604051610343919061362c565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e9190613164565b610d23565b005b34801561038157600080fd5b5061038a610dbc565b60405161039791906137a9565b60405180910390f35b3480156103ac57600080fd5b506103b5610dc2565b6040516103c291906137a9565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190612fa1565b610dcc565b6040516103ff91906137a9565b60405180910390f35b34801561041457600080fd5b5061042f600480360381019061042a9190613261565b610de4565b005b34801561043d57600080fd5b506104586004803603810190610453919061300e565b610e6a565b005b610474600480360381019061046f9190613261565b610f77565b005b34801561048257600080fd5b5061048b61120d565b005b34801561049957600080fd5b506104b460048036038101906104af919061300e565b61135a565b005b3480156104c257600080fd5b506104dd60048036038101906104d89190613261565b61137a565b005b3480156104eb57600080fd5b506104f4611400565b60405161050191906135c5565b60405180910390f35b34801561051657600080fd5b50610531600480360381019061052c9190613218565b611426565b005b34801561053f57600080fd5b5061055a60048036038101906105559190613261565b6114bc565b60405161056791906135c5565b60405180910390f35b34801561057c57600080fd5b50610585611531565b6040516105929190613647565b60405180910390f35b3480156105a757600080fd5b506105c260048036038101906105bd9190613261565b6115bf565b005b3480156105d057600080fd5b506105eb60048036038101906105e69190612fa1565b611645565b6040516105f891906137a9565b60405180910390f35b34801561060d57600080fd5b50610616611798565b005b34801561062457600080fd5b5061062d611820565b60405161063a91906135c5565b60405180910390f35b34801561064f57600080fd5b50610658611846565b60405161066591906135c5565b60405180910390f35b34801561067a57600080fd5b50610683611870565b6040516106909190613647565b60405180910390f35b3480156106a557600080fd5b506106ae611902565b6040516106bb91906137a9565b60405180910390f35b3480156106d057600080fd5b506106eb60048036038101906106e691906130e4565b611908565b005b3480156106f957600080fd5b50610702611a80565b60405161070f91906137a9565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a9190613061565b611a86565b005b34801561074d57600080fd5b5061076860048036038101906107639190613261565b611b95565b005b34801561077657600080fd5b50610791600480360381019061078c9190612fa1565b611c1b565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190613261565b611cdb565b6040516107c79190613647565b60405180910390f35b3480156107dc57600080fd5b506107e5611d57565b6040516107f291906135c5565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190612fa1565b611d7d565b005b34801561083057600080fd5b50610839611e3d565b60405161084691906137a9565b60405180910390f35b34801561085b57600080fd5b5061087660048036038101906108719190612fce565b611e43565b604051610883919061362c565b60405180910390f35b34801561089857600080fd5b506108b360048036038101906108ae9190612fa1565b611f45565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610990575061098f8261203d565b5b9050919050565b6060600280546109a690613a8b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d290613a8b565b8015610a1f5780601f106109f457610100808354040283529160200191610a1f565b820191906000526020600020905b815481529060010190602001808311610a0257829003601f168201915b5050505050905090565b610a316120a7565b73ffffffffffffffffffffffffffffffffffffffff16610a4f611846565b73ffffffffffffffffffffffffffffffffffffffff1614610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90613749565b60405180910390fd5b6000610aaf610dc2565b9050600b548183610ac091906138ae565b1115610acb57600080fd5b610ad533836120af565b5050565b6000610ae4826120cd565b610b1a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b60826120db565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610c77576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c966120a7565b73ffffffffffffffffffffffffffffffffffffffff1614158015610cc85750610cc681610cc16120a7565b611e43565b155b15610cff576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d0a8484846121bb565b50505050565b600960149054906101000a900460ff1681565b610d2b6120a7565b73ffffffffffffffffffffffffffffffffffffffff16610d49611846565b73ffffffffffffffffffffffffffffffffffffffff1614610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9690613749565b60405180910390fd5b80600960146101000a81548160ff02191690831515021790555050565b600a5481565b6000600154905090565b60106020528060005260406000206000915090505481565b610dec6120a7565b73ffffffffffffffffffffffffffffffffffffffff16610e0a611846565b73ffffffffffffffffffffffffffffffffffffffff1614610e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5790613749565b60405180910390fd5b80600b8190555050565b6000610e75826120db565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050610f2f610f286120a7565b8383612271565b610f65576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f7184848484612303565b50505050565b600960149054906101000a900460ff1615610fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbe90613769565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102c906136e9565b60405180910390fd5b600061103f610dc2565b905081600a5461104f9190613935565b341015611091576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611088906136a9565b60405180910390fd5b600d548211156110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd90613789565b60405180910390fd5b600b5481836110e591906138ae565b1115611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906136c9565b60405180910390fd5b600c54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a090613689565b60405180910390fd5b81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111f891906138ae565b9250508190555061120933836120af565b5050565b6112156120a7565b73ffffffffffffffffffffffffffffffffffffffff16611233611846565b73ffffffffffffffffffffffffffffffffffffffff1614611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128090613749565b60405180910390fd5b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516112d1906135b0565b60006040518083038185875af1925050503d806000811461130e576040519150601f19603f3d011682016040523d82523d6000602084013e611313565b606091505b5050905080611357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134e90613669565b60405180910390fd5b50565b61137583838360405180602001604052806000815250611a86565b505050565b6113826120a7565b73ffffffffffffffffffffffffffffffffffffffff166113a0611846565b73ffffffffffffffffffffffffffffffffffffffff16146113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed90613749565b60405180910390fd5b80600a8190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61142e6120a7565b73ffffffffffffffffffffffffffffffffffffffff1661144c611846565b73ffffffffffffffffffffffffffffffffffffffff16146114a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149990613749565b60405180910390fd5b80600790805190602001906114b8929190612da0565b5050565b60006114c7826120cd565b6114fd576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611506826120db565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6007805461153e90613a8b565b80601f016020809104026020016040519081016040528092919081815260200182805461156a90613a8b565b80156115b75780601f1061158c576101008083540402835291602001916115b7565b820191906000526020600020905b81548152906001019060200180831161159a57829003601f168201915b505050505081565b6115c76120a7565b73ffffffffffffffffffffffffffffffffffffffff166115e5611846565b73ffffffffffffffffffffffffffffffffffffffff161461163b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163290613749565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ad576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116b7610dc2565b905060008060005b8381101561178c57600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611739578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561177a578361177790613aee565b93505b508061178590613aee565b90506116bf565b50819350505050919050565b6117a06120a7565b73ffffffffffffffffffffffffffffffffffffffff166117be611846565b73ffffffffffffffffffffffffffffffffffffffff1614611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90613749565b60405180910390fd5b61181e60006125e7565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461187f90613a8b565b80601f01602080910402602001604051908101604052809291908181526020018280546118ab90613a8b565b80156118f85780601f106118cd576101008083540402835291602001916118f8565b820191906000526020600020905b8154815290600101906020018083116118db57829003601f168201915b5050505050905090565b600d5481565b6119106120a7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611975576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560006119826120a7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a2f6120a7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a74919061362c565b60405180910390a35050565b600c5481565b6000611a91836120db565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611b4b611b446120a7565b8483612271565b611b81576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b8e85858584866126ad565b5050505050565b611b9d6120a7565b73ffffffffffffffffffffffffffffffffffffffff16611bbb611846565b73ffffffffffffffffffffffffffffffffffffffff1614611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0890613749565b60405180910390fd5b80600d8190555050565b611c236120a7565b73ffffffffffffffffffffffffffffffffffffffff16611c41611846565b73ffffffffffffffffffffffffffffffffffffffff1614611c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8e90613749565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611ce6826120cd565b611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c90613729565b60405180910390fd5b6007611d308361272b565b604051602001611d41929190613581565b6040516020818303038152906040529050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d856120a7565b73ffffffffffffffffffffffffffffffffffffffff16611da3611846565b73ffffffffffffffffffffffffffffffffffffffff1614611df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df090613749565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611ebb91906135c5565b60206040518083038186803b158015611ed357600080fd5b505afa158015611ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0b91906131eb565b73ffffffffffffffffffffffffffffffffffffffff161415611f31576001915050611f3f565b611f3b848461288c565b9150505b92915050565b611f4d6120a7565b73ffffffffffffffffffffffffffffffffffffffff16611f6b611846565b73ffffffffffffffffffffffffffffffffffffffff1614611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb890613749565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890613709565b60405180910390fd5b61203a816125e7565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6120c9828260405180602001604052806000815250612920565b5050565b600060015482109050919050565b60006120e6826120cd565b61211c576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121b157806001900390506000808281526020019081526020016000209150612138565b8192505050919050565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806122bb57506122ba8186611e43565b5b806122f957508473ffffffffffffffffffffffffffffffffffffffff166122e185610ad9565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461236c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123d3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123e084848460016129b8565b6123ec600083836121bb565b60006001830190506123fd816120cd565b156124e75760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156124e55782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061255185858585602001516129be565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125e085858560016129c8565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126b985858585612303565b6126d88473ffffffffffffffffffffffffffffffffffffffff166129ce565b80156126ed57506126eb858585846129f1565b155b15612724576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000821415612773576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612887565b600082905060005b600082146127a557808061278e90613aee565b915050600a8261279e9190613904565b915061277b565b60008167ffffffffffffffff8111156127c1576127c0613c24565b5b6040519080825280601f01601f1916602001820160405280156127f35781602001600182028036833780820191505090505b5090505b600085146128805760018261280c919061398f565b9150600a8561281b9190613b37565b603061282791906138ae565b60f81b81838151811061283d5761283c613bf5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128799190613904565b94506127f7565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060015490506129318484612b51565b6129508473ffffffffffffffffffffffffffffffffffffffff166129ce565b156129b25760005b838110156129b05761296f600086838501866129f1565b6129a5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001019050612958565b505b50505050565b50505050565b6000949350505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a176120a7565b8786866040518563ffffffff1660e01b8152600401612a3994939291906135e0565b602060405180830381600087803b158015612a5357600080fd5b505af1925050508015612a8457506040513d601f19601f82011682018060405250810190612a8191906131be565b60015b612afe573d8060008114612ab4576040519150601f19603f3d011682016040523d82523d6000602084013e612ab9565b606091505b50600081511415612af6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415612bf3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006001549050612c0760008483856129b8565b60005b82811015612d7d5760007f000000000000000000000000000000000000000000000000000000000000000014612c735760007f00000000000000000000000000000000000000000000000000000000000000008281612c6c57612c6b613b97565b5b0614612c78565b600081145b15612d1457600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612ceb600086848601600060a01b6129be565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806001019050612c0a565b5081600160008282540192505081905550612d9b60008483856129c8565b505050565b828054612dac90613a8b565b90600052602060002090601f016020900481019282612dce5760008555612e15565b82601f10612de757805160ff1916838001178555612e15565b82800160010185558215612e15579182015b82811115612e14578251825591602001919060010190612df9565b5b509050612e229190612e26565b5090565b5b80821115612e3f576000816000905550600101612e27565b5090565b6000612e56612e51846137e9565b6137c4565b905082815260208101848484011115612e7257612e71613c58565b5b612e7d848285613a49565b509392505050565b6000612e98612e938461381a565b6137c4565b905082815260208101848484011115612eb457612eb3613c58565b5b612ebf848285613a49565b509392505050565b600081359050612ed681613e64565b92915050565b600081359050612eeb81613e7b565b92915050565b600081359050612f0081613e92565b92915050565b600081519050612f1581613e92565b92915050565b600082601f830112612f3057612f2f613c53565b5b8135612f40848260208601612e43565b91505092915050565b600081519050612f5881613ea9565b92915050565b600082601f830112612f7357612f72613c53565b5b8135612f83848260208601612e85565b91505092915050565b600081359050612f9b81613ec0565b92915050565b600060208284031215612fb757612fb6613c62565b5b6000612fc584828501612ec7565b91505092915050565b60008060408385031215612fe557612fe4613c62565b5b6000612ff385828601612ec7565b925050602061300485828601612ec7565b9150509250929050565b60008060006060848603121561302757613026613c62565b5b600061303586828701612ec7565b935050602061304686828701612ec7565b925050604061305786828701612f8c565b9150509250925092565b6000806000806080858703121561307b5761307a613c62565b5b600061308987828801612ec7565b945050602061309a87828801612ec7565b93505060406130ab87828801612f8c565b925050606085013567ffffffffffffffff8111156130cc576130cb613c5d565b5b6130d887828801612f1b565b91505092959194509250565b600080604083850312156130fb576130fa613c62565b5b600061310985828601612ec7565b925050602061311a85828601612edc565b9150509250929050565b6000806040838503121561313b5761313a613c62565b5b600061314985828601612ec7565b925050602061315a85828601612f8c565b9150509250929050565b60006020828403121561317a57613179613c62565b5b600061318884828501612edc565b91505092915050565b6000602082840312156131a7576131a6613c62565b5b60006131b584828501612ef1565b91505092915050565b6000602082840312156131d4576131d3613c62565b5b60006131e284828501612f06565b91505092915050565b60006020828403121561320157613200613c62565b5b600061320f84828501612f49565b91505092915050565b60006020828403121561322e5761322d613c62565b5b600082013567ffffffffffffffff81111561324c5761324b613c5d565b5b61325884828501612f5e565b91505092915050565b60006020828403121561327757613276613c62565b5b600061328584828501612f8c565b91505092915050565b613297816139c3565b82525050565b6132a6816139d5565b82525050565b60006132b782613860565b6132c18185613876565b93506132d1818560208601613a58565b6132da81613c67565b840191505092915050565b60006132f08261386b565b6132fa8185613892565b935061330a818560208601613a58565b61331381613c67565b840191505092915050565b60006133298261386b565b61333381856138a3565b9350613343818560208601613a58565b80840191505092915050565b6000815461335c81613a8b565b61336681866138a3565b945060018216600081146133815760018114613392576133c5565b60ff198316865281860193506133c5565b61339b8561384b565b60005b838110156133bd5781548189015260018201915060208101905061339e565b838801955050505b50505092915050565b60006133db601783613892565b91506133e682613c78565b602082019050919050565b60006133fe601183613892565b915061340982613ca1565b602082019050919050565b6000613421601083613892565b915061342c82613cca565b602082019050919050565b6000613444600783613892565b915061344f82613cf3565b602082019050919050565b6000613467601f83613892565b915061347282613d1c565b602082019050919050565b600061348a602683613892565b915061349582613d45565b604082019050919050565b60006134ad601583613892565b91506134b882613d94565b602082019050919050565b60006134d06005836138a3565b91506134db82613dbd565b600582019050919050565b60006134f3602083613892565b91506134fe82613de6565b602082019050919050565b6000613516601283613892565b915061352182613e0f565b602082019050919050565b6000613539600083613887565b915061354482613e38565b600082019050919050565b600061355c600d83613892565b915061356782613e3b565b602082019050919050565b61357b81613a3f565b82525050565b600061358d828561334f565b9150613599828461331e565b91506135a4826134c3565b91508190509392505050565b60006135bb8261352c565b9150819050919050565b60006020820190506135da600083018461328e565b92915050565b60006080820190506135f5600083018761328e565b613602602083018661328e565b61360f6040830185613572565b818103606083015261362181846132ac565b905095945050505050565b6000602082019050613641600083018461329d565b92915050565b6000602082019050818103600083015261366181846132e5565b905092915050565b60006020820190508181036000830152613682816133ce565b9050919050565b600060208201905081810360008301526136a2816133f1565b9050919050565b600060208201905081810360008301526136c281613414565b9050919050565b600060208201905081810360008301526136e281613437565b9050919050565b600060208201905081810360008301526137028161345a565b9050919050565b600060208201905081810360008301526137228161347d565b9050919050565b60006020820190508181036000830152613742816134a0565b9050919050565b60006020820190508181036000830152613762816134e6565b9050919050565b6000602082019050818103600083015261378281613509565b9050919050565b600060208201905081810360008301526137a28161354f565b9050919050565b60006020820190506137be6000830184613572565b92915050565b60006137ce6137df565b90506137da8282613abd565b919050565b6000604051905090565b600067ffffffffffffffff82111561380457613803613c24565b5b61380d82613c67565b9050602081019050919050565b600067ffffffffffffffff82111561383557613834613c24565b5b61383e82613c67565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006138b982613a3f565b91506138c483613a3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138f9576138f8613b68565b5b828201905092915050565b600061390f82613a3f565b915061391a83613a3f565b92508261392a57613929613b97565b5b828204905092915050565b600061394082613a3f565b915061394b83613a3f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561398457613983613b68565b5b828202905092915050565b600061399a82613a3f565b91506139a583613a3f565b9250828210156139b8576139b7613b68565b5b828203905092915050565b60006139ce82613a1f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613a18826139c3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613a76578082015181840152602081019050613a5b565b83811115613a85576000848401525b50505050565b60006002820490506001821680613aa357607f821691505b60208210811415613ab757613ab6613bc6565b5b50919050565b613ac682613c67565b810181811067ffffffffffffffff82111715613ae557613ae4613c24565b5b80604052505050565b6000613af982613a3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b2c57613b2b613b68565b5b600182019050919050565b6000613b4282613a3f565b9150613b4d83613a3f565b925082613b5d57613b5c613b97565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b50565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b613e6d816139c3565b8114613e7857600080fd5b50565b613e84816139d5565b8114613e8f57600080fd5b50565b613e9b816139e1565b8114613ea657600080fd5b50565b613eb281613a0d565b8114613ebd57600080fd5b50565b613ec981613a3f565b8114613ed457600080fd5b5056fea2646970667358221220a7b3924260dfa42ea8d6b7474605a4a1528a5840759369150ad6ef479ba1c50964736f6c634300080700330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000bda5c8a86e75447e876ebb022c976ea583cbca5f000000000000000000000000bda5c8a86e75447e876ebb022c976ea583cbca5f0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5963664b636f55634e33333158445a4d35535961755a55396f6e63504468626b54787a3357635563555865662f00000000000000000000
Deployed Bytecode
0x6080604052600436106102255760003560e01c80636c0360eb11610123578063b029a514116100ab578063cd7c03261161006f578063cd7c0326146107d0578063d26ea6c0146107fb578063d5abeb0114610824578063e985e9c51461084f578063f2fde38b1461088c57610225565b8063b029a514146106ed578063b88d4fde14610718578063c3c62d3814610741578063c4d4ec941461076a578063c87b56dd1461079357610225565b80637885ce39116100f25780637885ce39146106185780638da5cb5b1461064357806395d89b411461066e5780639943770d14610699578063a22cb465146106c457610225565b80636c0360eb14610570578063701ee0061461059b57806370a08231146105c4578063715018a61461060157610225565b806318cae269116101b157806342842e0e1161017557806342842e0e1461048d57806344a0d68a146104b657806346bb0a16146104df57806355f804b31461050a5780636352211e1461053357610225565b806318cae269146103cb578063228025e81461040857806323b872dd146104315780632db115441461045a5780633ccfd60b1461047657610225565b8063095ea7b3116101f8578063095ea7b3146102f85780630bb12bb8146103215780630e21f59f1461034c57806313faede61461037557806318160ddd146103a057610225565b806301ffc9a71461022a57806306fdde03146102675780630788370314610292578063081812fc146102bb575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613191565b6108b5565b60405161025e919061362c565b60405180910390f35b34801561027357600080fd5b5061027c610997565b6040516102899190613647565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613261565b610a29565b005b3480156102c757600080fd5b506102e260048036038101906102dd9190613261565b610ad9565b6040516102ef91906135c5565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190613124565b610b55565b005b34801561032d57600080fd5b50610336610d10565b604051610343919061362c565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e9190613164565b610d23565b005b34801561038157600080fd5b5061038a610dbc565b60405161039791906137a9565b60405180910390f35b3480156103ac57600080fd5b506103b5610dc2565b6040516103c291906137a9565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190612fa1565b610dcc565b6040516103ff91906137a9565b60405180910390f35b34801561041457600080fd5b5061042f600480360381019061042a9190613261565b610de4565b005b34801561043d57600080fd5b506104586004803603810190610453919061300e565b610e6a565b005b610474600480360381019061046f9190613261565b610f77565b005b34801561048257600080fd5b5061048b61120d565b005b34801561049957600080fd5b506104b460048036038101906104af919061300e565b61135a565b005b3480156104c257600080fd5b506104dd60048036038101906104d89190613261565b61137a565b005b3480156104eb57600080fd5b506104f4611400565b60405161050191906135c5565b60405180910390f35b34801561051657600080fd5b50610531600480360381019061052c9190613218565b611426565b005b34801561053f57600080fd5b5061055a60048036038101906105559190613261565b6114bc565b60405161056791906135c5565b60405180910390f35b34801561057c57600080fd5b50610585611531565b6040516105929190613647565b60405180910390f35b3480156105a757600080fd5b506105c260048036038101906105bd9190613261565b6115bf565b005b3480156105d057600080fd5b506105eb60048036038101906105e69190612fa1565b611645565b6040516105f891906137a9565b60405180910390f35b34801561060d57600080fd5b50610616611798565b005b34801561062457600080fd5b5061062d611820565b60405161063a91906135c5565b60405180910390f35b34801561064f57600080fd5b50610658611846565b60405161066591906135c5565b60405180910390f35b34801561067a57600080fd5b50610683611870565b6040516106909190613647565b60405180910390f35b3480156106a557600080fd5b506106ae611902565b6040516106bb91906137a9565b60405180910390f35b3480156106d057600080fd5b506106eb60048036038101906106e691906130e4565b611908565b005b3480156106f957600080fd5b50610702611a80565b60405161070f91906137a9565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a9190613061565b611a86565b005b34801561074d57600080fd5b5061076860048036038101906107639190613261565b611b95565b005b34801561077657600080fd5b50610791600480360381019061078c9190612fa1565b611c1b565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190613261565b611cdb565b6040516107c79190613647565b60405180910390f35b3480156107dc57600080fd5b506107e5611d57565b6040516107f291906135c5565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190612fa1565b611d7d565b005b34801561083057600080fd5b50610839611e3d565b60405161084691906137a9565b60405180910390f35b34801561085b57600080fd5b5061087660048036038101906108719190612fce565b611e43565b604051610883919061362c565b60405180910390f35b34801561089857600080fd5b506108b360048036038101906108ae9190612fa1565b611f45565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610990575061098f8261203d565b5b9050919050565b6060600280546109a690613a8b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d290613a8b565b8015610a1f5780601f106109f457610100808354040283529160200191610a1f565b820191906000526020600020905b815481529060010190602001808311610a0257829003601f168201915b5050505050905090565b610a316120a7565b73ffffffffffffffffffffffffffffffffffffffff16610a4f611846565b73ffffffffffffffffffffffffffffffffffffffff1614610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90613749565b60405180910390fd5b6000610aaf610dc2565b9050600b548183610ac091906138ae565b1115610acb57600080fd5b610ad533836120af565b5050565b6000610ae4826120cd565b610b1a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b60826120db565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610c77576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c966120a7565b73ffffffffffffffffffffffffffffffffffffffff1614158015610cc85750610cc681610cc16120a7565b611e43565b155b15610cff576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d0a8484846121bb565b50505050565b600960149054906101000a900460ff1681565b610d2b6120a7565b73ffffffffffffffffffffffffffffffffffffffff16610d49611846565b73ffffffffffffffffffffffffffffffffffffffff1614610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9690613749565b60405180910390fd5b80600960146101000a81548160ff02191690831515021790555050565b600a5481565b6000600154905090565b60106020528060005260406000206000915090505481565b610dec6120a7565b73ffffffffffffffffffffffffffffffffffffffff16610e0a611846565b73ffffffffffffffffffffffffffffffffffffffff1614610e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5790613749565b60405180910390fd5b80600b8190555050565b6000610e75826120db565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050610f2f610f286120a7565b8383612271565b610f65576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f7184848484612303565b50505050565b600960149054906101000a900460ff1615610fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbe90613769565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102c906136e9565b60405180910390fd5b600061103f610dc2565b905081600a5461104f9190613935565b341015611091576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611088906136a9565b60405180910390fd5b600d548211156110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd90613789565b60405180910390fd5b600b5481836110e591906138ae565b1115611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906136c9565b60405180910390fd5b600c54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a090613689565b60405180910390fd5b81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111f891906138ae565b9250508190555061120933836120af565b5050565b6112156120a7565b73ffffffffffffffffffffffffffffffffffffffff16611233611846565b73ffffffffffffffffffffffffffffffffffffffff1614611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128090613749565b60405180910390fd5b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516112d1906135b0565b60006040518083038185875af1925050503d806000811461130e576040519150601f19603f3d011682016040523d82523d6000602084013e611313565b606091505b5050905080611357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134e90613669565b60405180910390fd5b50565b61137583838360405180602001604052806000815250611a86565b505050565b6113826120a7565b73ffffffffffffffffffffffffffffffffffffffff166113a0611846565b73ffffffffffffffffffffffffffffffffffffffff16146113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed90613749565b60405180910390fd5b80600a8190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61142e6120a7565b73ffffffffffffffffffffffffffffffffffffffff1661144c611846565b73ffffffffffffffffffffffffffffffffffffffff16146114a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149990613749565b60405180910390fd5b80600790805190602001906114b8929190612da0565b5050565b60006114c7826120cd565b6114fd576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611506826120db565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6007805461153e90613a8b565b80601f016020809104026020016040519081016040528092919081815260200182805461156a90613a8b565b80156115b75780601f1061158c576101008083540402835291602001916115b7565b820191906000526020600020905b81548152906001019060200180831161159a57829003601f168201915b505050505081565b6115c76120a7565b73ffffffffffffffffffffffffffffffffffffffff166115e5611846565b73ffffffffffffffffffffffffffffffffffffffff161461163b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163290613749565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ad576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116b7610dc2565b905060008060005b8381101561178c57600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611739578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561177a578361177790613aee565b93505b508061178590613aee565b90506116bf565b50819350505050919050565b6117a06120a7565b73ffffffffffffffffffffffffffffffffffffffff166117be611846565b73ffffffffffffffffffffffffffffffffffffffff1614611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90613749565b60405180910390fd5b61181e60006125e7565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461187f90613a8b565b80601f01602080910402602001604051908101604052809291908181526020018280546118ab90613a8b565b80156118f85780601f106118cd576101008083540402835291602001916118f8565b820191906000526020600020905b8154815290600101906020018083116118db57829003601f168201915b5050505050905090565b600d5481565b6119106120a7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611975576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560006119826120a7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a2f6120a7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a74919061362c565b60405180910390a35050565b600c5481565b6000611a91836120db565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611b4b611b446120a7565b8483612271565b611b81576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b8e85858584866126ad565b5050505050565b611b9d6120a7565b73ffffffffffffffffffffffffffffffffffffffff16611bbb611846565b73ffffffffffffffffffffffffffffffffffffffff1614611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0890613749565b60405180910390fd5b80600d8190555050565b611c236120a7565b73ffffffffffffffffffffffffffffffffffffffff16611c41611846565b73ffffffffffffffffffffffffffffffffffffffff1614611c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8e90613749565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611ce6826120cd565b611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c90613729565b60405180910390fd5b6007611d308361272b565b604051602001611d41929190613581565b6040516020818303038152906040529050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d856120a7565b73ffffffffffffffffffffffffffffffffffffffff16611da3611846565b73ffffffffffffffffffffffffffffffffffffffff1614611df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df090613749565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611ebb91906135c5565b60206040518083038186803b158015611ed357600080fd5b505afa158015611ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0b91906131eb565b73ffffffffffffffffffffffffffffffffffffffff161415611f31576001915050611f3f565b611f3b848461288c565b9150505b92915050565b611f4d6120a7565b73ffffffffffffffffffffffffffffffffffffffff16611f6b611846565b73ffffffffffffffffffffffffffffffffffffffff1614611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb890613749565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890613709565b60405180910390fd5b61203a816125e7565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6120c9828260405180602001604052806000815250612920565b5050565b600060015482109050919050565b60006120e6826120cd565b61211c576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121b157806001900390506000808281526020019081526020016000209150612138565b8192505050919050565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806122bb57506122ba8186611e43565b5b806122f957508473ffffffffffffffffffffffffffffffffffffffff166122e185610ad9565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461236c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123d3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123e084848460016129b8565b6123ec600083836121bb565b60006001830190506123fd816120cd565b156124e75760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156124e55782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061255185858585602001516129be565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125e085858560016129c8565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126b985858585612303565b6126d88473ffffffffffffffffffffffffffffffffffffffff166129ce565b80156126ed57506126eb858585846129f1565b155b15612724576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000821415612773576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612887565b600082905060005b600082146127a557808061278e90613aee565b915050600a8261279e9190613904565b915061277b565b60008167ffffffffffffffff8111156127c1576127c0613c24565b5b6040519080825280601f01601f1916602001820160405280156127f35781602001600182028036833780820191505090505b5090505b600085146128805760018261280c919061398f565b9150600a8561281b9190613b37565b603061282791906138ae565b60f81b81838151811061283d5761283c613bf5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128799190613904565b94506127f7565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060015490506129318484612b51565b6129508473ffffffffffffffffffffffffffffffffffffffff166129ce565b156129b25760005b838110156129b05761296f600086838501866129f1565b6129a5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001019050612958565b505b50505050565b50505050565b6000949350505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a176120a7565b8786866040518563ffffffff1660e01b8152600401612a3994939291906135e0565b602060405180830381600087803b158015612a5357600080fd5b505af1925050508015612a8457506040513d601f19601f82011682018060405250810190612a8191906131be565b60015b612afe573d8060008114612ab4576040519150601f19603f3d011682016040523d82523d6000602084013e612ab9565b606091505b50600081511415612af6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415612bf3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006001549050612c0760008483856129b8565b60005b82811015612d7d5760007f000000000000000000000000000000000000000000000000000000000000000014612c735760007f00000000000000000000000000000000000000000000000000000000000000008281612c6c57612c6b613b97565b5b0614612c78565b600081145b15612d1457600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612ceb600086848601600060a01b6129be565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806001019050612c0a565b5081600160008282540192505081905550612d9b60008483856129c8565b505050565b828054612dac90613a8b565b90600052602060002090601f016020900481019282612dce5760008555612e15565b82601f10612de757805160ff1916838001178555612e15565b82800160010185558215612e15579182015b82811115612e14578251825591602001919060010190612df9565b5b509050612e229190612e26565b5090565b5b80821115612e3f576000816000905550600101612e27565b5090565b6000612e56612e51846137e9565b6137c4565b905082815260208101848484011115612e7257612e71613c58565b5b612e7d848285613a49565b509392505050565b6000612e98612e938461381a565b6137c4565b905082815260208101848484011115612eb457612eb3613c58565b5b612ebf848285613a49565b509392505050565b600081359050612ed681613e64565b92915050565b600081359050612eeb81613e7b565b92915050565b600081359050612f0081613e92565b92915050565b600081519050612f1581613e92565b92915050565b600082601f830112612f3057612f2f613c53565b5b8135612f40848260208601612e43565b91505092915050565b600081519050612f5881613ea9565b92915050565b600082601f830112612f7357612f72613c53565b5b8135612f83848260208601612e85565b91505092915050565b600081359050612f9b81613ec0565b92915050565b600060208284031215612fb757612fb6613c62565b5b6000612fc584828501612ec7565b91505092915050565b60008060408385031215612fe557612fe4613c62565b5b6000612ff385828601612ec7565b925050602061300485828601612ec7565b9150509250929050565b60008060006060848603121561302757613026613c62565b5b600061303586828701612ec7565b935050602061304686828701612ec7565b925050604061305786828701612f8c565b9150509250925092565b6000806000806080858703121561307b5761307a613c62565b5b600061308987828801612ec7565b945050602061309a87828801612ec7565b93505060406130ab87828801612f8c565b925050606085013567ffffffffffffffff8111156130cc576130cb613c5d565b5b6130d887828801612f1b565b91505092959194509250565b600080604083850312156130fb576130fa613c62565b5b600061310985828601612ec7565b925050602061311a85828601612edc565b9150509250929050565b6000806040838503121561313b5761313a613c62565b5b600061314985828601612ec7565b925050602061315a85828601612f8c565b9150509250929050565b60006020828403121561317a57613179613c62565b5b600061318884828501612edc565b91505092915050565b6000602082840312156131a7576131a6613c62565b5b60006131b584828501612ef1565b91505092915050565b6000602082840312156131d4576131d3613c62565b5b60006131e284828501612f06565b91505092915050565b60006020828403121561320157613200613c62565b5b600061320f84828501612f49565b91505092915050565b60006020828403121561322e5761322d613c62565b5b600082013567ffffffffffffffff81111561324c5761324b613c5d565b5b61325884828501612f5e565b91505092915050565b60006020828403121561327757613276613c62565b5b600061328584828501612f8c565b91505092915050565b613297816139c3565b82525050565b6132a6816139d5565b82525050565b60006132b782613860565b6132c18185613876565b93506132d1818560208601613a58565b6132da81613c67565b840191505092915050565b60006132f08261386b565b6132fa8185613892565b935061330a818560208601613a58565b61331381613c67565b840191505092915050565b60006133298261386b565b61333381856138a3565b9350613343818560208601613a58565b80840191505092915050565b6000815461335c81613a8b565b61336681866138a3565b945060018216600081146133815760018114613392576133c5565b60ff198316865281860193506133c5565b61339b8561384b565b60005b838110156133bd5781548189015260018201915060208101905061339e565b838801955050505b50505092915050565b60006133db601783613892565b91506133e682613c78565b602082019050919050565b60006133fe601183613892565b915061340982613ca1565b602082019050919050565b6000613421601083613892565b915061342c82613cca565b602082019050919050565b6000613444600783613892565b915061344f82613cf3565b602082019050919050565b6000613467601f83613892565b915061347282613d1c565b602082019050919050565b600061348a602683613892565b915061349582613d45565b604082019050919050565b60006134ad601583613892565b91506134b882613d94565b602082019050919050565b60006134d06005836138a3565b91506134db82613dbd565b600582019050919050565b60006134f3602083613892565b91506134fe82613de6565b602082019050919050565b6000613516601283613892565b915061352182613e0f565b602082019050919050565b6000613539600083613887565b915061354482613e38565b600082019050919050565b600061355c600d83613892565b915061356782613e3b565b602082019050919050565b61357b81613a3f565b82525050565b600061358d828561334f565b9150613599828461331e565b91506135a4826134c3565b91508190509392505050565b60006135bb8261352c565b9150819050919050565b60006020820190506135da600083018461328e565b92915050565b60006080820190506135f5600083018761328e565b613602602083018661328e565b61360f6040830185613572565b818103606083015261362181846132ac565b905095945050505050565b6000602082019050613641600083018461329d565b92915050565b6000602082019050818103600083015261366181846132e5565b905092915050565b60006020820190508181036000830152613682816133ce565b9050919050565b600060208201905081810360008301526136a2816133f1565b9050919050565b600060208201905081810360008301526136c281613414565b9050919050565b600060208201905081810360008301526136e281613437565b9050919050565b600060208201905081810360008301526137028161345a565b9050919050565b600060208201905081810360008301526137228161347d565b9050919050565b60006020820190508181036000830152613742816134a0565b9050919050565b60006020820190508181036000830152613762816134e6565b9050919050565b6000602082019050818103600083015261378281613509565b9050919050565b600060208201905081810360008301526137a28161354f565b9050919050565b60006020820190506137be6000830184613572565b92915050565b60006137ce6137df565b90506137da8282613abd565b919050565b6000604051905090565b600067ffffffffffffffff82111561380457613803613c24565b5b61380d82613c67565b9050602081019050919050565b600067ffffffffffffffff82111561383557613834613c24565b5b61383e82613c67565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006138b982613a3f565b91506138c483613a3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138f9576138f8613b68565b5b828201905092915050565b600061390f82613a3f565b915061391a83613a3f565b92508261392a57613929613b97565b5b828204905092915050565b600061394082613a3f565b915061394b83613a3f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561398457613983613b68565b5b828202905092915050565b600061399a82613a3f565b91506139a583613a3f565b9250828210156139b8576139b7613b68565b5b828203905092915050565b60006139ce82613a1f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613a18826139c3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613a76578082015181840152602081019050613a5b565b83811115613a85576000848401525b50505050565b60006002820490506001821680613aa357607f821691505b60208210811415613ab757613ab6613bc6565b5b50919050565b613ac682613c67565b810181811067ffffffffffffffff82111715613ae557613ae4613c24565b5b80604052505050565b6000613af982613a3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b2c57613b2b613b68565b5b600182019050919050565b6000613b4282613a3f565b9150613b4d83613a3f565b925082613b5d57613b5c613b97565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b50565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b613e6d816139c3565b8114613e7857600080fd5b50565b613e84816139d5565b8114613e8f57600080fd5b50565b613e9b816139e1565b8114613ea657600080fd5b50565b613eb281613a0d565b8114613ebd57600080fd5b50565b613ec981613a3f565b8114613ed457600080fd5b5056fea2646970667358221220a7b3924260dfa42ea8d6b7474605a4a1528a5840759369150ad6ef479ba1c50964736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000bda5c8a86e75447e876ebb022c976ea583cbca5f000000000000000000000000bda5c8a86e75447e876ebb022c976ea583cbca5f0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5963664b636f55634e33333158445a4d35535961755a55396f6e63504468626b54787a3357635563555865662f00000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmYcfKcoUcN331XDZM5SYauZU9oncPDhbkTxz3WcUcUXef/
Arg [1] : _lead (address): 0xbda5C8A86E75447E876EBB022C976EA583CBca5f
Arg [2] : _contractV1 (address): 0xbda5C8A86E75447E876EBB022C976EA583CBca5f
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000bda5c8a86e75447e876ebb022c976ea583cbca5f
Arg [2] : 000000000000000000000000bda5c8a86e75447e876ebb022c976ea583cbca5f
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d5963664b636f55634e33333158445a4d35535961755a55
Arg [5] : 396f6e63504468626b54787a3357635563555865662f00000000000000000000
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 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.