Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 5,435 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Safe Transfer Fr... | 24101249 | 69 days ago | IN | 0 ETH | 0.00000477 | ||||
| Safe Transfer Fr... | 23979163 | 86 days ago | IN | 0 ETH | 0.00013556 | ||||
| Set Approval For... | 23591374 | 141 days ago | IN | 0 ETH | 0.00017894 | ||||
| Set Approval For... | 23590219 | 141 days ago | IN | 0 ETH | 0.00001159 | ||||
| Set Approval For... | 23500309 | 154 days ago | IN | 0 ETH | 0.00003011 | ||||
| Set Approval For... | 23500308 | 154 days ago | IN | 0 ETH | 0.00003015 | ||||
| Set Approval For... | 23475892 | 157 days ago | IN | 0 ETH | 0.00004311 | ||||
| Set Approval For... | 23473961 | 157 days ago | IN | 0 ETH | 0.00001289 | ||||
| Set Approval For... | 23463868 | 159 days ago | IN | 0 ETH | 0.00001112 | ||||
| Set Approval For... | 23462635 | 159 days ago | IN | 0 ETH | 0.0000605 | ||||
| Set Approval For... | 23462279 | 159 days ago | IN | 0 ETH | 0.00001072 | ||||
| Set Approval For... | 23401786 | 167 days ago | IN | 0 ETH | 0.00000834 | ||||
| Set Approval For... | 23276058 | 185 days ago | IN | 0 ETH | 0.00004296 | ||||
| Set Approval For... | 22597358 | 280 days ago | IN | 0 ETH | 0.00019322 | ||||
| Set Approval For... | 22053420 | 356 days ago | IN | 0 ETH | 0.0000259 | ||||
| Set Approval For... | 22053381 | 356 days ago | IN | 0 ETH | 0.00002447 | ||||
| Set Approval For... | 21589181 | 421 days ago | IN | 0 ETH | 0.00033829 | ||||
| Set Approval For... | 21589174 | 421 days ago | IN | 0 ETH | 0.00029682 | ||||
| Set Approval For... | 21589171 | 421 days ago | IN | 0 ETH | 0.00030663 | ||||
| Set Approval For... | 21526758 | 429 days ago | IN | 0 ETH | 0.00019371 | ||||
| Set Approval For... | 21518983 | 430 days ago | IN | 0 ETH | 0.0002843 | ||||
| Set Approval For... | 21518884 | 430 days ago | IN | 0 ETH | 0.00041203 | ||||
| Set Approval For... | 21516344 | 431 days ago | IN | 0 ETH | 0.00050729 | ||||
| Set Approval For... | 21511000 | 432 days ago | IN | 0 ETH | 0.00028529 | ||||
| Set Approval For... | 21509853 | 432 days ago | IN | 0 ETH | 0.00024252 |
Latest 7 internal transactions
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Citizenz
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)
pragma solidity ^0.8.0;
/**
* The Citizenz NFT contract was deployed by Ownerfy Inc.
*
* This contract is not a proxy.
* This contract is not pausable.
* This contract is not lockable.
* This contract cannot be rug pulled.
* Ownership will be renounced after full sale.
* This contract uses IPFS
*/
// SPDX-License-Identifier: UNLICENSED
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
contract Citizenz is Context, ERC721, Ownable {
using SafeMath for uint256;
using Counters for Counters.Counter;
Counters.Counter private _tokenIdTracker;
uint256 public salePrice = 5 * 10**16;
uint8 public whiteListMax = 4;
uint256 public constant MAX_ELEMENTS = 5000;
string public baseTokenURI;
bool public placeHolder = true;
bool public saleOn = true;
bool public listOnly = true;
uint256 wlc = 4000;
address payable private gnosisWallet = payable(0xd1D29Ca91e967568b561d9755FF34553f2CCF956);
uint256 private _royaltyBps = 500;
address payable private _royaltyRecipient;
bytes4 private constant _INTERFACE_ID_ROYALTIES_CREATORCORE = 0xbb3bafd6;
bytes4 private constant _INTERFACE_ID_ROYALTIES_EIP2981 = 0x2a55205a;
bytes4 private constant _INTERFACE_ID_ROYALTIES_RARIBLE = 0xb7799584;
mapping (address => uint8) public totalBought;
event Mint(address indexed sender);
event UpdateRoyalty(address indexed _address, uint256 _bps);
/**
* deploys the contract.
*/
constructor(string memory _uri) payable ERC721("Citizenz NFT", "CTZN") {
_royaltyRecipient = gnosisWallet;
baseTokenURI = _uri;
}
function _totalSupply() internal view returns (uint) {
return _tokenIdTracker.current();
}
modifier saleIsOpen {
require(_totalSupply() <= MAX_ELEMENTS, "Sale end");
require(saleOn, "Sale hasnt started");
_;
}
function totalSupply() public view returns (uint256) {
return _totalSupply();
}
function whiteListMint(uint8 _count, address _to, uint256 code) public payable saleIsOpen {
uint256 total = _totalSupply();
require(total + _count <= MAX_ELEMENTS, "Max limit");
require(listOnly, "Whitelist only method");
require(msg.value >= price(_count), "Value below price");
require(code == wlc, "Sender not on whitelist");
require(totalBought[_to] + _count < whiteListMax, "MAX WHITELIST AMOUNT PURCHASED");
totalBought[_to] = totalBought[_to] + _count;
_mintElements(_count, _to);
}
function mint(uint8 _count, address _to) public payable saleIsOpen {
uint256 total = _totalSupply();
require(total + _count <= MAX_ELEMENTS, "Max limit");
require(msg.value >= price(_count), "Value below price");
require(totalBought[_to] + _count < 6, "MAX GENERAL SALE AMOUNT PURCHASED");
totalBought[_to] = totalBought[_to] + _count;
_mintElements(_count, _to);
}
function _mintElements(uint256 _count, address _to) private {
for (uint256 i = 0; i < _count; i++) {
_tokenIdTracker.increment();
_safeMint(_to, _tokenIdTracker.current());
Mint(_to);
}
}
function price(uint256 _count) public view returns (uint256) {
return salePrice.mul(_count);
}
// Set price
function setPrice(uint256 _price) public onlyOwner{
salePrice = _price;
}
function setWhiteListMax(uint8 _wlm) public onlyOwner{
whiteListMax = _wlm;
}
function setWlc(uint256 _wlc) public onlyOwner{
wlc = _wlc;
}
// Function to withdraw all Ether and tokens from this contract.
function withdraw() public {
uint _balance = address(this).balance;
(bool success1, ) = gnosisWallet.call{value: _balance * 20 / 100}("");
(bool success2, ) = owner().call{value: _balance * 20 / 100}("");
(bool success3, ) = payable(0xe7247eb2D815799e7663dC84C59F09FE647400f3).call{value: _balance * 20 / 100}("");
(bool success4, ) = payable(0xD5AEb2B7b92625bd27c202C45B70F117Cb76b6d6).call{value: _balance * 20 / 100}("");
(bool success5, ) = payable(0x43aD07dc321d0367D9eC1871cF71C21c7a928490).call{value: _balance * 20 / 100}("");
require(success1 && success2 && success3 && success4 && success5, "Failed to send all eth");
}
function withdrawGnosis() public {
require(msg.sender == gnosisWallet, "Only Gnosis can call");
uint _balance = address(this).balance;
(bool success, ) = gnosisWallet.call{value: _balance}("");
require(success, "Failed to send to Gnosis wallet eth");
}
function setBaseURI(string memory baseURI) public onlyOwner {
baseTokenURI = baseURI;
}
function setPlaceHolder(bool isOn) public onlyOwner {
placeHolder = isOn;
}
function setSaleOn(bool isOn) public onlyOwner {
saleOn = isOn;
}
function setListOnly(bool isOn) public onlyOwner {
listOnly = isOn;
}
function tokenURI(uint256 _id) public view virtual override returns (string memory) {
if(placeHolder) {
return baseTokenURI;
} else {
return string(abi.encodePacked(baseTokenURI, uint2str(_id), ".json"));
}
}
/**
* @dev Update royalties
*/
function updateRoyalties(address payable recipient, uint256 bps) external onlyOwner {
_royaltyRecipient = recipient;
_royaltyBps = bps;
emit UpdateRoyalty(recipient, bps);
}
/**
* ROYALTY FUNCTIONS
*/
function getRoyalties(uint256) external view returns (address payable[] memory recipients, uint256[] memory bps) {
if (_royaltyRecipient != address(0x0)) {
recipients = new address payable[](1);
recipients[0] = _royaltyRecipient;
bps = new uint256[](1);
bps[0] = _royaltyBps;
}
return (recipients, bps);
}
function getFeeRecipients(uint256) external view returns (address payable[] memory recipients) {
if (_royaltyRecipient != address(0x0)) {
recipients = new address payable[](1);
recipients[0] = _royaltyRecipient;
}
return recipients;
}
function getFeeBps(uint256) external view returns (uint[] memory bps) {
if (_royaltyRecipient != address(0x0)) {
bps = new uint256[](1);
bps[0] = _royaltyBps;
}
return bps;
}
function royaltyInfo(uint256, uint256 value) external view returns (address, uint256) {
return (_royaltyRecipient, value*_royaltyBps/10000);
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) {
return ERC721.supportsInterface(interfaceId) || interfaceId == _INTERFACE_ID_ROYALTIES_CREATORCORE
|| interfaceId == _INTERFACE_ID_ROYALTIES_EIP2981 || interfaceId == _INTERFACE_ID_ROYALTIES_RARIBLE;
}
function uint2str(
uint256 _i
)
internal
pure
returns (string memory str)
{
if (_i == 0)
{
return "0";
}
uint256 j = _i;
uint256 length;
while (j != 0)
{
length++;
j /= 10;
}
bytes memory bstr = new bytes(length);
uint256 k = length;
j = _i;
while (j != 0)
{
bstr[--k] = bytes1(uint8(48 + j % 10));
j /= 10;
}
str = string(bstr);
}
}// 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}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = 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 {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// 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() {
_setOwner(_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 {
_setOwner(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");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// 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. 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;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return recover(hash, v, r, s);
} else if (signature.length == 64) {
bytes32 r;
bytes32 vs;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
vs := mload(add(signature, 0x40))
}
return recover(hash, r, vs);
} else {
revert("ECDSA: invalid signature length");
}
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
bytes32 s;
uint8 v;
assembly {
s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
v := add(shr(255, vs), 27)
}
return recover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`, `r` and `s` signature fields separately.
*/
function recover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
require(
uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,
"ECDSA: invalid signature 's' value"
);
require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
require(signer != address(0), "ECDSA: invalid signature");
return signer;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}// 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;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
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
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) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./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);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"Mint","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_bps","type":"uint256"}],"name":"UpdateRoyalty","type":"event"},{"inputs":[],"name":"MAX_ELEMENTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeeBps","outputs":[{"internalType":"uint256[]","name":"bps","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeeRecipients","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getRoyalties","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"bps","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":"listOnly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_count","type":"uint8"},{"internalType":"address","name":"_to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeHolder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isOn","type":"bool"}],"name":"setListOnly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isOn","type":"bool"}],"name":"setPlaceHolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isOn","type":"bool"}],"name":"setSaleOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_wlm","type":"uint8"}],"name":"setWhiteListMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlc","type":"uint256"}],"name":"setWlc","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":"_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalBought","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"updateRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whiteListMax","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_count","type":"uint8"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"code","type":"uint256"}],"name":"whiteListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawGnosis","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405266b1a2bc2ec500006008556004600960006101000a81548160ff021916908360ff1602179055506001600b60006101000a81548160ff0219169083151502179055506001600b60016101000a81548160ff0219169083151502179055506001600b60026101000a81548160ff021916908315150217905550610fa0600c5573d1d29ca91e967568b561d9755ff34553f2ccf956600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101f4600e556040516200595138038062005951833981810160405281019062000102919062000435565b6040518060400160405280600c81526020017f436974697a656e7a204e465400000000000000000000000000000000000000008152506040518060400160405280600481526020017f43545a4e0000000000000000000000000000000000000000000000000000000081525081600090805190602001906200018692919062000313565b5080600190805190602001906200019f92919062000313565b505050620001c2620001b66200024560201b60201c565b6200024d60201b60201c565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a90805190602001906200023d92919062000313565b5050620005ab565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003219062000517565b90600052602060002090601f01602090048101928262000345576000855562000391565b82601f106200036057805160ff191683800117855562000391565b8280016001018555821562000391579182015b828111156200039057825182559160200191906001019062000373565b5b509050620003a09190620003a4565b5090565b5b80821115620003bf576000816000905550600101620003a5565b5090565b6000620003da620003d484620004ae565b6200047a565b905082815260208101848484011115620003f357600080fd5b62000400848285620004e1565b509392505050565b600082601f8301126200041a57600080fd5b81516200042c848260208601620003c3565b91505092915050565b6000602082840312156200044857600080fd5b600082015167ffffffffffffffff8111156200046357600080fd5b620004718482850162000408565b91505092915050565b6000604051905081810181811067ffffffffffffffff82111715620004a457620004a36200057c565b5b8060405250919050565b600067ffffffffffffffff821115620004cc57620004cb6200057c565b5b601f19601f8301169050602081019050919050565b60005b8381101562000501578082015181840152602081019050620004e4565b8381111562000511576000848401525b50505050565b600060028204905060018216806200053057607f821691505b602082108114156200054757620005466200054d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61539680620005bb6000396000f3fe6080604052600436106102515760003560e01c80636c2f5acd1161013957806395d89b41116100b6578063c87b56dd1161007a578063c87b56dd146108a6578063d547cfb7146108e3578063e985e9c51461090e578063eb7c17531461094b578063f2fde38b14610974578063f51f96dd1461099d57610251565b806395d89b41146107ae578063a22cb465146107d9578063b88d4fde14610802578063b9c4d9fb1461082b578063bb3bafd61461086857610251565b80637bf75f6c116100fd5780637bf75f6c146106f75780638da5cb5b146107135780638dceecc31461073e5780638e89457a1461075a57806391b7f5ed1461078557610251565b80636c2f5acd1461062657806370a082311461064f578063715018a61461068c57806376bbedc5146106a3578063773ef1cf146106cc57610251565b806323b872dd116101d25780633502a716116101965780633502a716146105185780633ccfd60b1461054357806342842e0e1461055a5780634663b1b21461058357806355f804b3146105c05780636352211e146105e957610251565b806323b872dd1461042057806326a49e371461044957806328054cc4146104865780632a53a7f0146104af5780632a55205a146104da57610251565b8063095ea7b311610219578063095ea7b31461033d5780630ebd4c7f1461036657806318160ddd146103a35780631871aaeb146103ce5780631e960d20146103f757610251565b8063015115fc1461025657806301ffc9a71461026d57806306fdde03146102aa5780630743b808146102d5578063081812fc14610300575b600080fd5b34801561026257600080fd5b5061026b6109c8565b005b34801561027957600080fd5b50610294600480360381019061028f9190613bce565b610b2f565b6040516102a191906149f9565b60405180910390f35b3480156102b657600080fd5b506102bf610c2e565b6040516102cc9190614a14565b60405180910390f35b3480156102e157600080fd5b506102ea610cc0565b6040516102f79190614d91565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613c61565b610cd3565b60405161033491906148ee565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190613b69565b610d58565b005b34801561037257600080fd5b5061038d60048036038101906103889190613c61565b610e70565b60405161039a91906149d7565b60405180910390f35b3480156103af57600080fd5b506103b8610f89565b6040516103c59190614d76565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190613ba5565b610f98565b005b34801561040357600080fd5b5061041e60048036038101906104199190613ba5565b611031565b005b34801561042c57600080fd5b5061044760048036038101906104429190613a63565b6110ca565b005b34801561045557600080fd5b50610470600480360381019061046b9190613c61565b61112a565b60405161047d9190614d76565b60405180910390f35b34801561049257600080fd5b506104ad60048036038101906104a89190613cc6565b611148565b005b3480156104bb57600080fd5b506104c46111e2565b6040516104d191906149f9565b60405180910390f35b3480156104e657600080fd5b5061050160048036038101906104fc9190613c8a565b6111f5565b60405161050f929190614955565b60405180910390f35b34801561052457600080fd5b5061052d611241565b60405161053a9190614d76565b60405180910390f35b34801561054f57600080fd5b50610558611247565b005b34801561056657600080fd5b50610581600480360381019061057c9190613a63565b6115b1565b005b34801561058f57600080fd5b506105aa60048036038101906105a591906139c2565b6115d1565b6040516105b79190614d91565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e29190613c20565b6115f1565b005b3480156105f557600080fd5b50610610600480360381019061060b9190613c61565b611687565b60405161061d91906148ee565b60405180910390f35b34801561063257600080fd5b5061064d600480360381019061064891906139eb565b611739565b005b34801561065b57600080fd5b50610676600480360381019061067191906139c2565b61184f565b6040516106839190614d76565b60405180910390f35b34801561069857600080fd5b506106a1611907565b005b3480156106af57600080fd5b506106ca60048036038101906106c59190613ba5565b61198f565b005b3480156106d857600080fd5b506106e1611a28565b6040516106ee91906149f9565b60405180910390f35b610711600480360381019061070c9190613cef565b611a3b565b005b34801561071f57600080fd5b50610728611ce1565b60405161073591906148ee565b60405180910390f35b61075860048036038101906107539190613d2b565b611d0b565b005b34801561076657600080fd5b5061076f612056565b60405161077c91906149f9565b60405180910390f35b34801561079157600080fd5b506107ac60048036038101906107a79190613c61565b612069565b005b3480156107ba57600080fd5b506107c36120ef565b6040516107d09190614a14565b60405180910390f35b3480156107e557600080fd5b5061080060048036038101906107fb9190613b2d565b612181565b005b34801561080e57600080fd5b5061082960048036038101906108249190613ab2565b612302565b005b34801561083757600080fd5b50610852600480360381019061084d9190613c61565b612364565b60405161085f919061497e565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190613c61565b6124cb565b60405161089d9291906149a0565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c89190613c61565b6126ee565b6040516108da9190614a14565b60405180910390f35b3480156108ef57600080fd5b506108f86127ca565b6040516109059190614a14565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190613a27565b612858565b60405161094291906149f9565b60405180910390f35b34801561095757600080fd5b50610972600480360381019061096d9190613c61565b6128ec565b005b34801561098057600080fd5b5061099b600480360381019061099691906139c2565b612972565b005b3480156109a957600080fd5b506109b2612a6a565b6040516109bf9190614d76565b60405180910390f35b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4f90614c16565b60405180910390fd5b60004790506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610aa5906148d9565b60006040518083038185875af1925050503d8060008114610ae2576040519150601f19603f3d011682016040523d82523d6000602084013e610ae7565b606091505b5050905080610b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2290614d16565b60405180910390fd5b5050565b6000610b3a82612a70565b80610b89575063bb3bafd660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bd85750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c27575063b779958460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060008054610c3d9061515d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c699061515d565b8015610cb65780601f10610c8b57610100808354040283529160200191610cb6565b820191906000526020600020905b815481529060010190602001808311610c9957829003601f168201915b5050505050905090565b600960009054906101000a900460ff1681565b6000610cde82612b52565b610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1490614c36565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d6382611687565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb90614cd6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610df3612bbe565b73ffffffffffffffffffffffffffffffffffffffff161480610e225750610e2181610e1c612bbe565b612858565b5b610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890614b36565b60405180910390fd5b610e6b8383612bc6565b505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f8457600167ffffffffffffffff811115610f09577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f375781602001602082028036833780820191505090505b509050600e5481600081518110610f77577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b919050565b6000610f93612c7f565b905090565b610fa0612bbe565b73ffffffffffffffffffffffffffffffffffffffff16610fbe611ce1565b73ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90614c56565b60405180910390fd5b80600b60026101000a81548160ff02191690831515021790555050565b611039612bbe565b73ffffffffffffffffffffffffffffffffffffffff16611057611ce1565b73ffffffffffffffffffffffffffffffffffffffff16146110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490614c56565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b6110db6110d5612bbe565b82612c90565b61111a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111190614cf6565b60405180910390fd5b611125838383612d6e565b505050565b600061114182600854612fca90919063ffffffff16565b9050919050565b611150612bbe565b73ffffffffffffffffffffffffffffffffffffffff1661116e611ce1565b73ffffffffffffffffffffffffffffffffffffffff16146111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb90614c56565b60405180910390fd5b80600960006101000a81548160ff021916908360ff16021790555050565b600b60029054906101000a900460ff1681565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600e548561122c9190614fd0565b6112369190614f9f565b915091509250929050565b61138881565b60004790506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660646014846112969190614fd0565b6112a09190614f9f565b6040516112ac906148d9565b60006040518083038185875af1925050503d80600081146112e9576040519150601f19603f3d011682016040523d82523d6000602084013e6112ee565b606091505b5050905060006112fc611ce1565b73ffffffffffffffffffffffffffffffffffffffff1660646014856113219190614fd0565b61132b9190614f9f565b604051611337906148d9565b60006040518083038185875af1925050503d8060008114611374576040519150601f19603f3d011682016040523d82523d6000602084013e611379565b606091505b50509050600073e7247eb2d815799e7663dc84c59f09fe647400f373ffffffffffffffffffffffffffffffffffffffff1660646014866113b99190614fd0565b6113c39190614f9f565b6040516113cf906148d9565b60006040518083038185875af1925050503d806000811461140c576040519150601f19603f3d011682016040523d82523d6000602084013e611411565b606091505b50509050600073d5aeb2b7b92625bd27c202c45b70f117cb76b6d673ffffffffffffffffffffffffffffffffffffffff1660646014876114519190614fd0565b61145b9190614f9f565b604051611467906148d9565b60006040518083038185875af1925050503d80600081146114a4576040519150601f19603f3d011682016040523d82523d6000602084013e6114a9565b606091505b5050905060007343ad07dc321d0367d9ec1871cf71c21c7a92849073ffffffffffffffffffffffffffffffffffffffff1660646014886114e99190614fd0565b6114f39190614f9f565b6040516114ff906148d9565b60006040518083038185875af1925050503d806000811461153c576040519150601f19603f3d011682016040523d82523d6000602084013e611541565b606091505b5050905084801561154f5750835b80156115585750825b80156115615750815b801561156a5750805b6115a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a090614d56565b60405180910390fd5b505050505050565b6115cc83838360405180602001604052806000815250612302565b505050565b60106020528060005260406000206000915054906101000a900460ff1681565b6115f9612bbe565b73ffffffffffffffffffffffffffffffffffffffff16611617611ce1565b73ffffffffffffffffffffffffffffffffffffffff161461166d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166490614c56565b60405180910390fd5b80600a90805190602001906116839291906137bc565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790614b76565b60405180910390fd5b80915050919050565b611741612bbe565b73ffffffffffffffffffffffffffffffffffffffff1661175f611ce1565b73ffffffffffffffffffffffffffffffffffffffff16146117b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ac90614c56565b60405180910390fd5b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e819055508173ffffffffffffffffffffffffffffffffffffffff167fa0a3764a6a020070a984037ddad31af783c92eae7581e99c957792d105717dd4826040516118439190614d76565b60405180910390a25050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b790614b56565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61190f612bbe565b73ffffffffffffffffffffffffffffffffffffffff1661192d611ce1565b73ffffffffffffffffffffffffffffffffffffffff1614611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90614c56565b60405180910390fd5b61198d6000612fe0565b565b611997612bbe565b73ffffffffffffffffffffffffffffffffffffffff166119b5611ce1565b73ffffffffffffffffffffffffffffffffffffffff1614611a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0290614c56565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b600b60019054906101000a900460ff1681565b611388611a46612c7f565b1115611a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7e90614bf6565b60405180910390fd5b600b60019054906101000a900460ff16611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd90614af6565b60405180910390fd5b6000611ae0612c7f565b90506113888360ff1682611af49190614f12565b1115611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c90614ad6565b60405180910390fd5b611b418360ff1661112a565b341015611b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7a90614cb6565b60405180910390fd5b600683601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bdd9190614f68565b60ff1610611c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1790614c96565b60405180910390fd5b82601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c789190614f68565b601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550611cdc8360ff16836130a6565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611388611d16612c7f565b1115611d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4e90614bf6565b60405180910390fd5b600b60019054906101000a900460ff16611da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9d90614af6565b60405180910390fd5b6000611db0612c7f565b90506113888460ff1682611dc49190614f12565b1115611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc90614ad6565b60405180910390fd5b600b60029054906101000a900460ff16611e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4b90614b96565b60405180910390fd5b611e608460ff1661112a565b341015611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9990614cb6565b60405180910390fd5b600c548214611ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edd90614d36565b60405180910390fd5b600960009054906101000a900460ff1660ff1684601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f519190614f68565b60ff1610611f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8b90614bb6565b60405180910390fd5b83601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fec9190614f68565b601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506120508460ff16846130a6565b50505050565b600b60009054906101000a900460ff1681565b612071612bbe565b73ffffffffffffffffffffffffffffffffffffffff1661208f611ce1565b73ffffffffffffffffffffffffffffffffffffffff16146120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc90614c56565b60405180910390fd5b8060088190555050565b6060600180546120fe9061515d565b80601f016020809104026020016040519081016040528092919081815260200182805461212a9061515d565b80156121775780601f1061214c57610100808354040283529160200191612177565b820191906000526020600020905b81548152906001019060200180831161215a57829003601f168201915b5050505050905090565b612189612bbe565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ee90614ab6565b60405180910390fd5b8060056000612204612bbe565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122b1612bbe565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122f691906149f9565b60405180910390a35050565b61231361230d612bbe565b83612c90565b612352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234990614cf6565b60405180910390fd5b61235e84848484613129565b50505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146124c657600167ffffffffffffffff8111156123fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561242b5781602001602082028036833780820191505090505b509050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160008151811061248b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b919050565b606080600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146126e957600167ffffffffffffffff811115612565577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156125935781602001602082028036833780820191505090505b509150600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826000815181106125f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600167ffffffffffffffff81111561266e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561269c5781602001602082028036833780820191505090505b509050600e54816000815181106126dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b915091565b6060600b60009054906101000a900460ff161561279757600a80546127129061515d565b80601f016020809104026020016040519081016040528092919081815260200182805461273e9061515d565b801561278b5780601f106127605761010080835404028352916020019161278b565b820191906000526020600020905b81548152906001019060200180831161276e57829003601f168201915b505050505090506127c5565b600a6127a283613185565b6040516020016127b39291906148aa565b60405160208183030381529060405290505b919050565b600a80546127d79061515d565b80601f01602080910402602001604051908101604052809291908181526020018280546128039061515d565b80156128505780601f1061282557610100808354040283529160200191612850565b820191906000526020600020905b81548152906001019060200180831161283357829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128f4612bbe565b73ffffffffffffffffffffffffffffffffffffffff16612912611ce1565b73ffffffffffffffffffffffffffffffffffffffff1614612968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295f90614c56565b60405180910390fd5b80600c8190555050565b61297a612bbe565b73ffffffffffffffffffffffffffffffffffffffff16612998611ce1565b73ffffffffffffffffffffffffffffffffffffffff16146129ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e590614c56565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5590614a56565b60405180910390fd5b612a6781612fe0565b50565b60085481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b3b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b4b5750612b4a82613338565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612c3983611687565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612c8b60076133a2565b905090565b6000612c9b82612b52565b612cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd190614b16565b60405180910390fd5b6000612ce583611687565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d5457508373ffffffffffffffffffffffffffffffffffffffff16612d3c84610cd3565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d655750612d648185612858565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d8e82611687565b73ffffffffffffffffffffffffffffffffffffffff1614612de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ddb90614c76565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4b90614a96565b60405180910390fd5b612e5f8383836133b0565b612e6a600082612bc6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612eba919061502a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f119190614f12565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612fd89190614fd0565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b82811015613124576130bb60076133b5565b6130ce826130c960076133a2565b6133cb565b8173ffffffffffffffffffffffffffffffffffffffff167f3c3284d117c92d0b1699230960384e794dcba184cc48ff114fe4fed20c9b056560405160405180910390a2808061311c9061518f565b9150506130a9565b505050565b613134848484612d6e565b613140848484846133e9565b61317f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317690614a36565b60405180910390fd5b50505050565b606060008214156131cd576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613333565b600082905060005b600082146131ff5780806131e89061518f565b915050600a826131f89190614f9f565b91506131d5565b60008167ffffffffffffffff811115613241577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132735781602001600182028036833780820191505090505b50905060008290508593505b6000841461332b57600a8461329491906151d8565b60306132a09190614f12565b60f81b82826132ae90615133565b925082815181106132e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a846133249190614f9f565b935061327f565b819450505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081600001549050919050565b505050565b6001816000016000828254019250508190555050565b6133e5828260405180602001604052806000815250613580565b5050565b600061340a8473ffffffffffffffffffffffffffffffffffffffff166135db565b15613573578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613433612bbe565b8786866040518563ffffffff1660e01b81526004016134559493929190614909565b602060405180830381600087803b15801561346f57600080fd5b505af19250505080156134a057506040513d601f19601f8201168201806040525081019061349d9190613bf7565b60015b613523573d80600081146134d0576040519150601f19603f3d011682016040523d82523d6000602084013e6134d5565b606091505b5060008151141561351b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351290614a36565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613578565b600190505b949350505050565b61358a83836135ee565b61359760008484846133e9565b6135d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135cd90614a36565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561365e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365590614bd6565b60405180910390fd5b61366781612b52565b156136a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369e90614a76565b60405180910390fd5b6136b3600083836133b0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137039190614f12565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546137c89061515d565b90600052602060002090601f0160209004810192826137ea5760008555613831565b82601f1061380357805160ff1916838001178555613831565b82800160010185558215613831579182015b82811115613830578251825591602001919060010190613815565b5b50905061383e9190613842565b5090565b5b8082111561385b576000816000905550600101613843565b5090565b600061387261386d84614ddd565b614dac565b90508281526020810184848401111561388a57600080fd5b6138958482856150f1565b509392505050565b60006138b06138ab84614e0d565b614dac565b9050828152602081018484840111156138c857600080fd5b6138d38482856150f1565b509392505050565b6000813590506138ea816152d6565b92915050565b6000813590506138ff816152ed565b92915050565b60008135905061391481615304565b92915050565b6000813590506139298161531b565b92915050565b60008151905061393e8161531b565b92915050565b600082601f83011261395557600080fd5b813561396584826020860161385f565b91505092915050565b600082601f83011261397f57600080fd5b813561398f84826020860161389d565b91505092915050565b6000813590506139a781615332565b92915050565b6000813590506139bc81615349565b92915050565b6000602082840312156139d457600080fd5b60006139e2848285016138db565b91505092915050565b600080604083850312156139fe57600080fd5b6000613a0c858286016138f0565b9250506020613a1d85828601613998565b9150509250929050565b60008060408385031215613a3a57600080fd5b6000613a48858286016138db565b9250506020613a59858286016138db565b9150509250929050565b600080600060608486031215613a7857600080fd5b6000613a86868287016138db565b9350506020613a97868287016138db565b9250506040613aa886828701613998565b9150509250925092565b60008060008060808587031215613ac857600080fd5b6000613ad6878288016138db565b9450506020613ae7878288016138db565b9350506040613af887828801613998565b925050606085013567ffffffffffffffff811115613b1557600080fd5b613b2187828801613944565b91505092959194509250565b60008060408385031215613b4057600080fd5b6000613b4e858286016138db565b9250506020613b5f85828601613905565b9150509250929050565b60008060408385031215613b7c57600080fd5b6000613b8a858286016138db565b9250506020613b9b85828601613998565b9150509250929050565b600060208284031215613bb757600080fd5b6000613bc584828501613905565b91505092915050565b600060208284031215613be057600080fd5b6000613bee8482850161391a565b91505092915050565b600060208284031215613c0957600080fd5b6000613c178482850161392f565b91505092915050565b600060208284031215613c3257600080fd5b600082013567ffffffffffffffff811115613c4c57600080fd5b613c588482850161396e565b91505092915050565b600060208284031215613c7357600080fd5b6000613c8184828501613998565b91505092915050565b60008060408385031215613c9d57600080fd5b6000613cab85828601613998565b9250506020613cbc85828601613998565b9150509250929050565b600060208284031215613cd857600080fd5b6000613ce6848285016139ad565b91505092915050565b60008060408385031215613d0257600080fd5b6000613d10858286016139ad565b9250506020613d21858286016138db565b9150509250929050565b600080600060608486031215613d4057600080fd5b6000613d4e868287016139ad565b9350506020613d5f868287016138db565b9250506040613d7086828701613998565b9150509250925092565b6000613d868383613daa565b60208301905092915050565b6000613d9e838361487d565b60208301905092915050565b613db381615070565b82525050565b613dc28161505e565b82525050565b6000613dd382614e72565b613ddd8185614eb8565b9350613de883614e3d565b8060005b83811015613e19578151613e008882613d7a565b9750613e0b83614e9e565b925050600181019050613dec565b5085935050505092915050565b6000613e3182614e7d565b613e3b8185614ec9565b9350613e4683614e4d565b8060005b83811015613e77578151613e5e8882613d92565b9750613e6983614eab565b925050600181019050613e4a565b5085935050505092915050565b613e8d81615082565b82525050565b6000613e9e82614e88565b613ea88185614eda565b9350613eb8818560208601615100565b613ec1816152c5565b840191505092915050565b6000613ed782614e93565b613ee18185614ef6565b9350613ef1818560208601615100565b613efa816152c5565b840191505092915050565b6000613f1082614e93565b613f1a8185614f07565b9350613f2a818560208601615100565b80840191505092915050565b60008154613f438161515d565b613f4d8186614f07565b94506001821660008114613f685760018114613f7957613fac565b60ff19831686528186019350613fac565b613f8285614e5d565b60005b83811015613fa457815481890152600182019150602081019050613f85565b838801955050505b50505092915050565b6000613fc2603283614ef6565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614028602683614ef6565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061408e601c83614ef6565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006140ce602483614ef6565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614134601983614ef6565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614174600983614ef6565b91507f4d6178206c696d697400000000000000000000000000000000000000000000006000830152602082019050919050565b60006141b4601283614ef6565b91507f53616c65206861736e74207374617274656400000000000000000000000000006000830152602082019050919050565b60006141f4602c83614ef6565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061425a603883614ef6565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006142c0602a83614ef6565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614326602983614ef6565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061438c601583614ef6565b91507f57686974656c697374206f6e6c79206d6574686f6400000000000000000000006000830152602082019050919050565b60006143cc601e83614ef6565b91507f4d41582057484954454c49535420414d4f554e542050555243484153454400006000830152602082019050919050565b600061440c602083614ef6565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061444c600883614ef6565b91507f53616c6520656e640000000000000000000000000000000000000000000000006000830152602082019050919050565b600061448c601483614ef6565b91507f4f6e6c7920476e6f7369732063616e2063616c6c0000000000000000000000006000830152602082019050919050565b60006144cc602c83614ef6565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614532600583614f07565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b6000614572602083614ef6565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006145b2602983614ef6565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614618602183614ef6565b91507f4d41582047454e4552414c2053414c4520414d4f554e5420505552434841534560008301527f44000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061467e601183614ef6565b91507f56616c75652062656c6f772070726963650000000000000000000000000000006000830152602082019050919050565b60006146be602183614ef6565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614724600083614eeb565b9150600082019050919050565b600061473e603183614ef6565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006147a4602383614ef6565b91507f4661696c656420746f2073656e6420746f20476e6f7369732077616c6c65742060008301527f65746800000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061480a601783614ef6565b91507f53656e646572206e6f74206f6e2077686974656c6973740000000000000000006000830152602082019050919050565b600061484a601683614ef6565b91507f4661696c656420746f2073656e6420616c6c20657468000000000000000000006000830152602082019050919050565b614886816150da565b82525050565b614895816150da565b82525050565b6148a4816150e4565b82525050565b60006148b68285613f36565b91506148c28284613f05565b91506148cd82614525565b91508190509392505050565b60006148e482614717565b9150819050919050565b60006020820190506149036000830184613db9565b92915050565b600060808201905061491e6000830187613db9565b61492b6020830186613db9565b614938604083018561488c565b818103606083015261494a8184613e93565b905095945050505050565b600060408201905061496a6000830185613db9565b614977602083018461488c565b9392505050565b600060208201905081810360008301526149988184613dc8565b905092915050565b600060408201905081810360008301526149ba8185613dc8565b905081810360208301526149ce8184613e26565b90509392505050565b600060208201905081810360008301526149f18184613e26565b905092915050565b6000602082019050614a0e6000830184613e84565b92915050565b60006020820190508181036000830152614a2e8184613ecc565b905092915050565b60006020820190508181036000830152614a4f81613fb5565b9050919050565b60006020820190508181036000830152614a6f8161401b565b9050919050565b60006020820190508181036000830152614a8f81614081565b9050919050565b60006020820190508181036000830152614aaf816140c1565b9050919050565b60006020820190508181036000830152614acf81614127565b9050919050565b60006020820190508181036000830152614aef81614167565b9050919050565b60006020820190508181036000830152614b0f816141a7565b9050919050565b60006020820190508181036000830152614b2f816141e7565b9050919050565b60006020820190508181036000830152614b4f8161424d565b9050919050565b60006020820190508181036000830152614b6f816142b3565b9050919050565b60006020820190508181036000830152614b8f81614319565b9050919050565b60006020820190508181036000830152614baf8161437f565b9050919050565b60006020820190508181036000830152614bcf816143bf565b9050919050565b60006020820190508181036000830152614bef816143ff565b9050919050565b60006020820190508181036000830152614c0f8161443f565b9050919050565b60006020820190508181036000830152614c2f8161447f565b9050919050565b60006020820190508181036000830152614c4f816144bf565b9050919050565b60006020820190508181036000830152614c6f81614565565b9050919050565b60006020820190508181036000830152614c8f816145a5565b9050919050565b60006020820190508181036000830152614caf8161460b565b9050919050565b60006020820190508181036000830152614ccf81614671565b9050919050565b60006020820190508181036000830152614cef816146b1565b9050919050565b60006020820190508181036000830152614d0f81614731565b9050919050565b60006020820190508181036000830152614d2f81614797565b9050919050565b60006020820190508181036000830152614d4f816147fd565b9050919050565b60006020820190508181036000830152614d6f8161483d565b9050919050565b6000602082019050614d8b600083018461488c565b92915050565b6000602082019050614da6600083018461489b565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614dd357614dd2615296565b5b8060405250919050565b600067ffffffffffffffff821115614df857614df7615296565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614e2857614e27615296565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f1d826150da565b9150614f28836150da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f5d57614f5c615209565b5b828201905092915050565b6000614f73826150e4565b9150614f7e836150e4565b92508260ff03821115614f9457614f93615209565b5b828201905092915050565b6000614faa826150da565b9150614fb5836150da565b925082614fc557614fc4615238565b5b828204905092915050565b6000614fdb826150da565b9150614fe6836150da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561501f5761501e615209565b5b828202905092915050565b6000615035826150da565b9150615040836150da565b92508282101561505357615052615209565b5b828203905092915050565b6000615069826150ba565b9050919050565b600061507b826150ba565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561511e578082015181840152602081019050615103565b8381111561512d576000848401525b50505050565b600061513e826150da565b9150600082141561515257615151615209565b5b600182039050919050565b6000600282049050600182168061517557607f821691505b6020821081141561518957615188615267565b5b50919050565b600061519a826150da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151cd576151cc615209565b5b600182019050919050565b60006151e3826150da565b91506151ee836150da565b9250826151fe576151fd615238565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6152df8161505e565b81146152ea57600080fd5b50565b6152f681615070565b811461530157600080fd5b50565b61530d81615082565b811461531857600080fd5b50565b6153248161508e565b811461532f57600080fd5b50565b61533b816150da565b811461534657600080fd5b50565b615352816150e4565b811461535d57600080fd5b5056fea2646970667358221220db1bf7512f8a7bb1226e7db2b339971957637103cb3c867f096c465a49eebfa464736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d53624c4755516464437757597632795371784b77676575594468316f744b316d696277355a426347667165652f706c616365686f6c6465722e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102515760003560e01c80636c2f5acd1161013957806395d89b41116100b6578063c87b56dd1161007a578063c87b56dd146108a6578063d547cfb7146108e3578063e985e9c51461090e578063eb7c17531461094b578063f2fde38b14610974578063f51f96dd1461099d57610251565b806395d89b41146107ae578063a22cb465146107d9578063b88d4fde14610802578063b9c4d9fb1461082b578063bb3bafd61461086857610251565b80637bf75f6c116100fd5780637bf75f6c146106f75780638da5cb5b146107135780638dceecc31461073e5780638e89457a1461075a57806391b7f5ed1461078557610251565b80636c2f5acd1461062657806370a082311461064f578063715018a61461068c57806376bbedc5146106a3578063773ef1cf146106cc57610251565b806323b872dd116101d25780633502a716116101965780633502a716146105185780633ccfd60b1461054357806342842e0e1461055a5780634663b1b21461058357806355f804b3146105c05780636352211e146105e957610251565b806323b872dd1461042057806326a49e371461044957806328054cc4146104865780632a53a7f0146104af5780632a55205a146104da57610251565b8063095ea7b311610219578063095ea7b31461033d5780630ebd4c7f1461036657806318160ddd146103a35780631871aaeb146103ce5780631e960d20146103f757610251565b8063015115fc1461025657806301ffc9a71461026d57806306fdde03146102aa5780630743b808146102d5578063081812fc14610300575b600080fd5b34801561026257600080fd5b5061026b6109c8565b005b34801561027957600080fd5b50610294600480360381019061028f9190613bce565b610b2f565b6040516102a191906149f9565b60405180910390f35b3480156102b657600080fd5b506102bf610c2e565b6040516102cc9190614a14565b60405180910390f35b3480156102e157600080fd5b506102ea610cc0565b6040516102f79190614d91565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613c61565b610cd3565b60405161033491906148ee565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190613b69565b610d58565b005b34801561037257600080fd5b5061038d60048036038101906103889190613c61565b610e70565b60405161039a91906149d7565b60405180910390f35b3480156103af57600080fd5b506103b8610f89565b6040516103c59190614d76565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190613ba5565b610f98565b005b34801561040357600080fd5b5061041e60048036038101906104199190613ba5565b611031565b005b34801561042c57600080fd5b5061044760048036038101906104429190613a63565b6110ca565b005b34801561045557600080fd5b50610470600480360381019061046b9190613c61565b61112a565b60405161047d9190614d76565b60405180910390f35b34801561049257600080fd5b506104ad60048036038101906104a89190613cc6565b611148565b005b3480156104bb57600080fd5b506104c46111e2565b6040516104d191906149f9565b60405180910390f35b3480156104e657600080fd5b5061050160048036038101906104fc9190613c8a565b6111f5565b60405161050f929190614955565b60405180910390f35b34801561052457600080fd5b5061052d611241565b60405161053a9190614d76565b60405180910390f35b34801561054f57600080fd5b50610558611247565b005b34801561056657600080fd5b50610581600480360381019061057c9190613a63565b6115b1565b005b34801561058f57600080fd5b506105aa60048036038101906105a591906139c2565b6115d1565b6040516105b79190614d91565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e29190613c20565b6115f1565b005b3480156105f557600080fd5b50610610600480360381019061060b9190613c61565b611687565b60405161061d91906148ee565b60405180910390f35b34801561063257600080fd5b5061064d600480360381019061064891906139eb565b611739565b005b34801561065b57600080fd5b50610676600480360381019061067191906139c2565b61184f565b6040516106839190614d76565b60405180910390f35b34801561069857600080fd5b506106a1611907565b005b3480156106af57600080fd5b506106ca60048036038101906106c59190613ba5565b61198f565b005b3480156106d857600080fd5b506106e1611a28565b6040516106ee91906149f9565b60405180910390f35b610711600480360381019061070c9190613cef565b611a3b565b005b34801561071f57600080fd5b50610728611ce1565b60405161073591906148ee565b60405180910390f35b61075860048036038101906107539190613d2b565b611d0b565b005b34801561076657600080fd5b5061076f612056565b60405161077c91906149f9565b60405180910390f35b34801561079157600080fd5b506107ac60048036038101906107a79190613c61565b612069565b005b3480156107ba57600080fd5b506107c36120ef565b6040516107d09190614a14565b60405180910390f35b3480156107e557600080fd5b5061080060048036038101906107fb9190613b2d565b612181565b005b34801561080e57600080fd5b5061082960048036038101906108249190613ab2565b612302565b005b34801561083757600080fd5b50610852600480360381019061084d9190613c61565b612364565b60405161085f919061497e565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190613c61565b6124cb565b60405161089d9291906149a0565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c89190613c61565b6126ee565b6040516108da9190614a14565b60405180910390f35b3480156108ef57600080fd5b506108f86127ca565b6040516109059190614a14565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190613a27565b612858565b60405161094291906149f9565b60405180910390f35b34801561095757600080fd5b50610972600480360381019061096d9190613c61565b6128ec565b005b34801561098057600080fd5b5061099b600480360381019061099691906139c2565b612972565b005b3480156109a957600080fd5b506109b2612a6a565b6040516109bf9190614d76565b60405180910390f35b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4f90614c16565b60405180910390fd5b60004790506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610aa5906148d9565b60006040518083038185875af1925050503d8060008114610ae2576040519150601f19603f3d011682016040523d82523d6000602084013e610ae7565b606091505b5050905080610b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2290614d16565b60405180910390fd5b5050565b6000610b3a82612a70565b80610b89575063bb3bafd660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bd85750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c27575063b779958460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060008054610c3d9061515d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c699061515d565b8015610cb65780601f10610c8b57610100808354040283529160200191610cb6565b820191906000526020600020905b815481529060010190602001808311610c9957829003601f168201915b5050505050905090565b600960009054906101000a900460ff1681565b6000610cde82612b52565b610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1490614c36565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d6382611687565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb90614cd6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610df3612bbe565b73ffffffffffffffffffffffffffffffffffffffff161480610e225750610e2181610e1c612bbe565b612858565b5b610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890614b36565b60405180910390fd5b610e6b8383612bc6565b505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f8457600167ffffffffffffffff811115610f09577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f375781602001602082028036833780820191505090505b509050600e5481600081518110610f77577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b919050565b6000610f93612c7f565b905090565b610fa0612bbe565b73ffffffffffffffffffffffffffffffffffffffff16610fbe611ce1565b73ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90614c56565b60405180910390fd5b80600b60026101000a81548160ff02191690831515021790555050565b611039612bbe565b73ffffffffffffffffffffffffffffffffffffffff16611057611ce1565b73ffffffffffffffffffffffffffffffffffffffff16146110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490614c56565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b6110db6110d5612bbe565b82612c90565b61111a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111190614cf6565b60405180910390fd5b611125838383612d6e565b505050565b600061114182600854612fca90919063ffffffff16565b9050919050565b611150612bbe565b73ffffffffffffffffffffffffffffffffffffffff1661116e611ce1565b73ffffffffffffffffffffffffffffffffffffffff16146111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb90614c56565b60405180910390fd5b80600960006101000a81548160ff021916908360ff16021790555050565b600b60029054906101000a900460ff1681565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600e548561122c9190614fd0565b6112369190614f9f565b915091509250929050565b61138881565b60004790506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660646014846112969190614fd0565b6112a09190614f9f565b6040516112ac906148d9565b60006040518083038185875af1925050503d80600081146112e9576040519150601f19603f3d011682016040523d82523d6000602084013e6112ee565b606091505b5050905060006112fc611ce1565b73ffffffffffffffffffffffffffffffffffffffff1660646014856113219190614fd0565b61132b9190614f9f565b604051611337906148d9565b60006040518083038185875af1925050503d8060008114611374576040519150601f19603f3d011682016040523d82523d6000602084013e611379565b606091505b50509050600073e7247eb2d815799e7663dc84c59f09fe647400f373ffffffffffffffffffffffffffffffffffffffff1660646014866113b99190614fd0565b6113c39190614f9f565b6040516113cf906148d9565b60006040518083038185875af1925050503d806000811461140c576040519150601f19603f3d011682016040523d82523d6000602084013e611411565b606091505b50509050600073d5aeb2b7b92625bd27c202c45b70f117cb76b6d673ffffffffffffffffffffffffffffffffffffffff1660646014876114519190614fd0565b61145b9190614f9f565b604051611467906148d9565b60006040518083038185875af1925050503d80600081146114a4576040519150601f19603f3d011682016040523d82523d6000602084013e6114a9565b606091505b5050905060007343ad07dc321d0367d9ec1871cf71c21c7a92849073ffffffffffffffffffffffffffffffffffffffff1660646014886114e99190614fd0565b6114f39190614f9f565b6040516114ff906148d9565b60006040518083038185875af1925050503d806000811461153c576040519150601f19603f3d011682016040523d82523d6000602084013e611541565b606091505b5050905084801561154f5750835b80156115585750825b80156115615750815b801561156a5750805b6115a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a090614d56565b60405180910390fd5b505050505050565b6115cc83838360405180602001604052806000815250612302565b505050565b60106020528060005260406000206000915054906101000a900460ff1681565b6115f9612bbe565b73ffffffffffffffffffffffffffffffffffffffff16611617611ce1565b73ffffffffffffffffffffffffffffffffffffffff161461166d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166490614c56565b60405180910390fd5b80600a90805190602001906116839291906137bc565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790614b76565b60405180910390fd5b80915050919050565b611741612bbe565b73ffffffffffffffffffffffffffffffffffffffff1661175f611ce1565b73ffffffffffffffffffffffffffffffffffffffff16146117b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ac90614c56565b60405180910390fd5b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e819055508173ffffffffffffffffffffffffffffffffffffffff167fa0a3764a6a020070a984037ddad31af783c92eae7581e99c957792d105717dd4826040516118439190614d76565b60405180910390a25050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b790614b56565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61190f612bbe565b73ffffffffffffffffffffffffffffffffffffffff1661192d611ce1565b73ffffffffffffffffffffffffffffffffffffffff1614611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90614c56565b60405180910390fd5b61198d6000612fe0565b565b611997612bbe565b73ffffffffffffffffffffffffffffffffffffffff166119b5611ce1565b73ffffffffffffffffffffffffffffffffffffffff1614611a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0290614c56565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b600b60019054906101000a900460ff1681565b611388611a46612c7f565b1115611a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7e90614bf6565b60405180910390fd5b600b60019054906101000a900460ff16611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd90614af6565b60405180910390fd5b6000611ae0612c7f565b90506113888360ff1682611af49190614f12565b1115611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c90614ad6565b60405180910390fd5b611b418360ff1661112a565b341015611b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7a90614cb6565b60405180910390fd5b600683601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bdd9190614f68565b60ff1610611c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1790614c96565b60405180910390fd5b82601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c789190614f68565b601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550611cdc8360ff16836130a6565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611388611d16612c7f565b1115611d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4e90614bf6565b60405180910390fd5b600b60019054906101000a900460ff16611da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9d90614af6565b60405180910390fd5b6000611db0612c7f565b90506113888460ff1682611dc49190614f12565b1115611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc90614ad6565b60405180910390fd5b600b60029054906101000a900460ff16611e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4b90614b96565b60405180910390fd5b611e608460ff1661112a565b341015611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9990614cb6565b60405180910390fd5b600c548214611ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edd90614d36565b60405180910390fd5b600960009054906101000a900460ff1660ff1684601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f519190614f68565b60ff1610611f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8b90614bb6565b60405180910390fd5b83601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fec9190614f68565b601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506120508460ff16846130a6565b50505050565b600b60009054906101000a900460ff1681565b612071612bbe565b73ffffffffffffffffffffffffffffffffffffffff1661208f611ce1565b73ffffffffffffffffffffffffffffffffffffffff16146120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc90614c56565b60405180910390fd5b8060088190555050565b6060600180546120fe9061515d565b80601f016020809104026020016040519081016040528092919081815260200182805461212a9061515d565b80156121775780601f1061214c57610100808354040283529160200191612177565b820191906000526020600020905b81548152906001019060200180831161215a57829003601f168201915b5050505050905090565b612189612bbe565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ee90614ab6565b60405180910390fd5b8060056000612204612bbe565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122b1612bbe565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122f691906149f9565b60405180910390a35050565b61231361230d612bbe565b83612c90565b612352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234990614cf6565b60405180910390fd5b61235e84848484613129565b50505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146124c657600167ffffffffffffffff8111156123fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561242b5781602001602082028036833780820191505090505b509050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160008151811061248b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b919050565b606080600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146126e957600167ffffffffffffffff811115612565577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156125935781602001602082028036833780820191505090505b509150600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826000815181106125f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600167ffffffffffffffff81111561266e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561269c5781602001602082028036833780820191505090505b509050600e54816000815181106126dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b915091565b6060600b60009054906101000a900460ff161561279757600a80546127129061515d565b80601f016020809104026020016040519081016040528092919081815260200182805461273e9061515d565b801561278b5780601f106127605761010080835404028352916020019161278b565b820191906000526020600020905b81548152906001019060200180831161276e57829003601f168201915b505050505090506127c5565b600a6127a283613185565b6040516020016127b39291906148aa565b60405160208183030381529060405290505b919050565b600a80546127d79061515d565b80601f01602080910402602001604051908101604052809291908181526020018280546128039061515d565b80156128505780601f1061282557610100808354040283529160200191612850565b820191906000526020600020905b81548152906001019060200180831161283357829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128f4612bbe565b73ffffffffffffffffffffffffffffffffffffffff16612912611ce1565b73ffffffffffffffffffffffffffffffffffffffff1614612968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295f90614c56565b60405180910390fd5b80600c8190555050565b61297a612bbe565b73ffffffffffffffffffffffffffffffffffffffff16612998611ce1565b73ffffffffffffffffffffffffffffffffffffffff16146129ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e590614c56565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5590614a56565b60405180910390fd5b612a6781612fe0565b50565b60085481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b3b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b4b5750612b4a82613338565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612c3983611687565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612c8b60076133a2565b905090565b6000612c9b82612b52565b612cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd190614b16565b60405180910390fd5b6000612ce583611687565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d5457508373ffffffffffffffffffffffffffffffffffffffff16612d3c84610cd3565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d655750612d648185612858565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d8e82611687565b73ffffffffffffffffffffffffffffffffffffffff1614612de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ddb90614c76565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4b90614a96565b60405180910390fd5b612e5f8383836133b0565b612e6a600082612bc6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612eba919061502a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f119190614f12565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612fd89190614fd0565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b82811015613124576130bb60076133b5565b6130ce826130c960076133a2565b6133cb565b8173ffffffffffffffffffffffffffffffffffffffff167f3c3284d117c92d0b1699230960384e794dcba184cc48ff114fe4fed20c9b056560405160405180910390a2808061311c9061518f565b9150506130a9565b505050565b613134848484612d6e565b613140848484846133e9565b61317f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317690614a36565b60405180910390fd5b50505050565b606060008214156131cd576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613333565b600082905060005b600082146131ff5780806131e89061518f565b915050600a826131f89190614f9f565b91506131d5565b60008167ffffffffffffffff811115613241577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132735781602001600182028036833780820191505090505b50905060008290508593505b6000841461332b57600a8461329491906151d8565b60306132a09190614f12565b60f81b82826132ae90615133565b925082815181106132e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a846133249190614f9f565b935061327f565b819450505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081600001549050919050565b505050565b6001816000016000828254019250508190555050565b6133e5828260405180602001604052806000815250613580565b5050565b600061340a8473ffffffffffffffffffffffffffffffffffffffff166135db565b15613573578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613433612bbe565b8786866040518563ffffffff1660e01b81526004016134559493929190614909565b602060405180830381600087803b15801561346f57600080fd5b505af19250505080156134a057506040513d601f19601f8201168201806040525081019061349d9190613bf7565b60015b613523573d80600081146134d0576040519150601f19603f3d011682016040523d82523d6000602084013e6134d5565b606091505b5060008151141561351b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351290614a36565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613578565b600190505b949350505050565b61358a83836135ee565b61359760008484846133e9565b6135d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135cd90614a36565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561365e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365590614bd6565b60405180910390fd5b61366781612b52565b156136a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369e90614a76565b60405180910390fd5b6136b3600083836133b0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137039190614f12565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546137c89061515d565b90600052602060002090601f0160209004810192826137ea5760008555613831565b82601f1061380357805160ff1916838001178555613831565b82800160010185558215613831579182015b82811115613830578251825591602001919060010190613815565b5b50905061383e9190613842565b5090565b5b8082111561385b576000816000905550600101613843565b5090565b600061387261386d84614ddd565b614dac565b90508281526020810184848401111561388a57600080fd5b6138958482856150f1565b509392505050565b60006138b06138ab84614e0d565b614dac565b9050828152602081018484840111156138c857600080fd5b6138d38482856150f1565b509392505050565b6000813590506138ea816152d6565b92915050565b6000813590506138ff816152ed565b92915050565b60008135905061391481615304565b92915050565b6000813590506139298161531b565b92915050565b60008151905061393e8161531b565b92915050565b600082601f83011261395557600080fd5b813561396584826020860161385f565b91505092915050565b600082601f83011261397f57600080fd5b813561398f84826020860161389d565b91505092915050565b6000813590506139a781615332565b92915050565b6000813590506139bc81615349565b92915050565b6000602082840312156139d457600080fd5b60006139e2848285016138db565b91505092915050565b600080604083850312156139fe57600080fd5b6000613a0c858286016138f0565b9250506020613a1d85828601613998565b9150509250929050565b60008060408385031215613a3a57600080fd5b6000613a48858286016138db565b9250506020613a59858286016138db565b9150509250929050565b600080600060608486031215613a7857600080fd5b6000613a86868287016138db565b9350506020613a97868287016138db565b9250506040613aa886828701613998565b9150509250925092565b60008060008060808587031215613ac857600080fd5b6000613ad6878288016138db565b9450506020613ae7878288016138db565b9350506040613af887828801613998565b925050606085013567ffffffffffffffff811115613b1557600080fd5b613b2187828801613944565b91505092959194509250565b60008060408385031215613b4057600080fd5b6000613b4e858286016138db565b9250506020613b5f85828601613905565b9150509250929050565b60008060408385031215613b7c57600080fd5b6000613b8a858286016138db565b9250506020613b9b85828601613998565b9150509250929050565b600060208284031215613bb757600080fd5b6000613bc584828501613905565b91505092915050565b600060208284031215613be057600080fd5b6000613bee8482850161391a565b91505092915050565b600060208284031215613c0957600080fd5b6000613c178482850161392f565b91505092915050565b600060208284031215613c3257600080fd5b600082013567ffffffffffffffff811115613c4c57600080fd5b613c588482850161396e565b91505092915050565b600060208284031215613c7357600080fd5b6000613c8184828501613998565b91505092915050565b60008060408385031215613c9d57600080fd5b6000613cab85828601613998565b9250506020613cbc85828601613998565b9150509250929050565b600060208284031215613cd857600080fd5b6000613ce6848285016139ad565b91505092915050565b60008060408385031215613d0257600080fd5b6000613d10858286016139ad565b9250506020613d21858286016138db565b9150509250929050565b600080600060608486031215613d4057600080fd5b6000613d4e868287016139ad565b9350506020613d5f868287016138db565b9250506040613d7086828701613998565b9150509250925092565b6000613d868383613daa565b60208301905092915050565b6000613d9e838361487d565b60208301905092915050565b613db381615070565b82525050565b613dc28161505e565b82525050565b6000613dd382614e72565b613ddd8185614eb8565b9350613de883614e3d565b8060005b83811015613e19578151613e008882613d7a565b9750613e0b83614e9e565b925050600181019050613dec565b5085935050505092915050565b6000613e3182614e7d565b613e3b8185614ec9565b9350613e4683614e4d565b8060005b83811015613e77578151613e5e8882613d92565b9750613e6983614eab565b925050600181019050613e4a565b5085935050505092915050565b613e8d81615082565b82525050565b6000613e9e82614e88565b613ea88185614eda565b9350613eb8818560208601615100565b613ec1816152c5565b840191505092915050565b6000613ed782614e93565b613ee18185614ef6565b9350613ef1818560208601615100565b613efa816152c5565b840191505092915050565b6000613f1082614e93565b613f1a8185614f07565b9350613f2a818560208601615100565b80840191505092915050565b60008154613f438161515d565b613f4d8186614f07565b94506001821660008114613f685760018114613f7957613fac565b60ff19831686528186019350613fac565b613f8285614e5d565b60005b83811015613fa457815481890152600182019150602081019050613f85565b838801955050505b50505092915050565b6000613fc2603283614ef6565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614028602683614ef6565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061408e601c83614ef6565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006140ce602483614ef6565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614134601983614ef6565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614174600983614ef6565b91507f4d6178206c696d697400000000000000000000000000000000000000000000006000830152602082019050919050565b60006141b4601283614ef6565b91507f53616c65206861736e74207374617274656400000000000000000000000000006000830152602082019050919050565b60006141f4602c83614ef6565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061425a603883614ef6565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006142c0602a83614ef6565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614326602983614ef6565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061438c601583614ef6565b91507f57686974656c697374206f6e6c79206d6574686f6400000000000000000000006000830152602082019050919050565b60006143cc601e83614ef6565b91507f4d41582057484954454c49535420414d4f554e542050555243484153454400006000830152602082019050919050565b600061440c602083614ef6565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061444c600883614ef6565b91507f53616c6520656e640000000000000000000000000000000000000000000000006000830152602082019050919050565b600061448c601483614ef6565b91507f4f6e6c7920476e6f7369732063616e2063616c6c0000000000000000000000006000830152602082019050919050565b60006144cc602c83614ef6565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614532600583614f07565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b6000614572602083614ef6565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006145b2602983614ef6565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614618602183614ef6565b91507f4d41582047454e4552414c2053414c4520414d4f554e5420505552434841534560008301527f44000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061467e601183614ef6565b91507f56616c75652062656c6f772070726963650000000000000000000000000000006000830152602082019050919050565b60006146be602183614ef6565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614724600083614eeb565b9150600082019050919050565b600061473e603183614ef6565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006147a4602383614ef6565b91507f4661696c656420746f2073656e6420746f20476e6f7369732077616c6c65742060008301527f65746800000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061480a601783614ef6565b91507f53656e646572206e6f74206f6e2077686974656c6973740000000000000000006000830152602082019050919050565b600061484a601683614ef6565b91507f4661696c656420746f2073656e6420616c6c20657468000000000000000000006000830152602082019050919050565b614886816150da565b82525050565b614895816150da565b82525050565b6148a4816150e4565b82525050565b60006148b68285613f36565b91506148c28284613f05565b91506148cd82614525565b91508190509392505050565b60006148e482614717565b9150819050919050565b60006020820190506149036000830184613db9565b92915050565b600060808201905061491e6000830187613db9565b61492b6020830186613db9565b614938604083018561488c565b818103606083015261494a8184613e93565b905095945050505050565b600060408201905061496a6000830185613db9565b614977602083018461488c565b9392505050565b600060208201905081810360008301526149988184613dc8565b905092915050565b600060408201905081810360008301526149ba8185613dc8565b905081810360208301526149ce8184613e26565b90509392505050565b600060208201905081810360008301526149f18184613e26565b905092915050565b6000602082019050614a0e6000830184613e84565b92915050565b60006020820190508181036000830152614a2e8184613ecc565b905092915050565b60006020820190508181036000830152614a4f81613fb5565b9050919050565b60006020820190508181036000830152614a6f8161401b565b9050919050565b60006020820190508181036000830152614a8f81614081565b9050919050565b60006020820190508181036000830152614aaf816140c1565b9050919050565b60006020820190508181036000830152614acf81614127565b9050919050565b60006020820190508181036000830152614aef81614167565b9050919050565b60006020820190508181036000830152614b0f816141a7565b9050919050565b60006020820190508181036000830152614b2f816141e7565b9050919050565b60006020820190508181036000830152614b4f8161424d565b9050919050565b60006020820190508181036000830152614b6f816142b3565b9050919050565b60006020820190508181036000830152614b8f81614319565b9050919050565b60006020820190508181036000830152614baf8161437f565b9050919050565b60006020820190508181036000830152614bcf816143bf565b9050919050565b60006020820190508181036000830152614bef816143ff565b9050919050565b60006020820190508181036000830152614c0f8161443f565b9050919050565b60006020820190508181036000830152614c2f8161447f565b9050919050565b60006020820190508181036000830152614c4f816144bf565b9050919050565b60006020820190508181036000830152614c6f81614565565b9050919050565b60006020820190508181036000830152614c8f816145a5565b9050919050565b60006020820190508181036000830152614caf8161460b565b9050919050565b60006020820190508181036000830152614ccf81614671565b9050919050565b60006020820190508181036000830152614cef816146b1565b9050919050565b60006020820190508181036000830152614d0f81614731565b9050919050565b60006020820190508181036000830152614d2f81614797565b9050919050565b60006020820190508181036000830152614d4f816147fd565b9050919050565b60006020820190508181036000830152614d6f8161483d565b9050919050565b6000602082019050614d8b600083018461488c565b92915050565b6000602082019050614da6600083018461489b565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614dd357614dd2615296565b5b8060405250919050565b600067ffffffffffffffff821115614df857614df7615296565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614e2857614e27615296565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f1d826150da565b9150614f28836150da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f5d57614f5c615209565b5b828201905092915050565b6000614f73826150e4565b9150614f7e836150e4565b92508260ff03821115614f9457614f93615209565b5b828201905092915050565b6000614faa826150da565b9150614fb5836150da565b925082614fc557614fc4615238565b5b828204905092915050565b6000614fdb826150da565b9150614fe6836150da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561501f5761501e615209565b5b828202905092915050565b6000615035826150da565b9150615040836150da565b92508282101561505357615052615209565b5b828203905092915050565b6000615069826150ba565b9050919050565b600061507b826150ba565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561511e578082015181840152602081019050615103565b8381111561512d576000848401525b50505050565b600061513e826150da565b9150600082141561515257615151615209565b5b600182039050919050565b6000600282049050600182168061517557607f821691505b6020821081141561518957615188615267565b5b50919050565b600061519a826150da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151cd576151cc615209565b5b600182019050919050565b60006151e3826150da565b91506151ee836150da565b9250826151fe576151fd615238565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6152df8161505e565b81146152ea57600080fd5b50565b6152f681615070565b811461530157600080fd5b50565b61530d81615082565b811461531857600080fd5b50565b6153248161508e565b811461532f57600080fd5b50565b61533b816150da565b811461534657600080fd5b50565b615352816150e4565b811461535d57600080fd5b5056fea2646970667358221220db1bf7512f8a7bb1226e7db2b339971957637103cb3c867f096c465a49eebfa464736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d53624c4755516464437757597632795371784b77676575594468316f744b316d696277355a426347667165652f706c616365686f6c6465722e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): https://gateway.pinata.cloud/ipfs/QmSbLGUQddCwWYv2ySqxKwgeuYDh1otK1mibw5ZBcGfqee/placeholder.json
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000061
Arg [2] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [3] : 732f516d53624c4755516464437757597632795371784b77676575594468316f
Arg [4] : 744b316d696277355a426347667165652f706c616365686f6c6465722e6a736f
Arg [5] : 6e00000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.