ERC-721
NFT
Overview
Max Total Supply
0 VOID
Holders
2,641
Transfers
-
1
Market
Volume (24H)
0.011 ETH
Min Price (24H)
$33.89 @ 0.011000 ETH
Max Price (24H)
$33.89 @ 0.011000 ETH
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
ContractNFT
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.4.19 <0.8.5;
import "./Factory.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract ContractNFT is Factory, ERC721 {
using SafeMath for uint256;
event AssetsMinted(address owner);
mapping(uint256 => uint256) private _totalSupply;
constructor() ERC721("Visitors of Imma Degen", "VOID") {
contractOnwers.push(ContractOwners(payable(address(0x23A8b7F4cf5FB0D40Aa7DB57b8cd376d3332130e)), 40));
contractOnwers.push(ContractOwners(payable(address(0x7E145B6B4100188bf8FBC989Afeb17aCe8134446)), 20));
contractOnwers.push(ContractOwners(payable(address(0x46674Cafc304949787c3ae11103CB9B834FaAEF7)), 20));
contractOnwers.push(ContractOwners(payable(address(0xBcdc5969Ec1652Bf80fc15edFE50f9834a55067b)), 20));
}
modifier canBuy(uint _qty){
require(msg.value == (assetPrice * _qty));
_;
}
modifier canCreate() {
require(assets.length < 9999);
_;
}
modifier canWithdraw(){
require(address(this).balance > 0.2 ether);
_;
}
struct ContractOwners {
address payable addr;
uint percent;
}
ContractOwners[] contractOnwers;
uint assetPrice = 0.08 ether;
function withdraw() external payable onlyOwner() canWithdraw() {
uint nbalance = address(this).balance - 0.1 ether;
for(uint i = 0; i < contractOnwers.length; i++){
ContractOwners storage o = contractOnwers[i];
o.addr.transfer((nbalance * o.percent) / 100);
}
}
function balance() external view onlyOwner returns (uint) {
return address(this).balance;
}
function setAssetPrice(uint _fee) external onlyOwner {
assetPrice = _fee;
}
function getAssetPrice() external view returns (uint){
return assetPrice;
}
function getAssetsIdsByOwner(address _owner) external view returns(uint[] memory) {
uint[] memory result = new uint[](ownerAssetCount[_owner]);
uint counter = 0;
for (uint i = 0; i < assets.length; i++) {
if (assetToOwner[i] == _owner) {
result[counter] = i;
counter++;
}
}
return result;
}
function getAssetsCount() external view returns(uint){
return assets.length;
}
function buyAssets(uint _qty) external payable canBuy(_qty) {
require(_qty <= 20, "max 20 visitors at once");
uint i = 0;
while(i < _qty){
mintAsset();
i++;
}
emit AssetsMinted(msg.sender);
}
function setBaseTokenURI(string calldata _uri) external onlyOwner {
baseTokenURI = _uri;
}
function _baseURI() internal override view returns (string memory) {
return baseTokenURI;
}
function _beforeTokenTransfer(address _from, address _to, uint256 _tokenId) internal override {
if(address(0) != _from){
ownerAssetCount[_to] = ownerAssetCount[_to].add(1);
}
if(_to != assetToOwner[_tokenId]){
ownerAssetCount[_from] = ownerAssetCount[_from].sub(1);
assetToOwner[_tokenId] = _to;
}
}
function mintAsset() internal canCreate() {
Asset memory asset = Asset(assets.length + 1);
assets.push(asset);
uint id = assets.length;
assetToOwner[id] = msg.sender;
ownerAssetCount[msg.sender] = ownerAssetCount[msg.sender].add(1);
_mint(msg.sender, id);
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.4.21 <0.8.5;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
contract Factory is Ownable {
using SafeMath for uint256;
struct Asset {
uint256 assetId;
}
Asset[] public assets;
string internal baseTokenURI = 'https://immadegenbackend.herokuapp.com/';
mapping (uint256 => address) public assetToOwner;
mapping (address => uint256) ownerAssetCount;
modifier onlyOwnerOf(uint _assetId) {
require(msg.sender == assetToOwner[_assetId]);
_;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping (uint256 => address) private _owners;
// Mapping owner address to token count
mapping (address => uint256) private _balances;
// Mapping from token ID to approved address
mapping (uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping (address => mapping (address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor (string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC721).interfaceId
|| interfaceId == type(IERC721Metadata).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0
? string(abi.encodePacked(baseURI, tokenId.toString()))
: '';
}
/**
* @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
* in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(address from, address to, uint256 tokenId) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
_mint(to, tokenId);
require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(address from, address to, uint256 tokenId) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
private returns (bool)
{
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
// solhint-disable-next-line no-inline-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/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;
/**
* @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 "../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;
/**
* @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;
/*
* @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 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;
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 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;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}{
"remappings": [],
"optimizer": {
"enabled": false,
"runs": 200
},
"evmVersion": "istanbul",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"AssetsMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"assetToOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"assets","outputs":[{"internalType":"uint256","name":"assetId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","type":"uint256"}],"name":"buyAssets","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAssetPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAssetsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getAssetsIdsByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setAssetPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
608060405260405180606001604052806027815260200162003fb8602791396002908051906020019062000035929190620004a6565b5067011c37937e080000600d553480156200004f57600080fd5b506040518060400160405280601681526020017f56697369746f7273206f6620496d6d6120446567656e000000000000000000008152506040518060400160405280600481526020017f564f4944000000000000000000000000000000000000000000000000000000008152506000620000ce6200049e60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350816005908051906020019062000184929190620004a6565b5080600690805190602001906200019d929190620004a6565b505050600c60405180604001604052807323a8b7f4cf5fb0d40aa7db57b8cd376d3332130e73ffffffffffffffffffffffffffffffffffffffff1681526020016028815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050600c6040518060400160405280737e145b6b4100188bf8fbc989afeb17ace813444673ffffffffffffffffffffffffffffffffffffffff1681526020016014815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050600c60405180604001604052807346674cafc304949787c3ae11103cb9b834faaef773ffffffffffffffffffffffffffffffffffffffff1681526020016014815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050600c604051806040016040528073bcdc5969ec1652bf80fc15edfe50f9834a55067b73ffffffffffffffffffffffffffffffffffffffff1681526020016014815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050620005bb565b600033905090565b828054620004b49062000556565b90600052602060002090601f016020900481019282620004d8576000855562000524565b82601f10620004f357805160ff191683800117855562000524565b8280016001018555821562000524579182015b828111156200052357825182559160200191906001019062000506565b5b50905062000533919062000537565b5090565b5b808211156200055257600081600090555060010162000538565b5090565b600060028204905060018216806200056f57607f821691505b602082108114156200058657620005856200058c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6139ed80620005cb6000396000f3fe6080604052600436106101815760003560e01c806385fd678c116100d1578063b9b93e3b1161008a578063cf35bdd011610064578063cf35bdd014610564578063e54f0880146105a1578063e985e9c5146105cc578063f2fde38b1461060957610181565b8063b9b93e3b146104ce578063c5e7f8d91461050b578063c87b56dd1461052757610181565b806385fd678c146103be5780638da5cb5b146103fb57806395d89b4114610426578063a22cb46514610451578063b69ef8a81461047a578063b88d4fde146104a557610181565b80632eed8b951161013e57806342842e0e1161011857806342842e0e146103045780636352211e1461032d57806370a082311461036a578063715018a6146103a757610181565b80632eed8b95146102a857806330176e13146102d15780633ccfd60b146102fa57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b5780630aac5dfd1461025457806323b872dd1461027f575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a891906129f8565b610632565b6040516101ba91906132c2565b60405180910390f35b3480156101cf57600080fd5b506101d8610714565b6040516101e591906132dd565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190612a8f565b6107a6565b6040516102229190613239565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d91906129bc565b61082b565b005b34801561026057600080fd5b50610269610943565b604051610276919061351f565b60405180910390f35b34801561028b57600080fd5b506102a660048036038101906102a191906128b6565b610950565b005b3480156102b457600080fd5b506102cf60048036038101906102ca9190612a8f565b6109b0565b005b3480156102dd57600080fd5b506102f860048036038101906102f39190612a4a565b610a36565b005b610302610ac8565b005b34801561031057600080fd5b5061032b600480360381019061032691906128b6565b610c6a565b005b34801561033957600080fd5b50610354600480360381019061034f9190612a8f565b610c8a565b6040516103619190613239565b60405180910390f35b34801561037657600080fd5b50610391600480360381019061038c9190612851565b610d3c565b60405161039e919061351f565b60405180910390f35b3480156103b357600080fd5b506103bc610df4565b005b3480156103ca57600080fd5b506103e560048036038101906103e09190612a8f565b610f2e565b6040516103f29190613239565b60405180910390f35b34801561040757600080fd5b50610410610f61565b60405161041d9190613239565b60405180910390f35b34801561043257600080fd5b5061043b610f8a565b60405161044891906132dd565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190612980565b61101c565b005b34801561048657600080fd5b5061048f61119d565b60405161049c919061351f565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c79190612905565b611221565b005b3480156104da57600080fd5b506104f560048036038101906104f09190612851565b611283565b60405161050291906132a0565b60405180910390f35b61052560048036038101906105209190612a8f565b611422565b005b34801561053357600080fd5b5061054e60048036038101906105499190612a8f565b6114e2565b60405161055b91906132dd565b60405180910390f35b34801561057057600080fd5b5061058b60048036038101906105869190612a8f565b611589565b604051610598919061351f565b60405180910390f35b3480156105ad57600080fd5b506105b66115b3565b6040516105c3919061351f565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee919061287a565b6115bd565b60405161060091906132c2565b60405180910390f35b34801561061557600080fd5b50610630600480360381019061062b9190612851565b611651565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106fd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061070d575061070c826117fa565b5b9050919050565b606060058054610723906137e2565b80601f016020809104026020016040519081016040528092919081815260200182805461074f906137e2565b801561079c5780601f106107715761010080835404028352916020019161079c565b820191906000526020600020905b81548152906001019060200180831161077f57829003601f168201915b5050505050905090565b60006107b182611864565b6107f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e79061345f565b60405180910390fd5b6009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061083682610c8a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089e906134df565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108c66118d0565b73ffffffffffffffffffffffffffffffffffffffff1614806108f557506108f4816108ef6118d0565b6115bd565b5b610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b906133df565b60405180910390fd5b61093e83836118d8565b505050565b6000600180549050905090565b61096161095b6118d0565b82611991565b6109a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610997906134ff565b60405180910390fd5b6109ab838383611a6f565b505050565b6109b86118d0565b73ffffffffffffffffffffffffffffffffffffffff166109d6610f61565b73ffffffffffffffffffffffffffffffffffffffff1614610a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a239061347f565b60405180910390fd5b80600d8190555050565b610a3e6118d0565b73ffffffffffffffffffffffffffffffffffffffff16610a5c610f61565b73ffffffffffffffffffffffffffffffffffffffff1614610ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa99061347f565b60405180910390fd5b818160029190610ac3929190612693565b505050565b610ad06118d0565b73ffffffffffffffffffffffffffffffffffffffff16610aee610f61565b73ffffffffffffffffffffffffffffffffffffffff1614610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b9061347f565b60405180910390fd5b6702c68af0bb1400004711610b5857600080fd5b600067016345785d8a000047610b6e91906136f8565b905060005b600c80549050811015610c66576000600c8281548110610bbc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020190508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6064836001015486610c1c919061369e565b610c26919061366d565b9081150290604051600060405180830381858888f19350505050158015610c51573d6000803e3d6000fd5b50508080610c5e90613814565b915050610b73565b5050565b610c8583838360405180602001604052806000815250611221565b505050565b6000806007600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a9061341f565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da4906133ff565b60405180910390fd5b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610dfc6118d0565b73ffffffffffffffffffffffffffffffffffffffff16610e1a610f61565b73ffffffffffffffffffffffffffffffffffffffff1614610e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e679061347f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060068054610f99906137e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610fc5906137e2565b80156110125780601f10610fe757610100808354040283529160200191611012565b820191906000526020600020905b815481529060010190602001808311610ff557829003601f168201915b5050505050905090565b6110246118d0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611092576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110899061337f565b60405180910390fd5b80600a600061109f6118d0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661114c6118d0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161119191906132c2565b60405180910390a35050565b60006111a76118d0565b73ffffffffffffffffffffffffffffffffffffffff166111c5610f61565b73ffffffffffffffffffffffffffffffffffffffff161461121b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112129061347f565b60405180910390fd5b47905090565b61123261122c6118d0565b83611991565b611271576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611268906134ff565b60405180910390fd5b61127d84848484611ccb565b50505050565b60606000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205467ffffffffffffffff811115611306577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156113345781602001602082028036833780820191505090505b5090506000805b600180549050811015611417578473ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561140457808383815181106113e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050818061140090613814565b9250505b808061140f90613814565b91505061133b565b508192505050919050565b8080600d54611431919061369e565b341461143c57600080fd5b6014821115611480576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611477906133bf565b60405180910390fd5b60005b828110156114a657611493611d27565b808061149e90613814565b915050611483565b7f901cb6410852b2d4b4483240be5f997451a58782091a9d04dd5cf450f4211c3e336040516114d59190613239565b60405180910390a1505050565b60606114ed82611864565b61152c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611523906134bf565b60405180910390fd5b6000611536611e91565b905060008151116115565760405180602001604052806000815250611581565b8061156084611f23565b604051602001611571929190613215565b6040516020818303038152906040525b915050919050565b6001818154811061159957600080fd5b906000526020600020016000915090508060000154905081565b6000600d54905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116596118d0565b73ffffffffffffffffffffffffffffffffffffffff16611677610f61565b73ffffffffffffffffffffffffffffffffffffffff16146116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c49061347f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561173d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117349061331f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166007600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661194b83610c8a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061199c82611864565b6119db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d29061339f565b60405180910390fd5b60006119e683610c8a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a5557508373ffffffffffffffffffffffffffffffffffffffff16611a3d846107a6565b73ffffffffffffffffffffffffffffffffffffffff16145b80611a665750611a6581856115bd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611a8f82610c8a565b73ffffffffffffffffffffffffffffffffffffffff1614611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc9061349f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c9061335f565b60405180910390fd5b611b608383836120d0565b611b6b6000826118d8565b6001600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bbb91906136f8565b925050819055506001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c129190613617565b92505081905550816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611cd6848484611a6f565b611ce2848484846122ef565b611d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d18906132ff565b60405180910390fd5b50505050565b61270f60018054905010611d3a57600080fd5b6000604051806020016040528060018080549050611d589190613617565b81525090506001819080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000155505060006001805490509050336003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611e406001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461248690919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e8d338261249c565b5050565b606060028054611ea0906137e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611ecc906137e2565b8015611f195780601f10611eee57610100808354040283529160200191611f19565b820191906000526020600020905b815481529060010190602001808311611efc57829003601f168201915b5050505050905090565b60606000821415611f6b576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120cb565b600082905060005b60008214611f9d578080611f8690613814565b915050600a82611f96919061366d565b9150611f73565b60008167ffffffffffffffff811115611fdf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120115781602001600182028036833780820191505090505b5090505b600085146120c45760018261202a91906136f8565b9150600a85612039919061385d565b60306120459190613617565b60f81b818381518110612081577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120bd919061366d565b9450612015565b8093505050505b919050565b8273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff161461219b576121576001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461248690919063ffffffff16565b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146122ea576122546001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461266a90919063ffffffff16565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050565b60006123108473ffffffffffffffffffffffffffffffffffffffff16612680565b15612479578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123396118d0565b8786866040518563ffffffff1660e01b815260040161235b9493929190613254565b602060405180830381600087803b15801561237557600080fd5b505af19250505080156123a657506040513d601f19601f820116820180604052508101906123a39190612a21565b60015b612429573d80600081146123d6576040519150601f19603f3d011682016040523d82523d6000602084013e6123db565b606091505b50600081511415612421576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612418906132ff565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061247e565b600190505b949350505050565b600081836124949190613617565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561250c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125039061343f565b60405180910390fd5b61251581611864565b15612555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254c9061333f565b60405180910390fd5b612561600083836120d0565b6001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125b19190613617565b92505081905550816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000818361267891906136f8565b905092915050565b600080823b905060008111915050919050565b82805461269f906137e2565b90600052602060002090601f0160209004810192826126c15760008555612708565b82601f106126da57803560ff1916838001178555612708565b82800160010185558215612708579182015b828111156127075782358255916020019190600101906126ec565b5b5090506127159190612719565b5090565b5b8082111561273257600081600090555060010161271a565b5090565b60006127496127448461356b565b61353a565b90508281526020810184848401111561276157600080fd5b61276c8482856137a0565b509392505050565b6000813590506127838161395b565b92915050565b60008135905061279881613972565b92915050565b6000813590506127ad81613989565b92915050565b6000815190506127c281613989565b92915050565b600082601f8301126127d957600080fd5b81356127e9848260208601612736565b91505092915050565b60008083601f84011261280457600080fd5b8235905067ffffffffffffffff81111561281d57600080fd5b60208301915083600182028301111561283557600080fd5b9250929050565b60008135905061284b816139a0565b92915050565b60006020828403121561286357600080fd5b600061287184828501612774565b91505092915050565b6000806040838503121561288d57600080fd5b600061289b85828601612774565b92505060206128ac85828601612774565b9150509250929050565b6000806000606084860312156128cb57600080fd5b60006128d986828701612774565b93505060206128ea86828701612774565b92505060406128fb8682870161283c565b9150509250925092565b6000806000806080858703121561291b57600080fd5b600061292987828801612774565b945050602061293a87828801612774565b935050604061294b8782880161283c565b925050606085013567ffffffffffffffff81111561296857600080fd5b612974878288016127c8565b91505092959194509250565b6000806040838503121561299357600080fd5b60006129a185828601612774565b92505060206129b285828601612789565b9150509250929050565b600080604083850312156129cf57600080fd5b60006129dd85828601612774565b92505060206129ee8582860161283c565b9150509250929050565b600060208284031215612a0a57600080fd5b6000612a188482850161279e565b91505092915050565b600060208284031215612a3357600080fd5b6000612a41848285016127b3565b91505092915050565b60008060208385031215612a5d57600080fd5b600083013567ffffffffffffffff811115612a7757600080fd5b612a83858286016127f2565b92509250509250929050565b600060208284031215612aa157600080fd5b6000612aaf8482850161283c565b91505092915050565b6000612ac483836131f7565b60208301905092915050565b612ad98161372c565b82525050565b6000612aea826135ab565b612af481856135d9565b9350612aff8361359b565b8060005b83811015612b30578151612b178882612ab8565b9750612b22836135cc565b925050600181019050612b03565b5085935050505092915050565b612b468161373e565b82525050565b6000612b57826135b6565b612b6181856135ea565b9350612b718185602086016137af565b612b7a8161394a565b840191505092915050565b6000612b90826135c1565b612b9a81856135fb565b9350612baa8185602086016137af565b612bb38161394a565b840191505092915050565b6000612bc9826135c1565b612bd3818561360c565b9350612be38185602086016137af565b80840191505092915050565b6000612bfc6032836135fb565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000612c626026836135fb565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612cc8601c836135fb565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000612d086024836135fb565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612d6e6019836135fb565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000612dae602c836135fb565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612e146017836135fb565b91507f6d61782032302076697369746f7273206174206f6e63650000000000000000006000830152602082019050919050565b6000612e546038836135fb565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000612eba602a836135fb565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000612f206029836135fb565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000612f866020836135fb565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000612fc6602c836135fb565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061302c6020836135fb565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061306c6029836135fb565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006130d2602f836135fb565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006131386021836135fb565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061319e6031836135fb565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b61320081613796565b82525050565b61320f81613796565b82525050565b60006132218285612bbe565b915061322d8284612bbe565b91508190509392505050565b600060208201905061324e6000830184612ad0565b92915050565b60006080820190506132696000830187612ad0565b6132766020830186612ad0565b6132836040830185613206565b81810360608301526132958184612b4c565b905095945050505050565b600060208201905081810360008301526132ba8184612adf565b905092915050565b60006020820190506132d76000830184612b3d565b92915050565b600060208201905081810360008301526132f78184612b85565b905092915050565b6000602082019050818103600083015261331881612bef565b9050919050565b6000602082019050818103600083015261333881612c55565b9050919050565b6000602082019050818103600083015261335881612cbb565b9050919050565b6000602082019050818103600083015261337881612cfb565b9050919050565b6000602082019050818103600083015261339881612d61565b9050919050565b600060208201905081810360008301526133b881612da1565b9050919050565b600060208201905081810360008301526133d881612e07565b9050919050565b600060208201905081810360008301526133f881612e47565b9050919050565b6000602082019050818103600083015261341881612ead565b9050919050565b6000602082019050818103600083015261343881612f13565b9050919050565b6000602082019050818103600083015261345881612f79565b9050919050565b6000602082019050818103600083015261347881612fb9565b9050919050565b600060208201905081810360008301526134988161301f565b9050919050565b600060208201905081810360008301526134b88161305f565b9050919050565b600060208201905081810360008301526134d8816130c5565b9050919050565b600060208201905081810360008301526134f88161312b565b9050919050565b6000602082019050818103600083015261351881613191565b9050919050565b60006020820190506135346000830184613206565b92915050565b6000604051905081810181811067ffffffffffffffff821117156135615761356061391b565b5b8060405250919050565b600067ffffffffffffffff8211156135865761358561391b565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061362282613796565b915061362d83613796565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136625761366161388e565b5b828201905092915050565b600061367882613796565b915061368383613796565b925082613693576136926138bd565b5b828204905092915050565b60006136a982613796565b91506136b483613796565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136ed576136ec61388e565b5b828202905092915050565b600061370382613796565b915061370e83613796565b9250828210156137215761372061388e565b5b828203905092915050565b600061373782613776565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156137cd5780820151818401526020810190506137b2565b838111156137dc576000848401525b50505050565b600060028204905060018216806137fa57607f821691505b6020821081141561380e5761380d6138ec565b5b50919050565b600061381f82613796565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138525761385161388e565b5b600182019050919050565b600061386882613796565b915061387383613796565b925082613883576138826138bd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6139648161372c565b811461396f57600080fd5b50565b61397b8161373e565b811461398657600080fd5b50565b6139928161374a565b811461399d57600080fd5b50565b6139a981613796565b81146139b457600080fd5b5056fea264697066735822122069d6eedf13ba77eb22690088c7fd636a65c274d41357148afb6a92bee5aaa1f664736f6c6343000800003368747470733a2f2f696d6d61646567656e6261636b656e642e6865726f6b756170702e636f6d2f
Deployed Bytecode
0x6080604052600436106101815760003560e01c806385fd678c116100d1578063b9b93e3b1161008a578063cf35bdd011610064578063cf35bdd014610564578063e54f0880146105a1578063e985e9c5146105cc578063f2fde38b1461060957610181565b8063b9b93e3b146104ce578063c5e7f8d91461050b578063c87b56dd1461052757610181565b806385fd678c146103be5780638da5cb5b146103fb57806395d89b4114610426578063a22cb46514610451578063b69ef8a81461047a578063b88d4fde146104a557610181565b80632eed8b951161013e57806342842e0e1161011857806342842e0e146103045780636352211e1461032d57806370a082311461036a578063715018a6146103a757610181565b80632eed8b95146102a857806330176e13146102d15780633ccfd60b146102fa57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b5780630aac5dfd1461025457806323b872dd1461027f575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a891906129f8565b610632565b6040516101ba91906132c2565b60405180910390f35b3480156101cf57600080fd5b506101d8610714565b6040516101e591906132dd565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190612a8f565b6107a6565b6040516102229190613239565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d91906129bc565b61082b565b005b34801561026057600080fd5b50610269610943565b604051610276919061351f565b60405180910390f35b34801561028b57600080fd5b506102a660048036038101906102a191906128b6565b610950565b005b3480156102b457600080fd5b506102cf60048036038101906102ca9190612a8f565b6109b0565b005b3480156102dd57600080fd5b506102f860048036038101906102f39190612a4a565b610a36565b005b610302610ac8565b005b34801561031057600080fd5b5061032b600480360381019061032691906128b6565b610c6a565b005b34801561033957600080fd5b50610354600480360381019061034f9190612a8f565b610c8a565b6040516103619190613239565b60405180910390f35b34801561037657600080fd5b50610391600480360381019061038c9190612851565b610d3c565b60405161039e919061351f565b60405180910390f35b3480156103b357600080fd5b506103bc610df4565b005b3480156103ca57600080fd5b506103e560048036038101906103e09190612a8f565b610f2e565b6040516103f29190613239565b60405180910390f35b34801561040757600080fd5b50610410610f61565b60405161041d9190613239565b60405180910390f35b34801561043257600080fd5b5061043b610f8a565b60405161044891906132dd565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190612980565b61101c565b005b34801561048657600080fd5b5061048f61119d565b60405161049c919061351f565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c79190612905565b611221565b005b3480156104da57600080fd5b506104f560048036038101906104f09190612851565b611283565b60405161050291906132a0565b60405180910390f35b61052560048036038101906105209190612a8f565b611422565b005b34801561053357600080fd5b5061054e60048036038101906105499190612a8f565b6114e2565b60405161055b91906132dd565b60405180910390f35b34801561057057600080fd5b5061058b60048036038101906105869190612a8f565b611589565b604051610598919061351f565b60405180910390f35b3480156105ad57600080fd5b506105b66115b3565b6040516105c3919061351f565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee919061287a565b6115bd565b60405161060091906132c2565b60405180910390f35b34801561061557600080fd5b50610630600480360381019061062b9190612851565b611651565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106fd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061070d575061070c826117fa565b5b9050919050565b606060058054610723906137e2565b80601f016020809104026020016040519081016040528092919081815260200182805461074f906137e2565b801561079c5780601f106107715761010080835404028352916020019161079c565b820191906000526020600020905b81548152906001019060200180831161077f57829003601f168201915b5050505050905090565b60006107b182611864565b6107f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e79061345f565b60405180910390fd5b6009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061083682610c8a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089e906134df565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108c66118d0565b73ffffffffffffffffffffffffffffffffffffffff1614806108f557506108f4816108ef6118d0565b6115bd565b5b610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b906133df565b60405180910390fd5b61093e83836118d8565b505050565b6000600180549050905090565b61096161095b6118d0565b82611991565b6109a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610997906134ff565b60405180910390fd5b6109ab838383611a6f565b505050565b6109b86118d0565b73ffffffffffffffffffffffffffffffffffffffff166109d6610f61565b73ffffffffffffffffffffffffffffffffffffffff1614610a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a239061347f565b60405180910390fd5b80600d8190555050565b610a3e6118d0565b73ffffffffffffffffffffffffffffffffffffffff16610a5c610f61565b73ffffffffffffffffffffffffffffffffffffffff1614610ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa99061347f565b60405180910390fd5b818160029190610ac3929190612693565b505050565b610ad06118d0565b73ffffffffffffffffffffffffffffffffffffffff16610aee610f61565b73ffffffffffffffffffffffffffffffffffffffff1614610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b9061347f565b60405180910390fd5b6702c68af0bb1400004711610b5857600080fd5b600067016345785d8a000047610b6e91906136f8565b905060005b600c80549050811015610c66576000600c8281548110610bbc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020190508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6064836001015486610c1c919061369e565b610c26919061366d565b9081150290604051600060405180830381858888f19350505050158015610c51573d6000803e3d6000fd5b50508080610c5e90613814565b915050610b73565b5050565b610c8583838360405180602001604052806000815250611221565b505050565b6000806007600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a9061341f565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da4906133ff565b60405180910390fd5b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610dfc6118d0565b73ffffffffffffffffffffffffffffffffffffffff16610e1a610f61565b73ffffffffffffffffffffffffffffffffffffffff1614610e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e679061347f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060068054610f99906137e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610fc5906137e2565b80156110125780601f10610fe757610100808354040283529160200191611012565b820191906000526020600020905b815481529060010190602001808311610ff557829003601f168201915b5050505050905090565b6110246118d0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611092576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110899061337f565b60405180910390fd5b80600a600061109f6118d0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661114c6118d0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161119191906132c2565b60405180910390a35050565b60006111a76118d0565b73ffffffffffffffffffffffffffffffffffffffff166111c5610f61565b73ffffffffffffffffffffffffffffffffffffffff161461121b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112129061347f565b60405180910390fd5b47905090565b61123261122c6118d0565b83611991565b611271576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611268906134ff565b60405180910390fd5b61127d84848484611ccb565b50505050565b60606000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205467ffffffffffffffff811115611306577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156113345781602001602082028036833780820191505090505b5090506000805b600180549050811015611417578473ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561140457808383815181106113e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050818061140090613814565b9250505b808061140f90613814565b91505061133b565b508192505050919050565b8080600d54611431919061369e565b341461143c57600080fd5b6014821115611480576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611477906133bf565b60405180910390fd5b60005b828110156114a657611493611d27565b808061149e90613814565b915050611483565b7f901cb6410852b2d4b4483240be5f997451a58782091a9d04dd5cf450f4211c3e336040516114d59190613239565b60405180910390a1505050565b60606114ed82611864565b61152c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611523906134bf565b60405180910390fd5b6000611536611e91565b905060008151116115565760405180602001604052806000815250611581565b8061156084611f23565b604051602001611571929190613215565b6040516020818303038152906040525b915050919050565b6001818154811061159957600080fd5b906000526020600020016000915090508060000154905081565b6000600d54905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116596118d0565b73ffffffffffffffffffffffffffffffffffffffff16611677610f61565b73ffffffffffffffffffffffffffffffffffffffff16146116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c49061347f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561173d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117349061331f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166007600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661194b83610c8a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061199c82611864565b6119db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d29061339f565b60405180910390fd5b60006119e683610c8a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a5557508373ffffffffffffffffffffffffffffffffffffffff16611a3d846107a6565b73ffffffffffffffffffffffffffffffffffffffff16145b80611a665750611a6581856115bd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611a8f82610c8a565b73ffffffffffffffffffffffffffffffffffffffff1614611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc9061349f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c9061335f565b60405180910390fd5b611b608383836120d0565b611b6b6000826118d8565b6001600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bbb91906136f8565b925050819055506001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c129190613617565b92505081905550816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611cd6848484611a6f565b611ce2848484846122ef565b611d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d18906132ff565b60405180910390fd5b50505050565b61270f60018054905010611d3a57600080fd5b6000604051806020016040528060018080549050611d589190613617565b81525090506001819080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000155505060006001805490509050336003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611e406001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461248690919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e8d338261249c565b5050565b606060028054611ea0906137e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611ecc906137e2565b8015611f195780601f10611eee57610100808354040283529160200191611f19565b820191906000526020600020905b815481529060010190602001808311611efc57829003601f168201915b5050505050905090565b60606000821415611f6b576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120cb565b600082905060005b60008214611f9d578080611f8690613814565b915050600a82611f96919061366d565b9150611f73565b60008167ffffffffffffffff811115611fdf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120115781602001600182028036833780820191505090505b5090505b600085146120c45760018261202a91906136f8565b9150600a85612039919061385d565b60306120459190613617565b60f81b818381518110612081577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120bd919061366d565b9450612015565b8093505050505b919050565b8273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff161461219b576121576001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461248690919063ffffffff16565b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146122ea576122546001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461266a90919063ffffffff16565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050565b60006123108473ffffffffffffffffffffffffffffffffffffffff16612680565b15612479578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123396118d0565b8786866040518563ffffffff1660e01b815260040161235b9493929190613254565b602060405180830381600087803b15801561237557600080fd5b505af19250505080156123a657506040513d601f19601f820116820180604052508101906123a39190612a21565b60015b612429573d80600081146123d6576040519150601f19603f3d011682016040523d82523d6000602084013e6123db565b606091505b50600081511415612421576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612418906132ff565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061247e565b600190505b949350505050565b600081836124949190613617565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561250c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125039061343f565b60405180910390fd5b61251581611864565b15612555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254c9061333f565b60405180910390fd5b612561600083836120d0565b6001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125b19190613617565b92505081905550816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000818361267891906136f8565b905092915050565b600080823b905060008111915050919050565b82805461269f906137e2565b90600052602060002090601f0160209004810192826126c15760008555612708565b82601f106126da57803560ff1916838001178555612708565b82800160010185558215612708579182015b828111156127075782358255916020019190600101906126ec565b5b5090506127159190612719565b5090565b5b8082111561273257600081600090555060010161271a565b5090565b60006127496127448461356b565b61353a565b90508281526020810184848401111561276157600080fd5b61276c8482856137a0565b509392505050565b6000813590506127838161395b565b92915050565b60008135905061279881613972565b92915050565b6000813590506127ad81613989565b92915050565b6000815190506127c281613989565b92915050565b600082601f8301126127d957600080fd5b81356127e9848260208601612736565b91505092915050565b60008083601f84011261280457600080fd5b8235905067ffffffffffffffff81111561281d57600080fd5b60208301915083600182028301111561283557600080fd5b9250929050565b60008135905061284b816139a0565b92915050565b60006020828403121561286357600080fd5b600061287184828501612774565b91505092915050565b6000806040838503121561288d57600080fd5b600061289b85828601612774565b92505060206128ac85828601612774565b9150509250929050565b6000806000606084860312156128cb57600080fd5b60006128d986828701612774565b93505060206128ea86828701612774565b92505060406128fb8682870161283c565b9150509250925092565b6000806000806080858703121561291b57600080fd5b600061292987828801612774565b945050602061293a87828801612774565b935050604061294b8782880161283c565b925050606085013567ffffffffffffffff81111561296857600080fd5b612974878288016127c8565b91505092959194509250565b6000806040838503121561299357600080fd5b60006129a185828601612774565b92505060206129b285828601612789565b9150509250929050565b600080604083850312156129cf57600080fd5b60006129dd85828601612774565b92505060206129ee8582860161283c565b9150509250929050565b600060208284031215612a0a57600080fd5b6000612a188482850161279e565b91505092915050565b600060208284031215612a3357600080fd5b6000612a41848285016127b3565b91505092915050565b60008060208385031215612a5d57600080fd5b600083013567ffffffffffffffff811115612a7757600080fd5b612a83858286016127f2565b92509250509250929050565b600060208284031215612aa157600080fd5b6000612aaf8482850161283c565b91505092915050565b6000612ac483836131f7565b60208301905092915050565b612ad98161372c565b82525050565b6000612aea826135ab565b612af481856135d9565b9350612aff8361359b565b8060005b83811015612b30578151612b178882612ab8565b9750612b22836135cc565b925050600181019050612b03565b5085935050505092915050565b612b468161373e565b82525050565b6000612b57826135b6565b612b6181856135ea565b9350612b718185602086016137af565b612b7a8161394a565b840191505092915050565b6000612b90826135c1565b612b9a81856135fb565b9350612baa8185602086016137af565b612bb38161394a565b840191505092915050565b6000612bc9826135c1565b612bd3818561360c565b9350612be38185602086016137af565b80840191505092915050565b6000612bfc6032836135fb565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000612c626026836135fb565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612cc8601c836135fb565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000612d086024836135fb565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612d6e6019836135fb565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000612dae602c836135fb565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612e146017836135fb565b91507f6d61782032302076697369746f7273206174206f6e63650000000000000000006000830152602082019050919050565b6000612e546038836135fb565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000612eba602a836135fb565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000612f206029836135fb565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000612f866020836135fb565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000612fc6602c836135fb565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061302c6020836135fb565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061306c6029836135fb565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006130d2602f836135fb565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006131386021836135fb565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061319e6031836135fb565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b61320081613796565b82525050565b61320f81613796565b82525050565b60006132218285612bbe565b915061322d8284612bbe565b91508190509392505050565b600060208201905061324e6000830184612ad0565b92915050565b60006080820190506132696000830187612ad0565b6132766020830186612ad0565b6132836040830185613206565b81810360608301526132958184612b4c565b905095945050505050565b600060208201905081810360008301526132ba8184612adf565b905092915050565b60006020820190506132d76000830184612b3d565b92915050565b600060208201905081810360008301526132f78184612b85565b905092915050565b6000602082019050818103600083015261331881612bef565b9050919050565b6000602082019050818103600083015261333881612c55565b9050919050565b6000602082019050818103600083015261335881612cbb565b9050919050565b6000602082019050818103600083015261337881612cfb565b9050919050565b6000602082019050818103600083015261339881612d61565b9050919050565b600060208201905081810360008301526133b881612da1565b9050919050565b600060208201905081810360008301526133d881612e07565b9050919050565b600060208201905081810360008301526133f881612e47565b9050919050565b6000602082019050818103600083015261341881612ead565b9050919050565b6000602082019050818103600083015261343881612f13565b9050919050565b6000602082019050818103600083015261345881612f79565b9050919050565b6000602082019050818103600083015261347881612fb9565b9050919050565b600060208201905081810360008301526134988161301f565b9050919050565b600060208201905081810360008301526134b88161305f565b9050919050565b600060208201905081810360008301526134d8816130c5565b9050919050565b600060208201905081810360008301526134f88161312b565b9050919050565b6000602082019050818103600083015261351881613191565b9050919050565b60006020820190506135346000830184613206565b92915050565b6000604051905081810181811067ffffffffffffffff821117156135615761356061391b565b5b8060405250919050565b600067ffffffffffffffff8211156135865761358561391b565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061362282613796565b915061362d83613796565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136625761366161388e565b5b828201905092915050565b600061367882613796565b915061368383613796565b925082613693576136926138bd565b5b828204905092915050565b60006136a982613796565b91506136b483613796565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136ed576136ec61388e565b5b828202905092915050565b600061370382613796565b915061370e83613796565b9250828210156137215761372061388e565b5b828203905092915050565b600061373782613776565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156137cd5780820151818401526020810190506137b2565b838111156137dc576000848401525b50505050565b600060028204905060018216806137fa57607f821691505b6020821081141561380e5761380d6138ec565b5b50919050565b600061381f82613796565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138525761385161388e565b5b600182019050919050565b600061386882613796565b915061387383613796565b925082613883576138826138bd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6139648161372c565b811461396f57600080fd5b50565b61397b8161373e565b811461398657600080fd5b50565b6139928161374a565b811461399d57600080fd5b50565b6139a981613796565b81146139b457600080fd5b5056fea264697066735822122069d6eedf13ba77eb22690088c7fd636a65c274d41357148afb6a92bee5aaa1f664736f6c63430008000033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.