Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
13508133 | 985 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
OriginERC721_v3
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* * Origin Protocol * https://originprotocol.com * * Released under the MIT license * SPDX-License-Identifier: MIT * https://github.com/OriginProtocol/nft-launchpad * * Copyright 2021 Origin Protocol, Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; contract OriginERC721_v3 is ERC721EnumerableUpgradeable, AccessControlUpgradeable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); string private _base; function initialize( address owner, address minter, string memory name, string memory symbol, string memory baseURI ) initializer public { __AccessControl_init(); __ERC721_init(name, symbol); _base = baseURI; _setupRole(DEFAULT_ADMIN_ROLE, owner); _setupRole(MINTER_ROLE, owner); if (minter != address(0)) { _setupRole(MINTER_ROLE, minter); } } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721EnumerableUpgradeable, AccessControlUpgradeable) returns (bool) { return super.supportsInterface(interfaceId); } function _baseURI() internal view override returns (string memory) { return _base; } /** * @notice Return URI to contract metadata JSON file * @return URI to JSON file */ function contractURI() public view returns (string memory) { string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, "contract.json")) : ""; } /** * @notice Change the base url for all NFTs */ function setBaseURI(string calldata base) external onlyRole(MINTER_ROLE) { _base = base; } /** * @notice Mint multiple NFTs * @param to address that new NFTs will belong to * @param tokenIds ids of new NFTs to create * @param preApprove optional account that is pre-approved to move tokens * after token creation. */ function massMint( address to, uint256[] calldata tokenIds, address preApprove ) external onlyRole(MINTER_ROLE) { for (uint256 i = 0; i < tokenIds.length; i++) { _mint(to, tokenIds[i]); if (preApprove != address(0)) { _approve(preApprove, tokenIds[i]); } } } /** * @notice Mint a single nft */ function safeMint(address to, uint256 tokenId) external onlyRole(MINTER_ROLE) { _safeMint(to, tokenId); } /** * @notice Mint a single nft to a creator, then transfer to a user * @param creator address that will show as the creator of the NFT * @param to address that new NFTs will belong to * @param tokenId id of new NFT */ function mintAndTransfer( address creator, address to, uint256 tokenId ) external onlyRole(MINTER_ROLE) { _mint(creator, tokenId); _safeTransfer(creator, to, tokenId, ""); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721Upgradeable.sol"; import "./IERC721EnumerableUpgradeable.sol"; import "../../../proxy/utils/Initializable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721EnumerableUpgradeable is Initializable, ERC721Upgradeable, IERC721EnumerableUpgradeable { function __ERC721Enumerable_init() internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __ERC721Enumerable_init_unchained(); } function __ERC721Enumerable_init_unchained() internal initializer { } // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165Upgradeable, ERC721Upgradeable) returns (bool) { return interfaceId == type(IERC721EnumerableUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721Upgradeable.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721EnumerableUpgradeable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721Upgradeable.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721Upgradeable.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } uint256[46] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControlUpgradeable.sol"; import "../utils/ContextUpgradeable.sol"; import "../utils/StringsUpgradeable.sol"; import "../utils/introspection/ERC165Upgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable { function __AccessControl_init() internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __AccessControl_init_unchained(); } function __AccessControl_init_unchained() internal initializer { } struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", StringsUpgradeable.toHexString(uint160(account), 20), " is missing role ", StringsUpgradeable.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721Upgradeable.sol"; import "./IERC721ReceiverUpgradeable.sol"; import "./extensions/IERC721MetadataUpgradeable.sol"; import "../../utils/AddressUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../utils/StringsUpgradeable.sol"; import "../../utils/introspection/ERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ function __ERC721_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721Upgradeable.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721Upgradeable.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721Upgradeable.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721Upgradeable.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} uint256[44] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721EnumerableUpgradeable is IERC721Upgradeable { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721ReceiverUpgradeable { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (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 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 pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { 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 "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal initializer { __ERC165_init_unchained(); } function __ERC165_init_unchained() internal initializer { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControlUpgradeable { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"minter","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address","name":"preApprove","type":"address"}],"name":"massMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"creator","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintAndTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeMint","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":"base","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50614a9a806100206000396000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c806355f804b311610104578063a217fddf116100a2578063d539139311610071578063d53913931461054b578063d547741f14610569578063e8a3d48514610585578063e985e9c5146105a3576101ce565b8063a217fddf146104c5578063a22cb465146104e3578063b88d4fde146104ff578063c87b56dd1461051b576101ce565b806370a08231116100de57806370a082311461042b57806391d148541461045b57806395d89b411461048b578063a1448194146104a9576101ce565b806355f804b3146103c35780636352211e146103df5780636b34c7ad1461040f576101ce565b8063248a9ca31161017157806336568abe1161014b57806336568abe1461033f5780633f2f5ee21461035b57806342842e0e146103775780634f6ccce714610393576101ce565b8063248a9ca3146102c35780632f2ff15d146102f35780632f745c591461030f576101ce565b8063081812fc116101ad578063081812fc1461023d578063095ea7b31461026d57806318160ddd1461028957806323b872dd146102a7576101ce565b8062059fa3146101d357806301ffc9a7146101ef57806306fdde031461021f575b600080fd5b6101ed60048036038101906101e89190613550565b6105d3565b005b61020960048036038101906102049190613763565b610630565b6040516102169190613ceb565b60405180910390f35b610227610642565b6040516102349190613d21565b60405180910390f35b610257600480360381019061025291906137fa565b6106d4565b6040516102649190613c84565b60405180910390f35b610287600480360381019061028291906136c2565b610759565b005b610291610871565b60405161029e9190613fa3565b60405180910390f35b6102c160048036038101906102bc9190613550565b61087e565b005b6102dd60048036038101906102d891906136fe565b6108de565b6040516102ea9190613d06565b60405180910390f35b61030d60048036038101906103089190613727565b6108fe565b005b610329600480360381019061032491906136c2565b610927565b6040516103369190613fa3565b60405180910390f35b61035960048036038101906103549190613727565b6109cc565b005b61037560048036038101906103709190613491565b610a4f565b005b610391600480360381019061038c9190613550565b610bec565b005b6103ad60048036038101906103a891906137fa565b610c0c565b6040516103ba9190613fa3565b60405180910390f35b6103dd60048036038101906103d891906137b5565b610ca3565b005b6103f960048036038101906103f491906137fa565b610cec565b6040516104069190613c84565b60405180910390f35b6104296004803603810190610424919061361a565b610d9e565b005b6104456004803603810190610440919061342c565b610ec0565b6040516104529190613fa3565b60405180910390f35b61047560048036038101906104709190613727565b610f78565b6040516104829190613ceb565b60405180910390f35b610493610fe3565b6040516104a09190613d21565b60405180910390f35b6104c360048036038101906104be91906136c2565b611075565b005b6104cd6110b6565b6040516104da9190613d06565b60405180910390f35b6104fd60048036038101906104f89190613686565b6110bd565b005b6105196004803603810190610514919061359f565b61123e565b005b610535600480360381019061053091906137fa565b6112a0565b6040516105429190613d21565b60405180910390f35b610553611347565b6040516105609190613d06565b60405180910390f35b610583600480360381019061057e9190613727565b61136b565b005b61058d611394565b60405161059a9190613d21565b60405180910390f35b6105bd60048036038101906105b89190613455565b6113e7565b6040516105ca9190613ceb565b60405180910390f35b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66106058161060061147b565b611483565b61060f8483611520565b61062a848484604051806020016040528060008152506116ee565b50505050565b600061063b8261174a565b9050919050565b60606065805461065190614287565b80601f016020809104026020016040519081016040528092919081815260200182805461067d90614287565b80156106ca5780601f1061069f576101008083540402835291602001916106ca565b820191906000526020600020905b8154815290600101906020018083116106ad57829003601f168201915b5050505050905090565b60006106df826117c4565b61071e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071590613ec3565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061076482610cec565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cc90613f23565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107f461147b565b73ffffffffffffffffffffffffffffffffffffffff16148061082357506108228161081d61147b565b6113e7565b5b610862576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085990613e23565b60405180910390fd5b61086c8383611830565b505050565b6000609980549050905090565b61088f61088961147b565b826118e9565b6108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c590613f43565b60405180910390fd5b6108d98383836119c7565b505050565b600060c96000838152602001908152602001600020600101549050919050565b610907826108de565b6109188161091361147b565b611483565b6109228383611c23565b505050565b600061093283610ec0565b8210610973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096a90613d63565b60405180910390fd5b609760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109d461147b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3890613f83565b60405180910390fd5b610a4b8282611d04565b5050565b600060019054906101000a900460ff1680610a75575060008054906101000a900460ff16155b610ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aab90613e83565b60405180910390fd5b60008060019054906101000a900460ff161590508015610b04576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610b0c611de6565b610b168484611ed7565b8160fb9080519060200190610b2c929190613121565b50610b3a6000801b87611fcc565b610b647f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a687611fcc565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614610bc357610bc27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a686611fcc565b5b8015610be45760008060016101000a81548160ff0219169083151502179055505b505050505050565b610c078383836040518060200160405280600081525061123e565b505050565b6000610c16610871565b8210610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e90613f63565b60405180910390fd5b60998281548110610c91577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610cd581610cd061147b565b611483565b828260fb9190610ce69291906131a7565b50505050565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8c90613e63565b60405180910390fd5b80915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610dd081610dcb61147b565b611483565b60005b84849050811015610eb857610e2786868684818110610e1b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135611520565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610ea557610ea483868684818110610e98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135611830565b5b8080610eb0906142ea565b915050610dd3565b505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2890613e43565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060668054610ff290614287565b80601f016020809104026020016040519081016040528092919081815260200182805461101e90614287565b801561106b5780601f106110405761010080835404028352916020019161106b565b820191906000526020600020905b81548152906001019060200180831161104e57829003601f168201915b5050505050905090565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66110a7816110a261147b565b611483565b6110b18383611fda565b505050565b6000801b81565b6110c561147b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112a90613de3565b60405180910390fd5b80606a600061114061147b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111ed61147b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112329190613ceb565b60405180910390a35050565b61124f61124961147b565b836118e9565b61128e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128590613f43565b60405180910390fd5b61129a848484846116ee565b50505050565b60606112ab826117c4565b6112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190613f03565b60405180910390fd5b60006112f4611ff8565b90506000815111611314576040518060200160405280600081525061133f565b8061131e8461208a565b60405160200161132f929190613c04565b6040516020818303038152906040525b915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611374826108de565b6113858161138061147b565b611483565b61138f8383611d04565b505050565b606060006113a0611ff8565b905060008151116113c057604051806020016040528060008152506113e1565b806040516020016113d19190613c28565b6040516020818303038152906040525b91505090565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b61148d8282610f78565b61151c576114b28173ffffffffffffffffffffffffffffffffffffffff166014612237565b6114c08360001c6020612237565b6040516020016114d1929190613c4a565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115139190613d21565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158790613ea3565b60405180910390fd5b611599816117c4565b156115d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d090613da3565b60405180910390fd5b6115e560008383612531565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116359190614088565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6116f98484846119c7565b61170584848484612645565b611744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173b90613d83565b60405180910390fd5b50505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117bd57506117bc826127dc565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118a383610cec565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118f4826117c4565b611933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192a90613e03565b60405180910390fd5b600061193e83610cec565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119ad57508373ffffffffffffffffffffffffffffffffffffffff16611995846106d4565b73ffffffffffffffffffffffffffffffffffffffff16145b806119be57506119bd81856113e7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119e782610cec565b73ffffffffffffffffffffffffffffffffffffffff1614611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3490613ee3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa490613dc3565b60405180910390fd5b611ab8838383612531565b611ac3600082611830565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b139190614169565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b6a9190614088565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611c2d8282610f78565b611d0057600160c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ca561147b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611d0e8282610f78565b15611de257600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d8761147b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600060019054906101000a900460ff1680611e0c575060008054906101000a900460ff16155b611e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4290613e83565b60405180910390fd5b60008060019054906101000a900460ff161590508015611e9b576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611ea3612856565b611eab61292f565b611eb3612a08565b8015611ed45760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611efd575060008054906101000a900460ff16155b611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3390613e83565b60405180910390fd5b60008060019054906101000a900460ff161590508015611f8c576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611f94612856565b611f9c61292f565b611fa68383612ae1565b8015611fc75760008060016101000a81548160ff0219169083151502179055505b505050565b611fd68282611c23565b5050565b611ff4828260405180602001604052806000815250612bea565b5050565b606060fb805461200790614287565b80601f016020809104026020016040519081016040528092919081815260200182805461203390614287565b80156120805780601f1061205557610100808354040283529160200191612080565b820191906000526020600020905b81548152906001019060200180831161206357829003601f168201915b5050505050905090565b606060008214156120d2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612232565b600082905060005b600082146121045780806120ed906142ea565b915050600a826120fd91906140de565b91506120da565b60008167ffffffffffffffff811115612146577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121785781602001600182028036833780820191505090505b5090505b6000851461222b576001826121919190614169565b9150600a856121a09190614333565b60306121ac9190614088565b60f81b8183815181106121e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561222491906140de565b945061217c565b8093505050505b919050565b60606000600283600261224a919061410f565b6122549190614088565b67ffffffffffffffff811115612293577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122c55781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612323577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106123ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026123ed919061410f565b6123f79190614088565b90505b60018111156124e3577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061245f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061249c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806124dc9061425d565b90506123fa565b5060008414612527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251e90613d43565b60405180910390fd5b8091505092915050565b61253c838383612c45565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561257f5761257a81612c4a565b6125be565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146125bd576125bc8382612c93565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612601576125fc81612e00565b612640565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461263f5761263e8282612f43565b5b5b505050565b60006126668473ffffffffffffffffffffffffffffffffffffffff16612fc2565b156127cf578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261268f61147b565b8786866040518563ffffffff1660e01b81526004016126b19493929190613c9f565b602060405180830381600087803b1580156126cb57600080fd5b505af19250505080156126fc57506040513d601f19601f820116820180604052508101906126f9919061378c565b60015b61277f573d806000811461272c576040519150601f19603f3d011682016040523d82523d6000602084013e612731565b606091505b50600081511415612777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276e90613d83565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127d4565b600190505b949350505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061284f575061284e82612fd5565b5b9050919050565b600060019054906101000a900460ff168061287c575060008054906101000a900460ff16155b6128bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b290613e83565b60405180910390fd5b60008060019054906101000a900460ff16159050801561290b576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b801561292c5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612955575060008054906101000a900460ff16155b612994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298b90613e83565b60405180910390fd5b60008060019054906101000a900460ff1615905080156129e4576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015612a055760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612a2e575060008054906101000a900460ff16155b612a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6490613e83565b60405180910390fd5b60008060019054906101000a900460ff161590508015612abd576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015612ade5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612b07575060008054906101000a900460ff16155b612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d90613e83565b60405180910390fd5b60008060019054906101000a900460ff161590508015612b96576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260659080519060200190612bac929190613121565b508160669080519060200190612bc3929190613121565b508015612be55760008060016101000a81548160ff0219169083151502179055505b505050565b612bf48383611520565b612c016000848484612645565b612c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3790613d83565b60405180910390fd5b505050565b505050565b609980549050609a600083815260200190815260200160002081905550609981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ca084610ec0565b612caa9190614169565b9050600060986000848152602001908152602001600020549050818114612d8f576000609760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080609760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816098600083815260200190815260200160002081905550505b6098600084815260200190815260200160002060009055609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001609980549050612e149190614169565b90506000609a6000848152602001908152602001600020549050600060998381548110612e6a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060998381548110612eb2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081609a600083815260200190815260200160002081905550609a6000858152602001908152602001600020600090556099805480612f27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612f4e83610ec0565b905081609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806098600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130a057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130b057506130af826130b7565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b82805461312d90614287565b90600052602060002090601f01602090048101928261314f5760008555613196565b82601f1061316857805160ff1916838001178555613196565b82800160010185558215613196579182015b8281111561319557825182559160200191906001019061317a565b5b5090506131a3919061322d565b5090565b8280546131b390614287565b90600052602060002090601f0160209004810192826131d5576000855561321c565b82601f106131ee57803560ff191683800117855561321c565b8280016001018555821561321c579182015b8281111561321b578235825591602001919060010190613200565b5b509050613229919061322d565b5090565b5b8082111561324657600081600090555060010161322e565b5090565b600061325d61325884613fe3565b613fbe565b90508281526020810184848401111561327557600080fd5b61328084828561421b565b509392505050565b600061329b61329684614014565b613fbe565b9050828152602081018484840111156132b357600080fd5b6132be84828561421b565b509392505050565b6000813590506132d5816149f1565b92915050565b60008083601f8401126132ed57600080fd5b8235905067ffffffffffffffff81111561330657600080fd5b60208301915083602082028301111561331e57600080fd5b9250929050565b60008135905061333481614a08565b92915050565b60008135905061334981614a1f565b92915050565b60008135905061335e81614a36565b92915050565b60008151905061337381614a36565b92915050565b600082601f83011261338a57600080fd5b813561339a84826020860161324a565b91505092915050565b60008083601f8401126133b557600080fd5b8235905067ffffffffffffffff8111156133ce57600080fd5b6020830191508360018202830111156133e657600080fd5b9250929050565b600082601f8301126133fe57600080fd5b813561340e848260208601613288565b91505092915050565b60008135905061342681614a4d565b92915050565b60006020828403121561343e57600080fd5b600061344c848285016132c6565b91505092915050565b6000806040838503121561346857600080fd5b6000613476858286016132c6565b9250506020613487858286016132c6565b9150509250929050565b600080600080600060a086880312156134a957600080fd5b60006134b7888289016132c6565b95505060206134c8888289016132c6565b945050604086013567ffffffffffffffff8111156134e557600080fd5b6134f1888289016133ed565b935050606086013567ffffffffffffffff81111561350e57600080fd5b61351a888289016133ed565b925050608086013567ffffffffffffffff81111561353757600080fd5b613543888289016133ed565b9150509295509295909350565b60008060006060848603121561356557600080fd5b6000613573868287016132c6565b9350506020613584868287016132c6565b925050604061359586828701613417565b9150509250925092565b600080600080608085870312156135b557600080fd5b60006135c3878288016132c6565b94505060206135d4878288016132c6565b93505060406135e587828801613417565b925050606085013567ffffffffffffffff81111561360257600080fd5b61360e87828801613379565b91505092959194509250565b6000806000806060858703121561363057600080fd5b600061363e878288016132c6565b945050602085013567ffffffffffffffff81111561365b57600080fd5b613667878288016132db565b9350935050604061367a878288016132c6565b91505092959194509250565b6000806040838503121561369957600080fd5b60006136a7858286016132c6565b92505060206136b885828601613325565b9150509250929050565b600080604083850312156136d557600080fd5b60006136e3858286016132c6565b92505060206136f485828601613417565b9150509250929050565b60006020828403121561371057600080fd5b600061371e8482850161333a565b91505092915050565b6000806040838503121561373a57600080fd5b60006137488582860161333a565b9250506020613759858286016132c6565b9150509250929050565b60006020828403121561377557600080fd5b60006137838482850161334f565b91505092915050565b60006020828403121561379e57600080fd5b60006137ac84828501613364565b91505092915050565b600080602083850312156137c857600080fd5b600083013567ffffffffffffffff8111156137e257600080fd5b6137ee858286016133a3565b92509250509250929050565b60006020828403121561380c57600080fd5b600061381a84828501613417565b91505092915050565b61382c8161419d565b82525050565b61383b816141af565b82525050565b61384a816141bb565b82525050565b600061385b82614045565b613865818561405b565b935061387581856020860161422a565b61387e81614420565b840191505092915050565b600061389482614050565b61389e818561406c565b93506138ae81856020860161422a565b6138b781614420565b840191505092915050565b60006138cd82614050565b6138d7818561407d565b93506138e781856020860161422a565b80840191505092915050565b600061390060208361406c565b915061390b82614431565b602082019050919050565b6000613923600d8361407d565b915061392e8261445a565b600d82019050919050565b6000613946602b8361406c565b915061395182614483565b604082019050919050565b600061396960328361406c565b9150613974826144d2565b604082019050919050565b600061398c601c8361406c565b915061399782614521565b602082019050919050565b60006139af60248361406c565b91506139ba8261454a565b604082019050919050565b60006139d260198361406c565b91506139dd82614599565b602082019050919050565b60006139f5602c8361406c565b9150613a00826145c2565b604082019050919050565b6000613a1860388361406c565b9150613a2382614611565b604082019050919050565b6000613a3b602a8361406c565b9150613a4682614660565b604082019050919050565b6000613a5e60298361406c565b9150613a69826146af565b604082019050919050565b6000613a81602e8361406c565b9150613a8c826146fe565b604082019050919050565b6000613aa460208361406c565b9150613aaf8261474d565b602082019050919050565b6000613ac7602c8361406c565b9150613ad282614776565b604082019050919050565b6000613aea60298361406c565b9150613af5826147c5565b604082019050919050565b6000613b0d602f8361406c565b9150613b1882614814565b604082019050919050565b6000613b3060218361406c565b9150613b3b82614863565b604082019050919050565b6000613b5360318361406c565b9150613b5e826148b2565b604082019050919050565b6000613b76602c8361406c565b9150613b8182614901565b604082019050919050565b6000613b9960178361407d565b9150613ba482614950565b601782019050919050565b6000613bbc60118361407d565b9150613bc782614979565b601182019050919050565b6000613bdf602f8361406c565b9150613bea826149a2565b604082019050919050565b613bfe81614211565b82525050565b6000613c1082856138c2565b9150613c1c82846138c2565b91508190509392505050565b6000613c3482846138c2565b9150613c3f82613916565b915081905092915050565b6000613c5582613b8c565b9150613c6182856138c2565b9150613c6c82613baf565b9150613c7882846138c2565b91508190509392505050565b6000602082019050613c996000830184613823565b92915050565b6000608082019050613cb46000830187613823565b613cc16020830186613823565b613cce6040830185613bf5565b8181036060830152613ce08184613850565b905095945050505050565b6000602082019050613d006000830184613832565b92915050565b6000602082019050613d1b6000830184613841565b92915050565b60006020820190508181036000830152613d3b8184613889565b905092915050565b60006020820190508181036000830152613d5c816138f3565b9050919050565b60006020820190508181036000830152613d7c81613939565b9050919050565b60006020820190508181036000830152613d9c8161395c565b9050919050565b60006020820190508181036000830152613dbc8161397f565b9050919050565b60006020820190508181036000830152613ddc816139a2565b9050919050565b60006020820190508181036000830152613dfc816139c5565b9050919050565b60006020820190508181036000830152613e1c816139e8565b9050919050565b60006020820190508181036000830152613e3c81613a0b565b9050919050565b60006020820190508181036000830152613e5c81613a2e565b9050919050565b60006020820190508181036000830152613e7c81613a51565b9050919050565b60006020820190508181036000830152613e9c81613a74565b9050919050565b60006020820190508181036000830152613ebc81613a97565b9050919050565b60006020820190508181036000830152613edc81613aba565b9050919050565b60006020820190508181036000830152613efc81613add565b9050919050565b60006020820190508181036000830152613f1c81613b00565b9050919050565b60006020820190508181036000830152613f3c81613b23565b9050919050565b60006020820190508181036000830152613f5c81613b46565b9050919050565b60006020820190508181036000830152613f7c81613b69565b9050919050565b60006020820190508181036000830152613f9c81613bd2565b9050919050565b6000602082019050613fb86000830184613bf5565b92915050565b6000613fc8613fd9565b9050613fd482826142b9565b919050565b6000604051905090565b600067ffffffffffffffff821115613ffe57613ffd6143f1565b5b61400782614420565b9050602081019050919050565b600067ffffffffffffffff82111561402f5761402e6143f1565b5b61403882614420565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061409382614211565b915061409e83614211565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140d3576140d2614364565b5b828201905092915050565b60006140e982614211565b91506140f483614211565b92508261410457614103614393565b5b828204905092915050565b600061411a82614211565b915061412583614211565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561415e5761415d614364565b5b828202905092915050565b600061417482614211565b915061417f83614211565b92508282101561419257614191614364565b5b828203905092915050565b60006141a8826141f1565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561424857808201518184015260208101905061422d565b83811115614257576000848401525b50505050565b600061426882614211565b9150600082141561427c5761427b614364565b5b600182039050919050565b6000600282049050600182168061429f57607f821691505b602082108114156142b3576142b26143c2565b5b50919050565b6142c282614420565b810181811067ffffffffffffffff821117156142e1576142e06143f1565b5b80604052505050565b60006142f582614211565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561432857614327614364565b5b600182019050919050565b600061433e82614211565b915061434983614211565b92508261435957614358614393565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f636f6e74726163742e6a736f6e00000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6149fa8161419d565b8114614a0557600080fd5b50565b614a11816141af565b8114614a1c57600080fd5b50565b614a28816141bb565b8114614a3357600080fd5b50565b614a3f816141c5565b8114614a4a57600080fd5b50565b614a5681614211565b8114614a6157600080fd5b5056fea26469706673582212200ab1520b8fa65af1ae4818dac1edacf5fa95dd5013cbf5a75ef01eb82a66d85d64736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ce5760003560e01c806355f804b311610104578063a217fddf116100a2578063d539139311610071578063d53913931461054b578063d547741f14610569578063e8a3d48514610585578063e985e9c5146105a3576101ce565b8063a217fddf146104c5578063a22cb465146104e3578063b88d4fde146104ff578063c87b56dd1461051b576101ce565b806370a08231116100de57806370a082311461042b57806391d148541461045b57806395d89b411461048b578063a1448194146104a9576101ce565b806355f804b3146103c35780636352211e146103df5780636b34c7ad1461040f576101ce565b8063248a9ca31161017157806336568abe1161014b57806336568abe1461033f5780633f2f5ee21461035b57806342842e0e146103775780634f6ccce714610393576101ce565b8063248a9ca3146102c35780632f2ff15d146102f35780632f745c591461030f576101ce565b8063081812fc116101ad578063081812fc1461023d578063095ea7b31461026d57806318160ddd1461028957806323b872dd146102a7576101ce565b8062059fa3146101d357806301ffc9a7146101ef57806306fdde031461021f575b600080fd5b6101ed60048036038101906101e89190613550565b6105d3565b005b61020960048036038101906102049190613763565b610630565b6040516102169190613ceb565b60405180910390f35b610227610642565b6040516102349190613d21565b60405180910390f35b610257600480360381019061025291906137fa565b6106d4565b6040516102649190613c84565b60405180910390f35b610287600480360381019061028291906136c2565b610759565b005b610291610871565b60405161029e9190613fa3565b60405180910390f35b6102c160048036038101906102bc9190613550565b61087e565b005b6102dd60048036038101906102d891906136fe565b6108de565b6040516102ea9190613d06565b60405180910390f35b61030d60048036038101906103089190613727565b6108fe565b005b610329600480360381019061032491906136c2565b610927565b6040516103369190613fa3565b60405180910390f35b61035960048036038101906103549190613727565b6109cc565b005b61037560048036038101906103709190613491565b610a4f565b005b610391600480360381019061038c9190613550565b610bec565b005b6103ad60048036038101906103a891906137fa565b610c0c565b6040516103ba9190613fa3565b60405180910390f35b6103dd60048036038101906103d891906137b5565b610ca3565b005b6103f960048036038101906103f491906137fa565b610cec565b6040516104069190613c84565b60405180910390f35b6104296004803603810190610424919061361a565b610d9e565b005b6104456004803603810190610440919061342c565b610ec0565b6040516104529190613fa3565b60405180910390f35b61047560048036038101906104709190613727565b610f78565b6040516104829190613ceb565b60405180910390f35b610493610fe3565b6040516104a09190613d21565b60405180910390f35b6104c360048036038101906104be91906136c2565b611075565b005b6104cd6110b6565b6040516104da9190613d06565b60405180910390f35b6104fd60048036038101906104f89190613686565b6110bd565b005b6105196004803603810190610514919061359f565b61123e565b005b610535600480360381019061053091906137fa565b6112a0565b6040516105429190613d21565b60405180910390f35b610553611347565b6040516105609190613d06565b60405180910390f35b610583600480360381019061057e9190613727565b61136b565b005b61058d611394565b60405161059a9190613d21565b60405180910390f35b6105bd60048036038101906105b89190613455565b6113e7565b6040516105ca9190613ceb565b60405180910390f35b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66106058161060061147b565b611483565b61060f8483611520565b61062a848484604051806020016040528060008152506116ee565b50505050565b600061063b8261174a565b9050919050565b60606065805461065190614287565b80601f016020809104026020016040519081016040528092919081815260200182805461067d90614287565b80156106ca5780601f1061069f576101008083540402835291602001916106ca565b820191906000526020600020905b8154815290600101906020018083116106ad57829003601f168201915b5050505050905090565b60006106df826117c4565b61071e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071590613ec3565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061076482610cec565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cc90613f23565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107f461147b565b73ffffffffffffffffffffffffffffffffffffffff16148061082357506108228161081d61147b565b6113e7565b5b610862576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085990613e23565b60405180910390fd5b61086c8383611830565b505050565b6000609980549050905090565b61088f61088961147b565b826118e9565b6108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c590613f43565b60405180910390fd5b6108d98383836119c7565b505050565b600060c96000838152602001908152602001600020600101549050919050565b610907826108de565b6109188161091361147b565b611483565b6109228383611c23565b505050565b600061093283610ec0565b8210610973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096a90613d63565b60405180910390fd5b609760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109d461147b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3890613f83565b60405180910390fd5b610a4b8282611d04565b5050565b600060019054906101000a900460ff1680610a75575060008054906101000a900460ff16155b610ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aab90613e83565b60405180910390fd5b60008060019054906101000a900460ff161590508015610b04576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610b0c611de6565b610b168484611ed7565b8160fb9080519060200190610b2c929190613121565b50610b3a6000801b87611fcc565b610b647f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a687611fcc565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614610bc357610bc27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a686611fcc565b5b8015610be45760008060016101000a81548160ff0219169083151502179055505b505050505050565b610c078383836040518060200160405280600081525061123e565b505050565b6000610c16610871565b8210610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e90613f63565b60405180910390fd5b60998281548110610c91577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610cd581610cd061147b565b611483565b828260fb9190610ce69291906131a7565b50505050565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8c90613e63565b60405180910390fd5b80915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610dd081610dcb61147b565b611483565b60005b84849050811015610eb857610e2786868684818110610e1b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135611520565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610ea557610ea483868684818110610e98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135611830565b5b8080610eb0906142ea565b915050610dd3565b505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2890613e43565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060668054610ff290614287565b80601f016020809104026020016040519081016040528092919081815260200182805461101e90614287565b801561106b5780601f106110405761010080835404028352916020019161106b565b820191906000526020600020905b81548152906001019060200180831161104e57829003601f168201915b5050505050905090565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66110a7816110a261147b565b611483565b6110b18383611fda565b505050565b6000801b81565b6110c561147b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112a90613de3565b60405180910390fd5b80606a600061114061147b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111ed61147b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112329190613ceb565b60405180910390a35050565b61124f61124961147b565b836118e9565b61128e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128590613f43565b60405180910390fd5b61129a848484846116ee565b50505050565b60606112ab826117c4565b6112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190613f03565b60405180910390fd5b60006112f4611ff8565b90506000815111611314576040518060200160405280600081525061133f565b8061131e8461208a565b60405160200161132f929190613c04565b6040516020818303038152906040525b915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611374826108de565b6113858161138061147b565b611483565b61138f8383611d04565b505050565b606060006113a0611ff8565b905060008151116113c057604051806020016040528060008152506113e1565b806040516020016113d19190613c28565b6040516020818303038152906040525b91505090565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b61148d8282610f78565b61151c576114b28173ffffffffffffffffffffffffffffffffffffffff166014612237565b6114c08360001c6020612237565b6040516020016114d1929190613c4a565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115139190613d21565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158790613ea3565b60405180910390fd5b611599816117c4565b156115d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d090613da3565b60405180910390fd5b6115e560008383612531565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116359190614088565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6116f98484846119c7565b61170584848484612645565b611744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173b90613d83565b60405180910390fd5b50505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117bd57506117bc826127dc565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118a383610cec565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118f4826117c4565b611933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192a90613e03565b60405180910390fd5b600061193e83610cec565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119ad57508373ffffffffffffffffffffffffffffffffffffffff16611995846106d4565b73ffffffffffffffffffffffffffffffffffffffff16145b806119be57506119bd81856113e7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119e782610cec565b73ffffffffffffffffffffffffffffffffffffffff1614611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3490613ee3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa490613dc3565b60405180910390fd5b611ab8838383612531565b611ac3600082611830565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b139190614169565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b6a9190614088565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611c2d8282610f78565b611d0057600160c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ca561147b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611d0e8282610f78565b15611de257600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d8761147b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600060019054906101000a900460ff1680611e0c575060008054906101000a900460ff16155b611e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4290613e83565b60405180910390fd5b60008060019054906101000a900460ff161590508015611e9b576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611ea3612856565b611eab61292f565b611eb3612a08565b8015611ed45760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611efd575060008054906101000a900460ff16155b611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3390613e83565b60405180910390fd5b60008060019054906101000a900460ff161590508015611f8c576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611f94612856565b611f9c61292f565b611fa68383612ae1565b8015611fc75760008060016101000a81548160ff0219169083151502179055505b505050565b611fd68282611c23565b5050565b611ff4828260405180602001604052806000815250612bea565b5050565b606060fb805461200790614287565b80601f016020809104026020016040519081016040528092919081815260200182805461203390614287565b80156120805780601f1061205557610100808354040283529160200191612080565b820191906000526020600020905b81548152906001019060200180831161206357829003601f168201915b5050505050905090565b606060008214156120d2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612232565b600082905060005b600082146121045780806120ed906142ea565b915050600a826120fd91906140de565b91506120da565b60008167ffffffffffffffff811115612146577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121785781602001600182028036833780820191505090505b5090505b6000851461222b576001826121919190614169565b9150600a856121a09190614333565b60306121ac9190614088565b60f81b8183815181106121e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561222491906140de565b945061217c565b8093505050505b919050565b60606000600283600261224a919061410f565b6122549190614088565b67ffffffffffffffff811115612293577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122c55781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612323577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106123ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026123ed919061410f565b6123f79190614088565b90505b60018111156124e3577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061245f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061249c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806124dc9061425d565b90506123fa565b5060008414612527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251e90613d43565b60405180910390fd5b8091505092915050565b61253c838383612c45565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561257f5761257a81612c4a565b6125be565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146125bd576125bc8382612c93565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612601576125fc81612e00565b612640565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461263f5761263e8282612f43565b5b5b505050565b60006126668473ffffffffffffffffffffffffffffffffffffffff16612fc2565b156127cf578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261268f61147b565b8786866040518563ffffffff1660e01b81526004016126b19493929190613c9f565b602060405180830381600087803b1580156126cb57600080fd5b505af19250505080156126fc57506040513d601f19601f820116820180604052508101906126f9919061378c565b60015b61277f573d806000811461272c576040519150601f19603f3d011682016040523d82523d6000602084013e612731565b606091505b50600081511415612777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276e90613d83565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127d4565b600190505b949350505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061284f575061284e82612fd5565b5b9050919050565b600060019054906101000a900460ff168061287c575060008054906101000a900460ff16155b6128bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b290613e83565b60405180910390fd5b60008060019054906101000a900460ff16159050801561290b576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b801561292c5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612955575060008054906101000a900460ff16155b612994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298b90613e83565b60405180910390fd5b60008060019054906101000a900460ff1615905080156129e4576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015612a055760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612a2e575060008054906101000a900460ff16155b612a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6490613e83565b60405180910390fd5b60008060019054906101000a900460ff161590508015612abd576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015612ade5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612b07575060008054906101000a900460ff16155b612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d90613e83565b60405180910390fd5b60008060019054906101000a900460ff161590508015612b96576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260659080519060200190612bac929190613121565b508160669080519060200190612bc3929190613121565b508015612be55760008060016101000a81548160ff0219169083151502179055505b505050565b612bf48383611520565b612c016000848484612645565b612c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3790613d83565b60405180910390fd5b505050565b505050565b609980549050609a600083815260200190815260200160002081905550609981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ca084610ec0565b612caa9190614169565b9050600060986000848152602001908152602001600020549050818114612d8f576000609760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080609760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816098600083815260200190815260200160002081905550505b6098600084815260200190815260200160002060009055609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001609980549050612e149190614169565b90506000609a6000848152602001908152602001600020549050600060998381548110612e6a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060998381548110612eb2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081609a600083815260200190815260200160002081905550609a6000858152602001908152602001600020600090556099805480612f27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612f4e83610ec0565b905081609760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806098600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130a057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130b057506130af826130b7565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b82805461312d90614287565b90600052602060002090601f01602090048101928261314f5760008555613196565b82601f1061316857805160ff1916838001178555613196565b82800160010185558215613196579182015b8281111561319557825182559160200191906001019061317a565b5b5090506131a3919061322d565b5090565b8280546131b390614287565b90600052602060002090601f0160209004810192826131d5576000855561321c565b82601f106131ee57803560ff191683800117855561321c565b8280016001018555821561321c579182015b8281111561321b578235825591602001919060010190613200565b5b509050613229919061322d565b5090565b5b8082111561324657600081600090555060010161322e565b5090565b600061325d61325884613fe3565b613fbe565b90508281526020810184848401111561327557600080fd5b61328084828561421b565b509392505050565b600061329b61329684614014565b613fbe565b9050828152602081018484840111156132b357600080fd5b6132be84828561421b565b509392505050565b6000813590506132d5816149f1565b92915050565b60008083601f8401126132ed57600080fd5b8235905067ffffffffffffffff81111561330657600080fd5b60208301915083602082028301111561331e57600080fd5b9250929050565b60008135905061333481614a08565b92915050565b60008135905061334981614a1f565b92915050565b60008135905061335e81614a36565b92915050565b60008151905061337381614a36565b92915050565b600082601f83011261338a57600080fd5b813561339a84826020860161324a565b91505092915050565b60008083601f8401126133b557600080fd5b8235905067ffffffffffffffff8111156133ce57600080fd5b6020830191508360018202830111156133e657600080fd5b9250929050565b600082601f8301126133fe57600080fd5b813561340e848260208601613288565b91505092915050565b60008135905061342681614a4d565b92915050565b60006020828403121561343e57600080fd5b600061344c848285016132c6565b91505092915050565b6000806040838503121561346857600080fd5b6000613476858286016132c6565b9250506020613487858286016132c6565b9150509250929050565b600080600080600060a086880312156134a957600080fd5b60006134b7888289016132c6565b95505060206134c8888289016132c6565b945050604086013567ffffffffffffffff8111156134e557600080fd5b6134f1888289016133ed565b935050606086013567ffffffffffffffff81111561350e57600080fd5b61351a888289016133ed565b925050608086013567ffffffffffffffff81111561353757600080fd5b613543888289016133ed565b9150509295509295909350565b60008060006060848603121561356557600080fd5b6000613573868287016132c6565b9350506020613584868287016132c6565b925050604061359586828701613417565b9150509250925092565b600080600080608085870312156135b557600080fd5b60006135c3878288016132c6565b94505060206135d4878288016132c6565b93505060406135e587828801613417565b925050606085013567ffffffffffffffff81111561360257600080fd5b61360e87828801613379565b91505092959194509250565b6000806000806060858703121561363057600080fd5b600061363e878288016132c6565b945050602085013567ffffffffffffffff81111561365b57600080fd5b613667878288016132db565b9350935050604061367a878288016132c6565b91505092959194509250565b6000806040838503121561369957600080fd5b60006136a7858286016132c6565b92505060206136b885828601613325565b9150509250929050565b600080604083850312156136d557600080fd5b60006136e3858286016132c6565b92505060206136f485828601613417565b9150509250929050565b60006020828403121561371057600080fd5b600061371e8482850161333a565b91505092915050565b6000806040838503121561373a57600080fd5b60006137488582860161333a565b9250506020613759858286016132c6565b9150509250929050565b60006020828403121561377557600080fd5b60006137838482850161334f565b91505092915050565b60006020828403121561379e57600080fd5b60006137ac84828501613364565b91505092915050565b600080602083850312156137c857600080fd5b600083013567ffffffffffffffff8111156137e257600080fd5b6137ee858286016133a3565b92509250509250929050565b60006020828403121561380c57600080fd5b600061381a84828501613417565b91505092915050565b61382c8161419d565b82525050565b61383b816141af565b82525050565b61384a816141bb565b82525050565b600061385b82614045565b613865818561405b565b935061387581856020860161422a565b61387e81614420565b840191505092915050565b600061389482614050565b61389e818561406c565b93506138ae81856020860161422a565b6138b781614420565b840191505092915050565b60006138cd82614050565b6138d7818561407d565b93506138e781856020860161422a565b80840191505092915050565b600061390060208361406c565b915061390b82614431565b602082019050919050565b6000613923600d8361407d565b915061392e8261445a565b600d82019050919050565b6000613946602b8361406c565b915061395182614483565b604082019050919050565b600061396960328361406c565b9150613974826144d2565b604082019050919050565b600061398c601c8361406c565b915061399782614521565b602082019050919050565b60006139af60248361406c565b91506139ba8261454a565b604082019050919050565b60006139d260198361406c565b91506139dd82614599565b602082019050919050565b60006139f5602c8361406c565b9150613a00826145c2565b604082019050919050565b6000613a1860388361406c565b9150613a2382614611565b604082019050919050565b6000613a3b602a8361406c565b9150613a4682614660565b604082019050919050565b6000613a5e60298361406c565b9150613a69826146af565b604082019050919050565b6000613a81602e8361406c565b9150613a8c826146fe565b604082019050919050565b6000613aa460208361406c565b9150613aaf8261474d565b602082019050919050565b6000613ac7602c8361406c565b9150613ad282614776565b604082019050919050565b6000613aea60298361406c565b9150613af5826147c5565b604082019050919050565b6000613b0d602f8361406c565b9150613b1882614814565b604082019050919050565b6000613b3060218361406c565b9150613b3b82614863565b604082019050919050565b6000613b5360318361406c565b9150613b5e826148b2565b604082019050919050565b6000613b76602c8361406c565b9150613b8182614901565b604082019050919050565b6000613b9960178361407d565b9150613ba482614950565b601782019050919050565b6000613bbc60118361407d565b9150613bc782614979565b601182019050919050565b6000613bdf602f8361406c565b9150613bea826149a2565b604082019050919050565b613bfe81614211565b82525050565b6000613c1082856138c2565b9150613c1c82846138c2565b91508190509392505050565b6000613c3482846138c2565b9150613c3f82613916565b915081905092915050565b6000613c5582613b8c565b9150613c6182856138c2565b9150613c6c82613baf565b9150613c7882846138c2565b91508190509392505050565b6000602082019050613c996000830184613823565b92915050565b6000608082019050613cb46000830187613823565b613cc16020830186613823565b613cce6040830185613bf5565b8181036060830152613ce08184613850565b905095945050505050565b6000602082019050613d006000830184613832565b92915050565b6000602082019050613d1b6000830184613841565b92915050565b60006020820190508181036000830152613d3b8184613889565b905092915050565b60006020820190508181036000830152613d5c816138f3565b9050919050565b60006020820190508181036000830152613d7c81613939565b9050919050565b60006020820190508181036000830152613d9c8161395c565b9050919050565b60006020820190508181036000830152613dbc8161397f565b9050919050565b60006020820190508181036000830152613ddc816139a2565b9050919050565b60006020820190508181036000830152613dfc816139c5565b9050919050565b60006020820190508181036000830152613e1c816139e8565b9050919050565b60006020820190508181036000830152613e3c81613a0b565b9050919050565b60006020820190508181036000830152613e5c81613a2e565b9050919050565b60006020820190508181036000830152613e7c81613a51565b9050919050565b60006020820190508181036000830152613e9c81613a74565b9050919050565b60006020820190508181036000830152613ebc81613a97565b9050919050565b60006020820190508181036000830152613edc81613aba565b9050919050565b60006020820190508181036000830152613efc81613add565b9050919050565b60006020820190508181036000830152613f1c81613b00565b9050919050565b60006020820190508181036000830152613f3c81613b23565b9050919050565b60006020820190508181036000830152613f5c81613b46565b9050919050565b60006020820190508181036000830152613f7c81613b69565b9050919050565b60006020820190508181036000830152613f9c81613bd2565b9050919050565b6000602082019050613fb86000830184613bf5565b92915050565b6000613fc8613fd9565b9050613fd482826142b9565b919050565b6000604051905090565b600067ffffffffffffffff821115613ffe57613ffd6143f1565b5b61400782614420565b9050602081019050919050565b600067ffffffffffffffff82111561402f5761402e6143f1565b5b61403882614420565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061409382614211565b915061409e83614211565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140d3576140d2614364565b5b828201905092915050565b60006140e982614211565b91506140f483614211565b92508261410457614103614393565b5b828204905092915050565b600061411a82614211565b915061412583614211565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561415e5761415d614364565b5b828202905092915050565b600061417482614211565b915061417f83614211565b92508282101561419257614191614364565b5b828203905092915050565b60006141a8826141f1565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561424857808201518184015260208101905061422d565b83811115614257576000848401525b50505050565b600061426882614211565b9150600082141561427c5761427b614364565b5b600182039050919050565b6000600282049050600182168061429f57607f821691505b602082108114156142b3576142b26143c2565b5b50919050565b6142c282614420565b810181811067ffffffffffffffff821117156142e1576142e06143f1565b5b80604052505050565b60006142f582614211565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561432857614327614364565b5b600182019050919050565b600061433e82614211565b915061434983614211565b92508261435957614358614393565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f636f6e74726163742e6a736f6e00000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6149fa8161419d565b8114614a0557600080fd5b50565b614a11816141af565b8114614a1c57600080fd5b50565b614a28816141bb565b8114614a3357600080fd5b50565b614a3f816141c5565b8114614a4a57600080fd5b50565b614a5681614211565b8114614a6157600080fd5b5056fea26469706673582212200ab1520b8fa65af1ae4818dac1edacf5fa95dd5013cbf5a75ef01eb82a66d85d64736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.