Source Code
Contract Deployer
Overview
ETH Balance
0 ETH
Eth Value
$0.00
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
There are no matching entriesUpdate your filters to view other transactions | |||||||||
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
NFTFactory
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "./BNFT.sol";
contract NFTFactory {
event NFTCreated(address indexed nftAddress, string name, string symbol);
address public immutable admin;
constructor(address admin_) {
admin = admin_;
}
modifier onlyAdmin() {
require(msg.sender == admin, "Restricted to admin.");
_;
}
function createNewNFT(
address admin_,
address owner,
string memory baseURI,
string memory name,
string memory symbol
) external onlyAdmin returns (address) {
BNFT nft = new BNFT(admin_, owner, baseURI, name, symbol);
emit NFTCreated(address(nft), name, symbol);
return address(nft);
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "./BRC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
abstract contract BRC721Enumerable is BRC721, IERC721Enumerable {
// 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(IERC165, BRC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < BRC721.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 < BRC721Enumerable.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 = BRC721.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 = BRC721.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();
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
/**
* @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}.
* add admin user.
* rewrite ownerOf(uint256) token not mint yet will belong to admin user by default.
* rewrite tokenURI(uint256) always return _baseURI() + tokenId; metadata sever will handle no-mint token.
* rewrite balanceOf(address), if is admin, return 999999999.
* rewrite transferFrom&safeTransferFrom, no-mint token will _mint before transfer, only admin user.
*/
contract BRC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
address private immutable _admin;
// Mapping from token ID to owner address
mapping (uint256 => address) private _owners;
// Mapping owner address to token count
mapping (address => uint256) private _balances;
// Mapping from token ID to approved address
mapping (uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping (address => mapping (address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor (address admin_, string memory name_, string memory symbol_) {
_admin = admin_;
_name = name_;
_symbol = symbol_;
}
modifier onlyAdmin() {
require(msg.sender == _admin, "restrict to admin");
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC721).interfaceId
|| interfaceId == type(IERC721Metadata).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
* return magic balance value if is admin user
*/
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}.
* return admin user address is not mint yet.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
if (owner == address(0)) {
return _admin;
}
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()))
: '';
}
/**
* return admin user;
*/
function admin() public view virtual returns (address) {
return _admin;
}
/**
* @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
* in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = BRC721.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}.
* if msg.sender is admin, mint before transfer
*/
function transferFrom(address from, address to, uint256 tokenId) public virtual override {
_mintIfNotExist(tokenId);
//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}.
* if msg.sender is admin, mint before transfer
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
_mintIfNotExist(tokenId);
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 = BRC721.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 {
require(_exists(tokenId), "ERC721: burn nonexistent token");
address owner = BRC721.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(BRC721.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(BRC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
private returns (bool)
{
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
// solhint-disable-next-line no-inline-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/*
* mint if msg.sender is admin && tokenId not mint.
*/
function _mintIfNotExist(uint256 tokenId) private {
if (msg.sender == _admin) {
if (!_exists(tokenId)) {
_mint(_admin, tokenId);
}
}
}
/**
* @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 { }
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "./BRC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BNFT is BRC721Enumerable, Pausable {
using Strings for uint256;
string private baseURI;
address public owner;
constructor(
address admin_,
address owner_,
string memory baseURI_,
string memory name_,
string memory symbol_
) BRC721(admin_, name_, symbol_) {
baseURI = string(abi.encodePacked(baseURI_, symbol_, "/"));
owner = owner_;
}
function _baseURI() internal view override returns (string memory) {
return baseURI;
}
/**
* override tokenURI(uint256), remove restrict for tokenId exist.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
return string(abi.encodePacked(baseURI, tokenId.toString()));
}
function setOwner(address owner_) external onlyAdmin {
owner = owner_;
}
function setPause() external onlyAdmin {
_pause();
}
function unsetPause() external onlyAdmin {
_unpause();
}
function changeBaseURI(string memory newBaseURI) external onlyAdmin {
string memory symbol_ = symbol();
baseURI = string(abi.encodePacked(newBaseURI, symbol_, "/"));
}
/**
* @dev See {ERC721-_beforeTokenTransfer}.
*
* Requirements:
*
* - the contract must not be paused.
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual override {
super._beforeTokenTransfer(from, to, tokenId);
require(!paused(), "BRC721Pausable: token transfer while paused");
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant alphabet = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = alphabet[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor () {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(paused(), "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}{
"remappings": [],
"optimizer": {
"enabled": false,
"runs": 200
},
"evmVersion": "istanbul",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"admin_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nftAddress","type":"address"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"}],"name":"NFTCreated","type":"event"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin_","type":"address"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"name":"createNewNFT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60a060405234801561001057600080fd5b506040516143d23803806143d283398181016040528101906100329190610084565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050506100f6565b60008151905061007e816100df565b92915050565b60006020828403121561009657600080fd5b60006100a48482850161006f565b91505092915050565b60006100b8826100bf565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6100e8816100ad565b81146100f357600080fd5b50565b60805160601c6142b861011a60003960008181609b01526101d001526142b86000f3fe60806040523480156200001157600080fd5b50600436106200003a5760003560e01c8063d614f259146200003f578063f851a4401462000075575b600080fd5b6200005d600480360381019062000057919062000289565b62000097565b6040516200006c9190620003ea565b60405180910390f35b6200007f620001ce565b6040516200008e9190620003ea565b60405180910390f35b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146200012a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200012190620004b4565b60405180910390fd5b600086868686866040516200013f90620001f2565b6200014f95949392919062000407565b604051809103906000f0801580156200016c573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff167f188ae55d7563e3c12c3ad51e7670da2774a6d46a47da74c5cc332c8224bb29fd8585604051620001b992919062000479565b60405180910390a28091505095945050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b613c56806200062d83390190565b60006200021762000211846200050a565b620004d6565b9050828152602081018484840111156200023057600080fd5b6200023d8482856200058d565b509392505050565b600081359050620002568162000612565b92915050565b600082601f8301126200026e57600080fd5b81356200028084826020860162000200565b91505092915050565b600080600080600060a08688031215620002a257600080fd5b6000620002b28882890162000245565b9550506020620002c58882890162000245565b945050604086013567ffffffffffffffff811115620002e357600080fd5b620002f1888289016200025c565b935050606086013567ffffffffffffffff8111156200030f57600080fd5b6200031d888289016200025c565b925050608086013567ffffffffffffffff8111156200033b57600080fd5b62000349888289016200025c565b9150509295509295909350565b620003618162000559565b82525050565b600062000374826200053d565b62000380818562000548565b9350620003928185602086016200059c565b6200039d8162000601565b840191505092915050565b6000620003b760148362000548565b91507f5265737472696374656420746f2061646d696e2e0000000000000000000000006000830152602082019050919050565b600060208201905062000401600083018462000356565b92915050565b600060a0820190506200041e600083018862000356565b6200042d602083018762000356565b818103604083015262000441818662000367565b9050818103606083015262000457818562000367565b905081810360808301526200046d818462000367565b90509695505050505050565b6000604082019050818103600083015262000495818562000367565b90508181036020830152620004ab818462000367565b90509392505050565b60006020820190508181036000830152620004cf81620003a8565b9050919050565b6000604051905081810181811067ffffffffffffffff821117156200050057620004ff620005d2565b5b8060405250919050565b600067ffffffffffffffff821115620005285762000527620005d2565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600062000566826200056d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015620005bc5780820151818401526020810190506200059f565b83811115620005cc576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200061d8162000559565b81146200062957600080fd5b5056fe60a06040523480156200001157600080fd5b5060405162003c5638038062003c56833981810160405281019062000037919062000282565b8482828273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505081600090805190602001906200008992919062000149565b508060019080519060200190620000a292919062000149565b505050506000600a60006101000a81548160ff0219169083151502179055508281604051602001620000d6929190620003c8565b604051602081830303815290604052600b9080519060200190620000fc92919062000149565b5083600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505062000592565b8280546200015790620004e4565b90600052602060002090601f0160209004810192826200017b5760008555620001c7565b82601f106200019657805160ff1916838001178555620001c7565b82800160010185558215620001c7579182015b82811115620001c6578251825591602001919060010190620001a9565b5b509050620001d69190620001da565b5090565b5b80821115620001f5576000816000905550600101620001db565b5090565b6000620002106200020a8462000431565b620003fd565b9050828152602081018484840111156200022957600080fd5b62000236848285620004ae565b509392505050565b6000815190506200024f8162000578565b92915050565b600082601f8301126200026757600080fd5b815162000279848260208601620001f9565b91505092915050565b600080600080600060a086880312156200029b57600080fd5b6000620002ab888289016200023e565b9550506020620002be888289016200023e565b945050604086015167ffffffffffffffff811115620002dc57600080fd5b620002ea8882890162000255565b935050606086015167ffffffffffffffff8111156200030857600080fd5b620003168882890162000255565b925050608086015167ffffffffffffffff8111156200033457600080fd5b620003428882890162000255565b9150509295509295909350565b60006200035c8262000464565b6200036881856200046f565b93506200037a818560208601620004ae565b80840191505092915050565b6000620003956001836200046f565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000620003d682856200034f565b9150620003e482846200034f565b9150620003f18262000386565b91508190509392505050565b6000604051905081810181811067ffffffffffffffff8211171562000427576200042662000549565b5b8060405250919050565b600067ffffffffffffffff8211156200044f576200044e62000549565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081905092915050565b600062000487826200048e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620004ce578082015181840152602081019050620004b1565b83811115620004de576000848401525b50505050565b60006002820490506001821680620004fd57607f821691505b602082108114156200051457620005136200051a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000583816200047a565b81146200058f57600080fd5b50565b60805160601c613674620005e260003960008181610709015281816108f601528181610a8301528181610ba001528181610f6301528181611091015281816112c6015261132a01526136746000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80634f842143116100c3578063a22cb4651161007c578063a22cb4651461039e578063b88d4fde146103ba578063c87b56dd146103d6578063d431b1ac14610406578063e985e9c514610410578063f851a440146104405761014d565b80634f842143146102da5780635c975abb146102e45780636352211e1461030257806370a08231146103325780638da5cb5b1461036257806395d89b41146103805761014d565b806318160ddd1161011557806318160ddd1461020857806323b872dd146102265780632f745c591461024257806339a0c6f91461027257806342842e0e1461028e5780634f6ccce7146102aa5761014d565b806301ffc9a71461015257806306fdde0314610182578063081812fc146101a0578063095ea7b3146101d057806313af4035146101ec575b600080fd5b61016c6004803603810190610167919061262a565b61045e565b6040516101799190612f77565b60405180910390f35b61018a6104d8565b6040516101979190612f92565b60405180910390f35b6101ba60048036038101906101b591906126bd565b61056a565b6040516101c79190612f10565b60405180910390f35b6101ea60048036038101906101e591906125ee565b6105ef565b005b61020660048036038101906102019190612483565b610707565b005b6102106107d9565b60405161021d91906131f4565b60405180910390f35b610240600480360381019061023b91906124e8565b6107e6565b005b61025c600480360381019061025791906125ee565b61084f565b60405161026991906131f4565b60405180910390f35b61028c6004803603810190610287919061267c565b6108f4565b005b6102a860048036038101906102a391906124e8565b6109ca565b005b6102c460048036038101906102bf91906126bd565b6109ea565b6040516102d191906131f4565b60405180910390f35b6102e2610a81565b005b6102ec610b19565b6040516102f99190612f77565b60405180910390f35b61031c600480360381019061031791906126bd565b610b30565b6040516103299190612f10565b60405180910390f35b61034c60048036038101906103479190612483565b610bd1565b60405161035991906131f4565b60405180910390f35b61036a610c89565b6040516103779190612f10565b60405180910390f35b610388610caf565b6040516103959190612f92565b60405180910390f35b6103b860048036038101906103b391906125b2565b610d41565b005b6103d460048036038101906103cf9190612537565b610ec2565b005b6103f060048036038101906103eb91906126bd565b610f2d565b6040516103fd9190612f92565b60405180910390f35b61040e610f61565b005b61042a600480360381019061042591906124ac565b610ff9565b6040516104379190612f77565b60405180910390f35b61044861108d565b6040516104559190612f10565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104d157506104d0826110b5565b5b9050919050565b6060600080546104e790613469565b80601f016020809104026020016040519081016040528092919081815260200182805461051390613469565b80156105605780601f1061053557610100808354040283529160200191610560565b820191906000526020600020905b81548152906001019060200180831161054357829003601f168201915b5050505050905090565b600061057582611197565b6105b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ab90613154565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105fa82610b30565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561066b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066290613194565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661068a611203565b73ffffffffffffffffffffffffffffffffffffffff1614806106b957506106b8816106b3611203565b610ff9565b5b6106f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ef906130f4565b60405180910390fd5b610702838361120b565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c906130d4565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b6107ef816112c4565b6108006107fa611203565b82611354565b61083f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610836906131b4565b60405180910390fd5b61084a838383611432565b505050565b600061085a83610bd1565b821061089b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089290612fd4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610982576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610979906130d4565b60405180910390fd5b600061098c610caf565b905081816040516020016109a1929190612ebd565b604051602081830303815290604052600b90805190602001906109c59291906122a7565b505050565b6109e583838360405180602001604052806000815250610ec2565b505050565b60006109f46107d9565b8210610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c906131d4565b60405180910390fd5b60088281548110610a6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b06906130d4565b60405180910390fd5b610b1761168e565b565b6000600a60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bc7577f0000000000000000000000000000000000000000000000000000000000000000915050610bcc565b809150505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3990613114565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060018054610cbe90613469565b80601f0160208091040260200160405190810160405280929190818152602001828054610cea90613469565b8015610d375780601f10610d0c57610100808354040283529160200191610d37565b820191906000526020600020905b815481529060010190602001808311610d1a57829003601f168201915b5050505050905090565b610d49611203565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae90613074565b60405180910390fd5b8060056000610dc4611203565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610e71611203565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610eb69190612f77565b60405180910390a35050565b610ecb826112c4565b610edc610ed6611203565b83611354565b610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f12906131b4565b60405180910390fd5b610f2784848484611730565b50505050565b6060600b610f3a8361178c565b604051602001610f4b929190612eec565b6040516020818303038152906040529050919050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe6906130d4565b60405180910390fd5b610ff7611939565b565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061118057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611190575061118f826119dc565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661127e83610b30565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156113515761132181611197565b6113505761134f7f000000000000000000000000000000000000000000000000000000000000000082611a46565b5b5b50565b600061135f82611197565b61139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139590613094565b60405180910390fd5b60006113a983610b30565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061141857508373ffffffffffffffffffffffffffffffffffffffff166114008461056a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061142957506114288185610ff9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661145282610b30565b73ffffffffffffffffffffffffffffffffffffffff16146114a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149f90613174565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611518576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150f90613054565b60405180910390fd5b611523838383611c14565b61152e60008261120b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461157e919061337f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115d591906132f8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611696610b19565b6116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc90612fb4565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611719611203565b6040516117269190612f10565b60405180910390a1565b61173b848484611432565b61174784848484611c6c565b611786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177d90612ff4565b60405180910390fd5b50505050565b606060008214156117d4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611934565b600082905060005b600082146118065780806117ef9061349b565b915050600a826117ff919061334e565b91506117dc565b60008167ffffffffffffffff811115611848577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561187a5781602001600182028036833780820191505090505b5090505b6000851461192d57600182611893919061337f565b9150600a856118a291906134e4565b60306118ae91906132f8565b60f81b8183815181106118ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611926919061334e565b945061187e565b8093505050505b919050565b611941610b19565b15611981576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611978906130b4565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119c5611203565b6040516119d29190612f10565b60405180910390a1565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aad90613134565b60405180910390fd5b611abf81611197565b15611aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af690613014565b60405180910390fd5b611b0b60008383611c14565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b5b91906132f8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b611c1f838383611e03565b611c27610b19565b15611c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5e90613034565b60405180910390fd5b505050565b6000611c8d8473ffffffffffffffffffffffffffffffffffffffff16611f17565b15611df6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611cb6611203565b8786866040518563ffffffff1660e01b8152600401611cd89493929190612f2b565b602060405180830381600087803b158015611cf257600080fd5b505af1925050508015611d2357506040513d601f19601f82011682018060405250810190611d209190612653565b60015b611da6573d8060008114611d53576040519150601f19603f3d011682016040523d82523d6000602084013e611d58565b606091505b50600081511415611d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9590612ff4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611dfb565b600190505b949350505050565b611e0e838383611f2a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e5157611e4c81611f2f565b611e90565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611e8f57611e8e8382611f78565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ed357611ece816120e5565b611f12565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611f1157611f108282612228565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001611f8584610bd1565b611f8f919061337f565b9050600060076000848152602001908152602001600020549050818114612074576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506120f9919061337f565b905060006009600084815260200190815260200160002054905060006008838154811061214f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612197577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061220c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061223383610bd1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546122b390613469565b90600052602060002090601f0160209004810192826122d5576000855561231c565b82601f106122ee57805160ff191683800117855561231c565b8280016001018555821561231c579182015b8281111561231b578251825591602001919060010190612300565b5b509050612329919061232d565b5090565b5b8082111561234657600081600090555060010161232e565b5090565b600061235d61235884613240565b61320f565b90508281526020810184848401111561237557600080fd5b612380848285613427565b509392505050565b600061239b61239684613270565b61320f565b9050828152602081018484840111156123b357600080fd5b6123be848285613427565b509392505050565b6000813590506123d5816135e2565b92915050565b6000813590506123ea816135f9565b92915050565b6000813590506123ff81613610565b92915050565b60008151905061241481613610565b92915050565b600082601f83011261242b57600080fd5b813561243b84826020860161234a565b91505092915050565b600082601f83011261245557600080fd5b8135612465848260208601612388565b91505092915050565b60008135905061247d81613627565b92915050565b60006020828403121561249557600080fd5b60006124a3848285016123c6565b91505092915050565b600080604083850312156124bf57600080fd5b60006124cd858286016123c6565b92505060206124de858286016123c6565b9150509250929050565b6000806000606084860312156124fd57600080fd5b600061250b868287016123c6565b935050602061251c868287016123c6565b925050604061252d8682870161246e565b9150509250925092565b6000806000806080858703121561254d57600080fd5b600061255b878288016123c6565b945050602061256c878288016123c6565b935050604061257d8782880161246e565b925050606085013567ffffffffffffffff81111561259a57600080fd5b6125a68782880161241a565b91505092959194509250565b600080604083850312156125c557600080fd5b60006125d3858286016123c6565b92505060206125e4858286016123db565b9150509250929050565b6000806040838503121561260157600080fd5b600061260f858286016123c6565b92505060206126208582860161246e565b9150509250929050565b60006020828403121561263c57600080fd5b600061264a848285016123f0565b91505092915050565b60006020828403121561266557600080fd5b600061267384828501612405565b91505092915050565b60006020828403121561268e57600080fd5b600082013567ffffffffffffffff8111156126a857600080fd5b6126b484828501612444565b91505092915050565b6000602082840312156126cf57600080fd5b60006126dd8482850161246e565b91505092915050565b6126ef816133b3565b82525050565b6126fe816133c5565b82525050565b600061270f826132b5565b61271981856132cb565b9350612729818560208601613436565b612732816135d1565b840191505092915050565b6000612748826132c0565b61275281856132dc565b9350612762818560208601613436565b61276b816135d1565b840191505092915050565b6000612781826132c0565b61278b81856132ed565b935061279b818560208601613436565b80840191505092915050565b600081546127b481613469565b6127be81866132ed565b945060018216600081146127d957600181146127ea5761281d565b60ff1983168652818601935061281d565b6127f3856132a0565b60005b83811015612815578154818901526001820191506020810190506127f6565b838801955050505b50505092915050565b60006128336014836132dc565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000612873602b836132dc565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006128d96032836132dc565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061293f601c836132dc565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061297f602b836132dc565b91507f4252433732315061757361626c653a20746f6b656e207472616e73666572207760008301527f68696c65207061757365640000000000000000000000000000000000000000006020830152604082019050919050565b60006129e56024836132dc565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612a4b6019836132dc565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000612a8b602c836132dc565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612af16010836132dc565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000612b316011836132dc565b91507f726573747269637420746f2061646d696e0000000000000000000000000000006000830152602082019050919050565b6000612b716038836132dc565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000612bd7602a836132dc565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000612c3d6020836132dc565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000612c7d602c836132dc565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612ce36029836132dc565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000612d496021836132dc565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612daf6031836132dc565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000612e15602c836132dc565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000612e7b6001836132ed565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b612eb78161341d565b82525050565b6000612ec98285612776565b9150612ed58284612776565b9150612ee082612e6e565b91508190509392505050565b6000612ef882856127a7565b9150612f048284612776565b91508190509392505050565b6000602082019050612f2560008301846126e6565b92915050565b6000608082019050612f4060008301876126e6565b612f4d60208301866126e6565b612f5a6040830185612eae565b8181036060830152612f6c8184612704565b905095945050505050565b6000602082019050612f8c60008301846126f5565b92915050565b60006020820190508181036000830152612fac818461273d565b905092915050565b60006020820190508181036000830152612fcd81612826565b9050919050565b60006020820190508181036000830152612fed81612866565b9050919050565b6000602082019050818103600083015261300d816128cc565b9050919050565b6000602082019050818103600083015261302d81612932565b9050919050565b6000602082019050818103600083015261304d81612972565b9050919050565b6000602082019050818103600083015261306d816129d8565b9050919050565b6000602082019050818103600083015261308d81612a3e565b9050919050565b600060208201905081810360008301526130ad81612a7e565b9050919050565b600060208201905081810360008301526130cd81612ae4565b9050919050565b600060208201905081810360008301526130ed81612b24565b9050919050565b6000602082019050818103600083015261310d81612b64565b9050919050565b6000602082019050818103600083015261312d81612bca565b9050919050565b6000602082019050818103600083015261314d81612c30565b9050919050565b6000602082019050818103600083015261316d81612c70565b9050919050565b6000602082019050818103600083015261318d81612cd6565b9050919050565b600060208201905081810360008301526131ad81612d3c565b9050919050565b600060208201905081810360008301526131cd81612da2565b9050919050565b600060208201905081810360008301526131ed81612e08565b9050919050565b60006020820190506132096000830184612eae565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613236576132356135a2565b5b8060405250919050565b600067ffffffffffffffff82111561325b5761325a6135a2565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561328b5761328a6135a2565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006133038261341d565b915061330e8361341d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561334357613342613515565b5b828201905092915050565b60006133598261341d565b91506133648361341d565b92508261337457613373613544565b5b828204905092915050565b600061338a8261341d565b91506133958361341d565b9250828210156133a8576133a7613515565b5b828203905092915050565b60006133be826133fd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613454578082015181840152602081019050613439565b83811115613463576000848401525b50505050565b6000600282049050600182168061348157607f821691505b6020821081141561349557613494613573565b5b50919050565b60006134a68261341d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134d9576134d8613515565b5b600182019050919050565b60006134ef8261341d565b91506134fa8361341d565b92508261350a57613509613544565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6135eb816133b3565b81146135f657600080fd5b50565b613602816133c5565b811461360d57600080fd5b50565b613619816133d1565b811461362457600080fd5b50565b6136308161341d565b811461363b57600080fd5b5056fea264697066735822122076126e4b3453f83afe7d0e92ed6a08eac03f6b54cf2977f2925e7598ad37e3f364736f6c63430008000033a26469706673582212201ee1f040ded8ff873b21049f58c17ba1b8ed38a034a6d19d70293c916967c82764736f6c63430008000033000000000000000000000000459c5208b36383172107fe3e4a3b49196b759820
Deployed Bytecode
0x60806040523480156200001157600080fd5b50600436106200003a5760003560e01c8063d614f259146200003f578063f851a4401462000075575b600080fd5b6200005d600480360381019062000057919062000289565b62000097565b6040516200006c9190620003ea565b60405180910390f35b6200007f620001ce565b6040516200008e9190620003ea565b60405180910390f35b60007f000000000000000000000000459c5208b36383172107fe3e4a3b49196b75982073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146200012a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200012190620004b4565b60405180910390fd5b600086868686866040516200013f90620001f2565b6200014f95949392919062000407565b604051809103906000f0801580156200016c573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff167f188ae55d7563e3c12c3ad51e7670da2774a6d46a47da74c5cc332c8224bb29fd8585604051620001b992919062000479565b60405180910390a28091505095945050505050565b7f000000000000000000000000459c5208b36383172107fe3e4a3b49196b75982081565b613c56806200062d83390190565b60006200021762000211846200050a565b620004d6565b9050828152602081018484840111156200023057600080fd5b6200023d8482856200058d565b509392505050565b600081359050620002568162000612565b92915050565b600082601f8301126200026e57600080fd5b81356200028084826020860162000200565b91505092915050565b600080600080600060a08688031215620002a257600080fd5b6000620002b28882890162000245565b9550506020620002c58882890162000245565b945050604086013567ffffffffffffffff811115620002e357600080fd5b620002f1888289016200025c565b935050606086013567ffffffffffffffff8111156200030f57600080fd5b6200031d888289016200025c565b925050608086013567ffffffffffffffff8111156200033b57600080fd5b62000349888289016200025c565b9150509295509295909350565b620003618162000559565b82525050565b600062000374826200053d565b62000380818562000548565b9350620003928185602086016200059c565b6200039d8162000601565b840191505092915050565b6000620003b760148362000548565b91507f5265737472696374656420746f2061646d696e2e0000000000000000000000006000830152602082019050919050565b600060208201905062000401600083018462000356565b92915050565b600060a0820190506200041e600083018862000356565b6200042d602083018762000356565b818103604083015262000441818662000367565b9050818103606083015262000457818562000367565b905081810360808301526200046d818462000367565b90509695505050505050565b6000604082019050818103600083015262000495818562000367565b90508181036020830152620004ab818462000367565b90509392505050565b60006020820190508181036000830152620004cf81620003a8565b9050919050565b6000604051905081810181811067ffffffffffffffff821117156200050057620004ff620005d2565b5b8060405250919050565b600067ffffffffffffffff821115620005285762000527620005d2565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600062000566826200056d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015620005bc5780820151818401526020810190506200059f565b83811115620005cc576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200061d8162000559565b81146200062957600080fd5b5056fe60a06040523480156200001157600080fd5b5060405162003c5638038062003c56833981810160405281019062000037919062000282565b8482828273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505081600090805190602001906200008992919062000149565b508060019080519060200190620000a292919062000149565b505050506000600a60006101000a81548160ff0219169083151502179055508281604051602001620000d6929190620003c8565b604051602081830303815290604052600b9080519060200190620000fc92919062000149565b5083600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505062000592565b8280546200015790620004e4565b90600052602060002090601f0160209004810192826200017b5760008555620001c7565b82601f106200019657805160ff1916838001178555620001c7565b82800160010185558215620001c7579182015b82811115620001c6578251825591602001919060010190620001a9565b5b509050620001d69190620001da565b5090565b5b80821115620001f5576000816000905550600101620001db565b5090565b6000620002106200020a8462000431565b620003fd565b9050828152602081018484840111156200022957600080fd5b62000236848285620004ae565b509392505050565b6000815190506200024f8162000578565b92915050565b600082601f8301126200026757600080fd5b815162000279848260208601620001f9565b91505092915050565b600080600080600060a086880312156200029b57600080fd5b6000620002ab888289016200023e565b9550506020620002be888289016200023e565b945050604086015167ffffffffffffffff811115620002dc57600080fd5b620002ea8882890162000255565b935050606086015167ffffffffffffffff8111156200030857600080fd5b620003168882890162000255565b925050608086015167ffffffffffffffff8111156200033457600080fd5b620003428882890162000255565b9150509295509295909350565b60006200035c8262000464565b6200036881856200046f565b93506200037a818560208601620004ae565b80840191505092915050565b6000620003956001836200046f565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000620003d682856200034f565b9150620003e482846200034f565b9150620003f18262000386565b91508190509392505050565b6000604051905081810181811067ffffffffffffffff8211171562000427576200042662000549565b5b8060405250919050565b600067ffffffffffffffff8211156200044f576200044e62000549565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081905092915050565b600062000487826200048e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620004ce578082015181840152602081019050620004b1565b83811115620004de576000848401525b50505050565b60006002820490506001821680620004fd57607f821691505b602082108114156200051457620005136200051a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000583816200047a565b81146200058f57600080fd5b50565b60805160601c613674620005e260003960008181610709015281816108f601528181610a8301528181610ba001528181610f6301528181611091015281816112c6015261132a01526136746000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80634f842143116100c3578063a22cb4651161007c578063a22cb4651461039e578063b88d4fde146103ba578063c87b56dd146103d6578063d431b1ac14610406578063e985e9c514610410578063f851a440146104405761014d565b80634f842143146102da5780635c975abb146102e45780636352211e1461030257806370a08231146103325780638da5cb5b1461036257806395d89b41146103805761014d565b806318160ddd1161011557806318160ddd1461020857806323b872dd146102265780632f745c591461024257806339a0c6f91461027257806342842e0e1461028e5780634f6ccce7146102aa5761014d565b806301ffc9a71461015257806306fdde0314610182578063081812fc146101a0578063095ea7b3146101d057806313af4035146101ec575b600080fd5b61016c6004803603810190610167919061262a565b61045e565b6040516101799190612f77565b60405180910390f35b61018a6104d8565b6040516101979190612f92565b60405180910390f35b6101ba60048036038101906101b591906126bd565b61056a565b6040516101c79190612f10565b60405180910390f35b6101ea60048036038101906101e591906125ee565b6105ef565b005b61020660048036038101906102019190612483565b610707565b005b6102106107d9565b60405161021d91906131f4565b60405180910390f35b610240600480360381019061023b91906124e8565b6107e6565b005b61025c600480360381019061025791906125ee565b61084f565b60405161026991906131f4565b60405180910390f35b61028c6004803603810190610287919061267c565b6108f4565b005b6102a860048036038101906102a391906124e8565b6109ca565b005b6102c460048036038101906102bf91906126bd565b6109ea565b6040516102d191906131f4565b60405180910390f35b6102e2610a81565b005b6102ec610b19565b6040516102f99190612f77565b60405180910390f35b61031c600480360381019061031791906126bd565b610b30565b6040516103299190612f10565b60405180910390f35b61034c60048036038101906103479190612483565b610bd1565b60405161035991906131f4565b60405180910390f35b61036a610c89565b6040516103779190612f10565b60405180910390f35b610388610caf565b6040516103959190612f92565b60405180910390f35b6103b860048036038101906103b391906125b2565b610d41565b005b6103d460048036038101906103cf9190612537565b610ec2565b005b6103f060048036038101906103eb91906126bd565b610f2d565b6040516103fd9190612f92565b60405180910390f35b61040e610f61565b005b61042a600480360381019061042591906124ac565b610ff9565b6040516104379190612f77565b60405180910390f35b61044861108d565b6040516104559190612f10565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104d157506104d0826110b5565b5b9050919050565b6060600080546104e790613469565b80601f016020809104026020016040519081016040528092919081815260200182805461051390613469565b80156105605780601f1061053557610100808354040283529160200191610560565b820191906000526020600020905b81548152906001019060200180831161054357829003601f168201915b5050505050905090565b600061057582611197565b6105b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ab90613154565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105fa82610b30565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561066b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066290613194565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661068a611203565b73ffffffffffffffffffffffffffffffffffffffff1614806106b957506106b8816106b3611203565b610ff9565b5b6106f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ef906130f4565b60405180910390fd5b610702838361120b565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c906130d4565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b6107ef816112c4565b6108006107fa611203565b82611354565b61083f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610836906131b4565b60405180910390fd5b61084a838383611432565b505050565b600061085a83610bd1565b821061089b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089290612fd4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610982576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610979906130d4565b60405180910390fd5b600061098c610caf565b905081816040516020016109a1929190612ebd565b604051602081830303815290604052600b90805190602001906109c59291906122a7565b505050565b6109e583838360405180602001604052806000815250610ec2565b505050565b60006109f46107d9565b8210610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c906131d4565b60405180910390fd5b60088281548110610a6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b06906130d4565b60405180910390fd5b610b1761168e565b565b6000600a60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bc7577f0000000000000000000000000000000000000000000000000000000000000000915050610bcc565b809150505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3990613114565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060018054610cbe90613469565b80601f0160208091040260200160405190810160405280929190818152602001828054610cea90613469565b8015610d375780601f10610d0c57610100808354040283529160200191610d37565b820191906000526020600020905b815481529060010190602001808311610d1a57829003601f168201915b5050505050905090565b610d49611203565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae90613074565b60405180910390fd5b8060056000610dc4611203565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610e71611203565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610eb69190612f77565b60405180910390a35050565b610ecb826112c4565b610edc610ed6611203565b83611354565b610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f12906131b4565b60405180910390fd5b610f2784848484611730565b50505050565b6060600b610f3a8361178c565b604051602001610f4b929190612eec565b6040516020818303038152906040529050919050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe6906130d4565b60405180910390fd5b610ff7611939565b565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061118057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611190575061118f826119dc565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661127e83610b30565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156113515761132181611197565b6113505761134f7f000000000000000000000000000000000000000000000000000000000000000082611a46565b5b5b50565b600061135f82611197565b61139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139590613094565b60405180910390fd5b60006113a983610b30565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061141857508373ffffffffffffffffffffffffffffffffffffffff166114008461056a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061142957506114288185610ff9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661145282610b30565b73ffffffffffffffffffffffffffffffffffffffff16146114a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149f90613174565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611518576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150f90613054565b60405180910390fd5b611523838383611c14565b61152e60008261120b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461157e919061337f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115d591906132f8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611696610b19565b6116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc90612fb4565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611719611203565b6040516117269190612f10565b60405180910390a1565b61173b848484611432565b61174784848484611c6c565b611786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177d90612ff4565b60405180910390fd5b50505050565b606060008214156117d4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611934565b600082905060005b600082146118065780806117ef9061349b565b915050600a826117ff919061334e565b91506117dc565b60008167ffffffffffffffff811115611848577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561187a5781602001600182028036833780820191505090505b5090505b6000851461192d57600182611893919061337f565b9150600a856118a291906134e4565b60306118ae91906132f8565b60f81b8183815181106118ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611926919061334e565b945061187e565b8093505050505b919050565b611941610b19565b15611981576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611978906130b4565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119c5611203565b6040516119d29190612f10565b60405180910390a1565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aad90613134565b60405180910390fd5b611abf81611197565b15611aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af690613014565b60405180910390fd5b611b0b60008383611c14565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b5b91906132f8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b611c1f838383611e03565b611c27610b19565b15611c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5e90613034565b60405180910390fd5b505050565b6000611c8d8473ffffffffffffffffffffffffffffffffffffffff16611f17565b15611df6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611cb6611203565b8786866040518563ffffffff1660e01b8152600401611cd89493929190612f2b565b602060405180830381600087803b158015611cf257600080fd5b505af1925050508015611d2357506040513d601f19601f82011682018060405250810190611d209190612653565b60015b611da6573d8060008114611d53576040519150601f19603f3d011682016040523d82523d6000602084013e611d58565b606091505b50600081511415611d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9590612ff4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611dfb565b600190505b949350505050565b611e0e838383611f2a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e5157611e4c81611f2f565b611e90565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611e8f57611e8e8382611f78565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ed357611ece816120e5565b611f12565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611f1157611f108282612228565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001611f8584610bd1565b611f8f919061337f565b9050600060076000848152602001908152602001600020549050818114612074576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506120f9919061337f565b905060006009600084815260200190815260200160002054905060006008838154811061214f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612197577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061220c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061223383610bd1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546122b390613469565b90600052602060002090601f0160209004810192826122d5576000855561231c565b82601f106122ee57805160ff191683800117855561231c565b8280016001018555821561231c579182015b8281111561231b578251825591602001919060010190612300565b5b509050612329919061232d565b5090565b5b8082111561234657600081600090555060010161232e565b5090565b600061235d61235884613240565b61320f565b90508281526020810184848401111561237557600080fd5b612380848285613427565b509392505050565b600061239b61239684613270565b61320f565b9050828152602081018484840111156123b357600080fd5b6123be848285613427565b509392505050565b6000813590506123d5816135e2565b92915050565b6000813590506123ea816135f9565b92915050565b6000813590506123ff81613610565b92915050565b60008151905061241481613610565b92915050565b600082601f83011261242b57600080fd5b813561243b84826020860161234a565b91505092915050565b600082601f83011261245557600080fd5b8135612465848260208601612388565b91505092915050565b60008135905061247d81613627565b92915050565b60006020828403121561249557600080fd5b60006124a3848285016123c6565b91505092915050565b600080604083850312156124bf57600080fd5b60006124cd858286016123c6565b92505060206124de858286016123c6565b9150509250929050565b6000806000606084860312156124fd57600080fd5b600061250b868287016123c6565b935050602061251c868287016123c6565b925050604061252d8682870161246e565b9150509250925092565b6000806000806080858703121561254d57600080fd5b600061255b878288016123c6565b945050602061256c878288016123c6565b935050604061257d8782880161246e565b925050606085013567ffffffffffffffff81111561259a57600080fd5b6125a68782880161241a565b91505092959194509250565b600080604083850312156125c557600080fd5b60006125d3858286016123c6565b92505060206125e4858286016123db565b9150509250929050565b6000806040838503121561260157600080fd5b600061260f858286016123c6565b92505060206126208582860161246e565b9150509250929050565b60006020828403121561263c57600080fd5b600061264a848285016123f0565b91505092915050565b60006020828403121561266557600080fd5b600061267384828501612405565b91505092915050565b60006020828403121561268e57600080fd5b600082013567ffffffffffffffff8111156126a857600080fd5b6126b484828501612444565b91505092915050565b6000602082840312156126cf57600080fd5b60006126dd8482850161246e565b91505092915050565b6126ef816133b3565b82525050565b6126fe816133c5565b82525050565b600061270f826132b5565b61271981856132cb565b9350612729818560208601613436565b612732816135d1565b840191505092915050565b6000612748826132c0565b61275281856132dc565b9350612762818560208601613436565b61276b816135d1565b840191505092915050565b6000612781826132c0565b61278b81856132ed565b935061279b818560208601613436565b80840191505092915050565b600081546127b481613469565b6127be81866132ed565b945060018216600081146127d957600181146127ea5761281d565b60ff1983168652818601935061281d565b6127f3856132a0565b60005b83811015612815578154818901526001820191506020810190506127f6565b838801955050505b50505092915050565b60006128336014836132dc565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000612873602b836132dc565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006128d96032836132dc565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061293f601c836132dc565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061297f602b836132dc565b91507f4252433732315061757361626c653a20746f6b656e207472616e73666572207760008301527f68696c65207061757365640000000000000000000000000000000000000000006020830152604082019050919050565b60006129e56024836132dc565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612a4b6019836132dc565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000612a8b602c836132dc565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612af16010836132dc565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000612b316011836132dc565b91507f726573747269637420746f2061646d696e0000000000000000000000000000006000830152602082019050919050565b6000612b716038836132dc565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000612bd7602a836132dc565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000612c3d6020836132dc565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000612c7d602c836132dc565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612ce36029836132dc565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000612d496021836132dc565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612daf6031836132dc565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000612e15602c836132dc565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000612e7b6001836132ed565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b612eb78161341d565b82525050565b6000612ec98285612776565b9150612ed58284612776565b9150612ee082612e6e565b91508190509392505050565b6000612ef882856127a7565b9150612f048284612776565b91508190509392505050565b6000602082019050612f2560008301846126e6565b92915050565b6000608082019050612f4060008301876126e6565b612f4d60208301866126e6565b612f5a6040830185612eae565b8181036060830152612f6c8184612704565b905095945050505050565b6000602082019050612f8c60008301846126f5565b92915050565b60006020820190508181036000830152612fac818461273d565b905092915050565b60006020820190508181036000830152612fcd81612826565b9050919050565b60006020820190508181036000830152612fed81612866565b9050919050565b6000602082019050818103600083015261300d816128cc565b9050919050565b6000602082019050818103600083015261302d81612932565b9050919050565b6000602082019050818103600083015261304d81612972565b9050919050565b6000602082019050818103600083015261306d816129d8565b9050919050565b6000602082019050818103600083015261308d81612a3e565b9050919050565b600060208201905081810360008301526130ad81612a7e565b9050919050565b600060208201905081810360008301526130cd81612ae4565b9050919050565b600060208201905081810360008301526130ed81612b24565b9050919050565b6000602082019050818103600083015261310d81612b64565b9050919050565b6000602082019050818103600083015261312d81612bca565b9050919050565b6000602082019050818103600083015261314d81612c30565b9050919050565b6000602082019050818103600083015261316d81612c70565b9050919050565b6000602082019050818103600083015261318d81612cd6565b9050919050565b600060208201905081810360008301526131ad81612d3c565b9050919050565b600060208201905081810360008301526131cd81612da2565b9050919050565b600060208201905081810360008301526131ed81612e08565b9050919050565b60006020820190506132096000830184612eae565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613236576132356135a2565b5b8060405250919050565b600067ffffffffffffffff82111561325b5761325a6135a2565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561328b5761328a6135a2565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006133038261341d565b915061330e8361341d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561334357613342613515565b5b828201905092915050565b60006133598261341d565b91506133648361341d565b92508261337457613373613544565b5b828204905092915050565b600061338a8261341d565b91506133958361341d565b9250828210156133a8576133a7613515565b5b828203905092915050565b60006133be826133fd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613454578082015181840152602081019050613439565b83811115613463576000848401525b50505050565b6000600282049050600182168061348157607f821691505b6020821081141561349557613494613573565b5b50919050565b60006134a68261341d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134d9576134d8613515565b5b600182019050919050565b60006134ef8261341d565b91506134fa8361341d565b92508261350a57613509613544565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6135eb816133b3565b81146135f657600080fd5b50565b613602816133c5565b811461360d57600080fd5b50565b613619816133d1565b811461362457600080fd5b50565b6136308161341d565b811461363b57600080fd5b5056fea264697066735822122076126e4b3453f83afe7d0e92ed6a08eac03f6b54cf2977f2925e7598ad37e3f364736f6c63430008000033a26469706673582212201ee1f040ded8ff873b21049f58c17ba1b8ed38a034a6d19d70293c916967c82764736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000459c5208b36383172107fe3e4a3b49196b759820
-----Decoded View---------------
Arg [0] : admin_ (address): 0x459C5208B36383172107fe3E4A3B49196B759820
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000459c5208b36383172107fe3e4a3b49196b759820
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.