ERC-721
Source Code
NFT
Overview
Max Total Supply
2,507 SB
Holders
1,342
Transfers
-
0
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
SkaterBirds
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
contract SkaterBirds is ERC721A, ERC2981 {
using Strings for uint256;
struct Slot0 {
bool isRevealed;
uint8 mintPhase;
uint16 presaleSupply;
string baseURI;
string unrevealedURI;
bytes32 boardedList;
bytes32 doubleList;
bytes32 premintList;
uint256 publicMintPrice;
uint256 presaleMintPrice;
address owner;
}
struct Slot1 {
bool hasTeamMinted;
uint16 totalSupply;
uint16 totalMinted;
mapping(address => uint8) publicMintCounter;
mapping(address => uint8) presaleMintCounter;
}
Slot0 public slot0;
Slot1 public slot1;
constructor() ERC721A("Skater Birds", "SB") {
slot1.totalSupply = 3333;
slot1.totalMinted = 0;
slot0.presaleSupply = 2400;
slot0.mintPhase = 0;
slot0.isRevealed = false;
slot1.hasTeamMinted = false;
slot0
.unrevealedURI = "https://skatebirds.s3.us-west-1.amazonaws.com/prereveal/prereveal.json";
slot0
.boardedList = 0xd0fe73c4453d3de3d7a75f068a6f5231e460e966ffc47ae0e5210ea49b856393;
slot0
.doubleList = 0xada1bedf11ee976360d5d0de6322ca96c7b3b153aad2023de335daa27342d478;
slot0
.premintList = 0x75c0e6aad761c2488a7ec4d6627bcd7b64cb15cdf13f6bb2c849ca5516b5138e;
slot0.owner = msg.sender;
slot0.publicMintPrice = 0.125 ether;
slot0.presaleMintPrice = 0.088 ether;
_setDefaultRoyalty(0x288F8A8352574B8f6A25EBf05B87547450Af4542, 550);
}
modifier isPresale() {
require((slot0.mintPhase == 1 || slot0.mintPhase == 2), "Not Presale");
_;
}
modifier isRaffleMint() {
require(slot0.mintPhase == 2, "Not Raffle");
_;
}
modifier isPublicSale() {
require(slot0.mintPhase == 3, "Not Minting");
_;
}
modifier onlyOwner() {
require(msg.sender == slot0.owner, "Not Owner");
_;
}
modifier onlyOrigin() {
// disallow access from contracts
require(msg.sender == tx.origin, "No bot");
_;
}
/**
@notice uint controls list to update - 0: boarded, 1: double, 2: premint
*/
function setAllowList(bytes32 _root, uint8 list) external onlyOwner {
if (list == 0) {
slot0.boardedList = _root;
}
if (list == 1) {
slot0.doubleList = _root;
}
if (list == 2) {
slot0.premintList = _root;
}
}
function setPhase(uint8 _newPhase) external onlyOwner {
require(_newPhase < 4, "not valid phase");
slot0.mintPhase = _newPhase;
}
function setReveal(bool _newVal) external onlyOwner {
slot0.isRevealed = _newVal;
}
function setBaseURI(string calldata _newURI) external onlyOwner {
slot0.baseURI = _newURI;
}
function setUnrevealedURI(string calldata _newURI) external onlyOwner {
slot0.unrevealedURI = _newURI;
}
function transferOwnership(address _newOwner) external onlyOwner {
slot0.owner = _newOwner;
}
function updateRoyalty(address _newRecipient, uint96 _newFee)
external
onlyOwner
{
_setDefaultRoyalty(_newRecipient, _newFee);
}
function teamMint() external onlyOwner {
require(!slot1.hasTeamMinted, "already called");
slot1.totalMinted += 33;
slot1.hasTeamMinted = true;
_safeMint(msg.sender, 33);
}
function publicMint(uint8 quantity) external payable onlyOrigin isPublicSale {
uint256 value = msg.value;
address minter = msg.sender;
require(value >= (slot0.publicMintPrice * quantity), "Not Enough ETH");
require(
slot1.publicMintCounter[minter] + quantity <= 3,
"Too Many Mints"
);
require(
slot1.totalMinted + quantity <= slot1.totalSupply,
"Overflow ID"
);
slot1.publicMintCounter[minter] += quantity;
slot1.totalMinted += quantity;
_safeMint(minter, quantity);
}
function boardedMint(uint8 _quantity, bytes32[] memory _merkleProof)
external
payable
onlyOrigin
isPresale
{
uint256 value = msg.value;
address minter = msg.sender;
if (slot1.hasTeamMinted) {
require(
slot1.totalMinted + _quantity <= (slot0.presaleSupply + 33),
"Out of wl"
);
}
if (!slot1.hasTeamMinted) {
require(
slot1.totalMinted + _quantity <= slot0.presaleSupply,
"Out of wl"
);
}
bytes32 leaf = keccak256(abi.encodePacked(minter));
bool isBoarded = MerkleProof.verify(
_merkleProof,
slot0.boardedList,
leaf
);
require(isBoarded, "No wl");
require(_quantity <= 1, "Too many mints");
require(
slot1.presaleMintCounter[minter] + _quantity <= 1,
"Too many mints"
);
slot1.presaleMintCounter[minter] += _quantity;
slot1.totalMinted += _quantity;
require(value >= slot0.presaleMintPrice * _quantity, "wrong price");
_safeMint(minter, _quantity);
}
function doubleBoardedMint(uint8 _quantity, bytes32[] memory _merkleProof)
external
payable
onlyOrigin
isPresale
{
uint256 value = msg.value;
address minter = msg.sender;
if (slot1.hasTeamMinted) {
require(
slot1.totalMinted + _quantity <= (slot0.presaleSupply + 33),
"Out of wl"
);
}
if (!slot1.hasTeamMinted) {
require(
slot1.totalMinted + _quantity <= slot0.presaleSupply,
"Out of wl"
);
}
bytes32 leaf = keccak256(abi.encodePacked(minter));
bool isDouble = MerkleProof.verify(
_merkleProof,
slot0.doubleList,
leaf
);
require(isDouble, "no wl");
require(_quantity <= 2, "Too many mints");
require(
slot1.presaleMintCounter[minter] + _quantity <= 2,
"Too many mints"
);
slot1.presaleMintCounter[minter] += _quantity;
slot1.totalMinted += _quantity;
require(value >= slot0.presaleMintPrice * _quantity, "wrong price");
_safeMint(minter, _quantity);
}
function preMint(uint8 _quantity, bytes32[] memory _merkleProof)
external
payable
onlyOrigin
isRaffleMint
{
uint256 value = msg.value;
address minter = msg.sender;
require(_quantity <= 2, "Too many mints");
require(
slot1.presaleMintCounter[minter] + _quantity <= 2,
"Too many mints"
);
bytes32 leaf = keccak256(abi.encodePacked(minter));
bool ispreMint = MerkleProof.verify(
_merkleProof,
slot0.premintList,
leaf
);
require(ispreMint, "No wl");
slot1.presaleMintCounter[minter] += _quantity;
slot1.totalMinted += _quantity;
require(value >= _quantity * slot0.publicMintPrice, "wrong price");
_safeMint(minter, _quantity);
}
function tokenURI(uint256 _tokenID)
public
view
override
returns (string memory)
{
require(_tokenID <= slot1.totalMinted, "Unreal Token");
if (slot0.isRevealed) {
return string(abi.encodePacked(slot0.baseURI, _tokenID.toString()));
} else {
return string(abi.encodePacked(slot0.unrevealedURI));
}
}
function withdrawAll() external onlyOwner {
uint256 balance = address(this).balance;
require(balance > 0);
payable(msg.sender).transfer(address(this).balance);
}
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(ERC2981, ERC721A)
returns (bool)
{
return
interfaceId == type(IERC721A).interfaceId ||
interfaceId == type(IERC2981).interfaceId ||
super.supportsInterface(interfaceId);
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
*
* Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
*
* Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is Context, ERC165, IERC721A {
using Address for address;
using Strings for uint256;
// The tokenId of the next token to be minted.
uint256 internal _currentIndex;
// The number of tokens burned.
uint256 internal _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
mapping(uint256 => TokenOwnership) internal _ownerships;
// Mapping owner address to address data
mapping(address => AddressData) private _addressData;
// 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;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
/**
* To change the starting tokenId, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
*/
function totalSupply() public view override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than _currentIndex - _startTokenId() times
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view returns (uint256) {
// Counter underflow is impossible as _currentIndex does not decrement,
// and it is initialized to _startTokenId()
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @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 override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return uint256(_addressData[owner].balance);
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return uint256(_addressData[owner].numberMinted);
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return uint256(_addressData[owner].numberBurned);
}
/**
* Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
return _addressData[owner].aux;
}
/**
* Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal {
_addressData[owner].aux = aux;
}
/**
* Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around in the collection over time.
*/
function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr) if (curr < _currentIndex) {
TokenOwnership memory ownership = _ownerships[curr];
if (!ownership.burned) {
if (ownership.addr != address(0)) {
return ownership;
}
// Invariant:
// There will always be an ownership that has an address and is not burned
// before an ownership that does not have an address and is not burned.
// Hence, curr will not underflow.
while (true) {
curr--;
ownership = _ownerships[curr];
if (ownership.addr != address(0)) {
return ownership;
}
}
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return _ownershipOf(tokenId).addr;
}
/**
* @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) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
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 override {
address owner = ERC721A.ownerOf(tokenId);
if (to == owner) revert ApprovalToCurrentOwner();
if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_approve(to, tokenId, owner);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
if (operator == _msgSender()) revert ApproveToCaller();
_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 {
_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 {
_transfer(from, to, tokenId);
if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @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`),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
}
/**
* @dev Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal {
_safeMint(to, quantity, '');
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
if (to.isContract()) {
do {
emit Transfer(address(0), to, updatedIndex);
if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
} while (updatedIndex < end);
// Reentrancy protection
if (_currentIndex != startTokenId) revert();
} else {
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex < end);
}
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 quantity) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex < end);
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* 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
) private {
TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
bool isApprovedOrOwner = (_msgSender() == from ||
isApprovedForAll(from, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, from);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
unchecked {
_addressData[from].balance -= 1;
_addressData[to].balance += 1;
TokenOwnership storage currSlot = _ownerships[tokenId];
currSlot.addr = to;
currSlot.startTimestamp = uint64(block.timestamp);
// If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
TokenOwnership storage nextSlot = _ownerships[nextTokenId];
if (nextSlot.addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId != _currentIndex) {
nextSlot.addr = from;
nextSlot.startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Equivalent to `_burn(tokenId, false)`.
*/
function _burn(uint256 tokenId) internal virtual {
_burn(tokenId, false);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
address from = prevOwnership.addr;
if (approvalCheck) {
bool isApprovedOrOwner = (_msgSender() == from ||
isApprovedForAll(from, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
}
_beforeTokenTransfers(from, address(0), tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, from);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
unchecked {
AddressData storage addressData = _addressData[from];
addressData.balance -= 1;
addressData.numberBurned += 1;
// Keep track of who burned the token, and the timestamp of burning.
TokenOwnership storage currSlot = _ownerships[tokenId];
currSlot.addr = from;
currSlot.startTimestamp = uint64(block.timestamp);
currSlot.burned = true;
// If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
TokenOwnership storage nextSlot = _ownerships[nextTokenId];
if (nextSlot.addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId != _currentIndex) {
nextSlot.addr = from;
nextSlot.startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, address(0), tokenId);
_afterTokenTransfers(from, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(
address to,
uint256 tokenId,
address owner
) private {
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
* And also called before burning one token.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* 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, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
* minting.
* And also called after one token has been burned.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*
* WARNING: You should avoid using leaf values that are 64 bytes long prior to
* hashing, or use a hash function other than keccak256 for hashing leaves.
* This is because the concatenation of a sorted pair of internal nodes in
* the merkle tree could be reinterpreted as a leaf value.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = _efficientHash(computedHash, proofElement);
} else {
// Hash(current element of the proof + current computed hash)
computedHash = _efficientHash(proofElement, computedHash);
}
}
return computedHash;
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)
pragma solidity ^0.8.0;
import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
*
* Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
* specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
*
* Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
* fee is specified in basis points by default.
*
* IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
* https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
* voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
*
* _Available since v4.5._
*/
abstract contract ERC2981 is IERC2981, ERC165 {
struct RoyaltyInfo {
address receiver;
uint96 royaltyFraction;
}
RoyaltyInfo private _defaultRoyaltyInfo;
mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @inheritdoc IERC2981
*/
function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];
if (royalty.receiver == address(0)) {
royalty = _defaultRoyaltyInfo;
}
uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();
return (royalty.receiver, royaltyAmount);
}
/**
* @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
* fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
* override.
*/
function _feeDenominator() internal pure virtual returns (uint96) {
return 10000;
}
/**
* @dev Sets the royalty information that all ids in this contract will default to.
*
* Requirements:
*
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
require(receiver != address(0), "ERC2981: invalid receiver");
_defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
}
/**
* @dev Removes default royalty information.
*/
function _deleteDefaultRoyalty() internal virtual {
delete _defaultRoyaltyInfo;
}
/**
* @dev Sets the royalty information for a specific token id, overriding the global default.
*
* Requirements:
*
* - `tokenId` must be already minted.
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setTokenRoyalty(
uint256 tokenId,
address receiver,
uint96 feeNumerator
) internal virtual {
require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
require(receiver != address(0), "ERC2981: Invalid parameters");
_tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
}
/**
* @dev Resets royalty information for the token id back to the global default.
*/
function _resetTokenRoyalty(uint256 tokenId) internal virtual {
delete _tokenRoyaltyInfo[tokenId];
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
/**
* @dev Interface of an ERC721A compliant contract.
*/
interface IERC721A is IERC721, IERC721Metadata {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* The caller cannot approve to their own address.
*/
error ApproveToCaller();
/**
* The caller cannot approve to the current owner.
*/
error ApprovalToCurrentOwner();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
// Compiler will pack this into a single 256bit word.
struct TokenOwnership {
// The address of the owner.
address addr;
// Keeps track of the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
}
// Compiler will pack this into a single 256bit word.
struct AddressData {
// Realistically, 2**64-1 is more than enough.
uint64 balance;
// Keeps track of mint count with minimal overhead for tokenomics.
uint64 numberMinted;
// Keeps track of burn count with minimal overhead for tokenomics.
uint64 numberBurned;
// For miscellaneous variable(s) pertaining to the address
// (e.g. number of whitelist mint slots used).
// If there are multiple variables, please pack them into a uint64.
uint64 aux;
}
/**
* @dev Returns the total amount of tokens stored by the contract.
*
* Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
*/
function totalSupply() external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* 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;
/**
* @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 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 the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)
pragma solidity ^0.8.0;
import "../utils/introspection/IERC165.sol";
/**
* @dev Interface for the NFT Royalty Standard.
*
* A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
* support for royalty payments across all NFT marketplaces and ecosystem participants.
*
* _Available since v4.5._
*/
interface IERC2981 is IERC165 {
/**
* @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
* exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
*/
function royaltyInfo(uint256 tokenId, uint256 salePrice)
external
view
returns (address receiver, uint256 royaltyAmount);
}{
"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":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_quantity","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"boardedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_quantity","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"doubleBoardedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_quantity","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","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":[{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"uint8","name":"list","type":"uint8"}],"name":"setAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newPhase","type":"uint8"}],"name":"setPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newVal","type":"bool"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slot0","outputs":[{"internalType":"bool","name":"isRevealed","type":"bool"},{"internalType":"uint8","name":"mintPhase","type":"uint8"},{"internalType":"uint16","name":"presaleSupply","type":"uint16"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"unrevealedURI","type":"string"},{"internalType":"bytes32","name":"boardedList","type":"bytes32"},{"internalType":"bytes32","name":"doubleList","type":"bytes32"},{"internalType":"bytes32","name":"premintList","type":"bytes32"},{"internalType":"uint256","name":"publicMintPrice","type":"uint256"},{"internalType":"uint256","name":"presaleMintPrice","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slot1","outputs":[{"internalType":"bool","name":"hasTeamMinted","type":"bool"},{"internalType":"uint16","name":"totalSupply","type":"uint16"},{"internalType":"uint16","name":"totalMinted","type":"uint16"}],"stateMutability":"view","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":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newRecipient","type":"address"},{"internalType":"uint96","name":"_newFee","type":"uint96"}],"name":"updateRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600c81526020017f536b6174657220426972647300000000000000000000000000000000000000008152506040518060400160405280600281526020017f53420000000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000969291906200048d565b508060039080519060200190620000af9291906200048d565b50620000c0620002da60201b60201c565b6000819055505050610d05601360000160016101000a81548161ffff021916908361ffff1602179055506000601360000160036101000a81548161ffff021916908361ffff160217905550610960600a60000160026101000a81548161ffff021916908361ffff1602179055506000600a60000160016101000a81548160ff021916908360ff1602179055506000600a60000160006101000a81548160ff0219169083151502179055506000601360000160006101000a81548160ff02191690831515021790555060405180608001604052806046815260200162005cd160469139600a6002019080519060200190620001bc9291906200048d565b507fd0fe73c4453d3de3d7a75f068a6f5231e460e966ffc47ae0e5210ea49b85639360001b600a600301819055507fada1bedf11ee976360d5d0de6322ca96c7b3b153aad2023de335daa27342d47860001b600a600401819055507f75c0e6aad761c2488a7ec4d6627bcd7b64cb15cdf13f6bb2c849ca5516b5138e60001b600a6005018190555033600a60080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506701bc16d674ec8000600a60060181905550670138a388a43c0000600a60070181905550620002d473288f8a8352574b8f6a25ebf05b87547450af4542610226620002df60201b60201c565b620006bd565b600090565b620002ef6200048360201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000350576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200034790620005c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ba9062000636565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b8280546200049b9062000687565b90600052602060002090601f016020900481019282620004bf57600085556200050b565b82601f10620004da57805160ff19168380011785556200050b565b828001600101855582156200050b579182015b828111156200050a578251825591602001919060010190620004ed565b5b5090506200051a91906200051e565b5090565b5b80821115620005395760008160009055506001016200051f565b5090565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000620005ac602a836200053d565b9150620005b9826200054e565b604082019050919050565b60006020820190508181036000830152620005df816200059d565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006200061e6019836200053d565b91506200062b82620005e6565b602082019050919050565b6000602082019050818103600083015262000651816200060f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006a057607f821691505b60208210811415620006b757620006b662000658565b5b50919050565b61560480620006cd6000396000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f7578063b88d4fde11610095578063daa83c6d11610064578063daa83c6d14610633578063e985e9c51461065c578063f2fde38b14610699578063fe2c7fee146106c2576101cd565b8063b88d4fde1461058d578063ba7a86b8146105b6578063c03afb59146105cd578063c87b56dd146105f6576101cd565b80638f2b1d98116100d15780638f2b1d981461050157806395d89b411461051d578063a22cb46514610548578063a48a3cc414610571576101cd565b806370a0823114610491578063853828b6146104ce578063858e83b5146104e5576101cd565b80632a3f300c1161016f57806355f804b31161013e57806355f804b3146103e657806356606a8d1461040f5780636352211e1461042b57806365f7ad3014610468576101cd565b80632a3f300c146103215780632a55205a1461034a5780633850c7bd1461038857806342842e0e146103bd576101cd565b8063095ea7b3116101ab578063095ea7b31461027757806318160ddd146102a05780631f457cb5146102cb57806323b872dd146102f8576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190613e8f565b6106eb565b6040516102069190613ed7565b60405180910390f35b34801561021b57600080fd5b506102246107cd565b6040516102319190613f8b565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c9190613fe3565b61085f565b60405161026e9190614051565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190614098565b6108db565b005b3480156102ac57600080fd5b506102b56109e0565b6040516102c291906140e7565b60405180910390f35b3480156102d757600080fd5b506102e06109f7565b6040516102ef9392919061411f565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190614156565b610a38565b005b34801561032d57600080fd5b50610348600480360381019061034391906141d5565b610a48565b005b34801561035657600080fd5b50610371600480360381019061036c9190614202565b610afb565b60405161037f929190614242565b60405180910390f35b34801561039457600080fd5b5061039d610ce6565b6040516103b49b9a999897969594939291906142a0565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df9190614156565b610e86565b005b3480156103f257600080fd5b5061040d600480360381019061040891906143be565b610ea6565b005b610429600480360381019061042491906145a1565b610f52565b005b34801561043757600080fd5b50610452600480360381019061044d9190613fe3565b6112a9565b60405161045f9190614051565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a91906145fd565b6112bf565b005b34801561049d57600080fd5b506104b860048036038101906104b3919061463d565b61139b565b6040516104c591906140e7565b60405180910390f35b3480156104da57600080fd5b506104e361146b565b005b6104ff60048036038101906104fa919061466a565b61155a565b005b61051b600480360381019061051691906145a1565b611867565b005b34801561052957600080fd5b50610532611d19565b60405161053f9190613f8b565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a9190614697565b611dab565b005b61058b600480360381019061058691906145a1565b611f23565b005b34801561059957600080fd5b506105b460048036038101906105af919061478c565b6123d5565b005b3480156105c257600080fd5b506105cb61244d565b005b3480156105d957600080fd5b506105f460048036038101906105ef919061466a565b61259b565b005b34801561060257600080fd5b5061061d60048036038101906106189190613fe3565b612695565b60405161062a9190613f8b565b60405180910390f35b34801561063f57600080fd5b5061065a60048036038101906106559190614853565b61276a565b005b34801561066857600080fd5b50610683600480360381019061067e9190614893565b61280b565b6040516106909190613ed7565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb919061463d565b61289f565b005b3480156106ce57600080fd5b506106e960048036038101906106e491906143be565b612979565b005b60007f18160ddd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107b657507f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107c657506107c582612a25565b5b9050919050565b6060600280546107dc90614902565b80601f016020809104026020016040519081016040528092919081815260200182805461080890614902565b80156108555780601f1061082a57610100808354040283529160200191610855565b820191906000526020600020905b81548152906001019060200180831161083857829003601f168201915b5050505050905090565b600061086a82612a9f565b6108a0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108e6826112a9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561094e576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661096d612aed565b73ffffffffffffffffffffffffffffffffffffffff16146109d05761099981610994612aed565b61280b565b6109cf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b6109db838383612af5565b505050565b60006109ea612ba7565b6001546000540303905090565b60138060000160009054906101000a900460ff16908060000160019054906101000a900461ffff16908060000160039054906101000a900461ffff16905083565b610a43838383612bac565b505050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad290614980565b60405180910390fd5b80600a60000160006101000a81548160ff02191690831515021790555050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610c915760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610c9b613062565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610cc791906149cf565b610cd19190614a58565b90508160000151819350935050509250929050565b600a8060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900461ffff1690806001018054610d3190614902565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5d90614902565b8015610daa5780601f10610d7f57610100808354040283529160200191610daa565b820191906000526020600020905b815481529060010190602001808311610d8d57829003601f168201915b505050505090806002018054610dbf90614902565b80601f0160208091040260200160405190810160405280929190818152602001828054610deb90614902565b8015610e385780601f10610e0d57610100808354040283529160200191610e38565b820191906000526020600020905b815481529060010190602001808311610e1b57829003601f168201915b5050505050908060030154908060040154908060050154908060060154908060070154908060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508b565b610ea1838383604051806020016040528060008152506123d5565b505050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3090614980565b60405180910390fd5b8181600a6001019190610f4d929190613d3d565b505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790614ad5565b60405180910390fd5b6002600a60000160019054906101000a900460ff1660ff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90614b41565b60405180910390fd5b6000349050600033905060028460ff161115611069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106090614bad565b60405180910390fd5b600284601360020160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166110c69190614bcd565b60ff16111561110a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110190614bad565b60405180910390fd5b60008160405160200161111d9190614c4c565b604051602081830303815290604052805190602001209050600061114785600a600501548461306c565b905080611189576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118090614cb3565b60405180910390fd5b85601360020160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166111e79190614bcd565b92506101000a81548160ff021916908360ff1602179055508560ff16601360000160038282829054906101000a900461ffff166112249190614cd3565b92506101000a81548161ffff021916908361ffff160217905550600a600601548660ff1661125291906149cf565b841015611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b90614d57565b60405180910390fd5b6112a1838760ff16613083565b505050505050565b60006112b4826130a1565b600001519050919050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134990614980565b60405180910390fd5b60008160ff1614156113695781600a600301819055505b60018160ff1614156113805781600a600401819055505b60028160ff1614156113975781600a600501819055505b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611403576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f590614980565b60405180910390fd5b60004790506000811161151057600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611556573d6000803e3d6000fd5b5050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90614ad5565b60405180910390fd5b6003600a60000160019054906101000a900460ff1660ff1614611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790614dc3565b60405180910390fd5b600034905060003390508260ff16600a6006015461163e91906149cf565b821015611680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167790614e2f565b60405180910390fd5b600383601360010160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116dd9190614bcd565b60ff161115611721576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171890614e9b565b60405180910390fd5b601360000160019054906101000a900461ffff1661ffff168360ff16601360000160039054906101000a900461ffff1661175b9190614cd3565b61ffff1611156117a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179790614f07565b60405180910390fd5b82601360010160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166117fe9190614bcd565b92506101000a81548160ff021916908360ff1602179055508260ff16601360000160038282829054906101000a900461ffff1661183b9190614cd3565b92506101000a81548161ffff021916908361ffff160217905550611862818460ff16613083565b505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cc90614ad5565b60405180910390fd5b6001600a60000160019054906101000a900460ff1660ff16148061190e57506002600a60000160019054906101000a900460ff1660ff16145b61194d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194490614f73565b60405180910390fd5b60003490506000339050601360000160009054906101000a900460ff16156119fb576021600a60000160029054906101000a900461ffff1661198f9190614cd3565b61ffff168460ff16601360000160039054906101000a900461ffff166119b59190614cd3565b61ffff1611156119fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f190614fdf565b60405180910390fd5b5b601360000160009054906101000a900460ff16611a9257600a60000160029054906101000a900461ffff1661ffff168460ff16601360000160039054906101000a900461ffff16611a4c9190614cd3565b61ffff161115611a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8890614fdf565b60405180910390fd5b5b600081604051602001611aa59190614c4c565b6040516020818303038152906040528051906020012090506000611acf85600a600301548461306c565b905080611b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0890614cb3565b60405180910390fd5b60018660ff161115611b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4f90614bad565b60405180910390fd5b600186601360020160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bb59190614bcd565b60ff161115611bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf090614bad565b60405180910390fd5b85601360020160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611c579190614bcd565b92506101000a81548160ff021916908360ff1602179055508560ff16601360000160038282829054906101000a900461ffff16611c949190614cd3565b92506101000a81548161ffff021916908361ffff1602179055508560ff16600a60070154611cc291906149cf565b841015611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb90614d57565b60405180910390fd5b611d11838760ff16613083565b505050505050565b606060038054611d2890614902565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5490614902565b8015611da15780601f10611d7657610100808354040283529160200191611da1565b820191906000526020600020905b815481529060010190602001808311611d8457829003601f168201915b5050505050905090565b611db3612aed565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e18576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e25612aed565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ed2612aed565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f179190613ed7565b60405180910390a35050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8890614ad5565b60405180910390fd5b6001600a60000160019054906101000a900460ff1660ff161480611fca57506002600a60000160019054906101000a900460ff1660ff16145b612009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200090614f73565b60405180910390fd5b60003490506000339050601360000160009054906101000a900460ff16156120b7576021600a60000160029054906101000a900461ffff1661204b9190614cd3565b61ffff168460ff16601360000160039054906101000a900461ffff166120719190614cd3565b61ffff1611156120b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ad90614fdf565b60405180910390fd5b5b601360000160009054906101000a900460ff1661214e57600a60000160029054906101000a900461ffff1661ffff168460ff16601360000160039054906101000a900461ffff166121089190614cd3565b61ffff16111561214d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214490614fdf565b60405180910390fd5b5b6000816040516020016121619190614c4c565b604051602081830303815290604052805190602001209050600061218b85600a600401548461306c565b9050806121cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c49061504b565b60405180910390fd5b60028660ff161115612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220b90614bad565b60405180910390fd5b600286601360020160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166122719190614bcd565b60ff1611156122b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ac90614bad565b60405180910390fd5b85601360020160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166123139190614bcd565b92506101000a81548160ff021916908360ff1602179055508560ff16601360000160038282829054906101000a900461ffff166123509190614cd3565b92506101000a81548161ffff021916908361ffff1602179055508560ff16600a6007015461237e91906149cf565b8410156123c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b790614d57565b60405180910390fd5b6123cd838760ff16613083565b505050505050565b6123e0848484612bac565b6123ff8373ffffffffffffffffffffffffffffffffffffffff1661332c565b15612447576124108484848461334f565b612446576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146124e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d790614980565b60405180910390fd5b601360000160009054906101000a900460ff1615612533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252a906150b7565b60405180910390fd5b6021601360000160038282829054906101000a900461ffff166125569190614cd3565b92506101000a81548161ffff021916908361ffff1602179055506001601360000160006101000a81548160ff021916908315150217905550612599336021613083565b565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461262e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262590614980565b60405180910390fd5b60048160ff1610612674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266b90615123565b60405180910390fd5b80600a60000160016101000a81548160ff021916908360ff16021790555050565b6060601360000160039054906101000a900461ffff1661ffff168211156126f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e89061518f565b60405180910390fd5b600a60000160009054906101000a900460ff161561273e57600a600101612717836134a0565b60405160200161272892919061527f565b6040516020818303038152906040529050612765565b600a60020160405160200161275391906152a3565b60405160208183030381529060405290505b919050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146127fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f490614980565b60405180910390fd5b6128078282613601565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292990614980565b60405180910390fd5b80600a60080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0390614980565b60405180910390fd5b8181600a6002019190612a20929190613d3d565b505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a985750612a9782613797565b5b9050919050565b600081612aaa612ba7565b11158015612ab9575060005482105b8015612ae6575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000612bb7826130a1565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c22576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612c43612aed565b73ffffffffffffffffffffffffffffffffffffffff161480612c725750612c7185612c6c612aed565b61280b565b5b80612cb75750612c80612aed565b73ffffffffffffffffffffffffffffffffffffffff16612c9f8461085f565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612cf0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d57576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d648585856001613879565b612d7060008487612af5565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612ff0576000548214612fef57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461305b858585600161387f565b5050505050565b6000612710905090565b6000826130798584613885565b1490509392505050565b61309d8282604051806020016040528060008152506138fa565b5050565b6130a9613dc3565b6000829050806130b7612ba7565b116132f5576000548110156132f4576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516132f257600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146131d6578092505050613327565b5b6001156132f157818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146132ec578092505050613327565b6131d7565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613375612aed565b8786866040518563ffffffff1660e01b8152600401613397949392919061530f565b6020604051808303816000875af19250505080156133d357506040513d601f19601f820116820180604052508101906133d09190615370565b60015b61344d573d8060008114613403576040519150601f19603f3d011682016040523d82523d6000602084013e613408565b606091505b50600081511415613445576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156134e8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135fc565b600082905060005b6000821461351a5780806135039061539d565b915050600a826135139190614a58565b91506134f0565b60008167ffffffffffffffff81111561353657613535614437565b5b6040519080825280601f01601f1916602001820160405280156135685781602001600182028036833780820191505090505b5090505b600085146135f55760018261358191906153e6565b9150600a85613590919061541a565b603061359c919061544b565b60f81b8183815181106135b2576135b16154a1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135ee9190614a58565b945061356c565b8093505050505b919050565b613609613062565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115613667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365e90615542565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ce906155ae565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061386257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613872575061387182613cbc565b5b9050919050565b50505050565b50505050565b60008082905060005b84518110156138ef5760008582815181106138ac576138ab6154a1565b5b602002602001015190508083116138ce576138c78382613d26565b92506138db565b6138d88184613d26565b92505b5080806138e79061539d565b91505061388e565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613967576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156139a2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6139af6000858386613879565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050613b708673ffffffffffffffffffffffffffffffffffffffff1661332c565b15613c35575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613be5600087848060010195508761334f565b613c1b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210613b76578260005414613c3057600080fd5b613ca0565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613c36575b816000819055505050613cb6600085838661387f565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600082600052816020526040600020905092915050565b828054613d4990614902565b90600052602060002090601f016020900481019282613d6b5760008555613db2565b82601f10613d8457803560ff1916838001178555613db2565b82800160010185558215613db2579182015b82811115613db1578235825591602001919060010190613d96565b5b509050613dbf9190613e06565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613e1f576000816000905550600101613e07565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e6c81613e37565b8114613e7757600080fd5b50565b600081359050613e8981613e63565b92915050565b600060208284031215613ea557613ea4613e2d565b5b6000613eb384828501613e7a565b91505092915050565b60008115159050919050565b613ed181613ebc565b82525050565b6000602082019050613eec6000830184613ec8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f2c578082015181840152602081019050613f11565b83811115613f3b576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f5d82613ef2565b613f678185613efd565b9350613f77818560208601613f0e565b613f8081613f41565b840191505092915050565b60006020820190508181036000830152613fa58184613f52565b905092915050565b6000819050919050565b613fc081613fad565b8114613fcb57600080fd5b50565b600081359050613fdd81613fb7565b92915050565b600060208284031215613ff957613ff8613e2d565b5b600061400784828501613fce565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061403b82614010565b9050919050565b61404b81614030565b82525050565b60006020820190506140666000830184614042565b92915050565b61407581614030565b811461408057600080fd5b50565b6000813590506140928161406c565b92915050565b600080604083850312156140af576140ae613e2d565b5b60006140bd85828601614083565b92505060206140ce85828601613fce565b9150509250929050565b6140e181613fad565b82525050565b60006020820190506140fc60008301846140d8565b92915050565b600061ffff82169050919050565b61411981614102565b82525050565b60006060820190506141346000830186613ec8565b6141416020830185614110565b61414e6040830184614110565b949350505050565b60008060006060848603121561416f5761416e613e2d565b5b600061417d86828701614083565b935050602061418e86828701614083565b925050604061419f86828701613fce565b9150509250925092565b6141b281613ebc565b81146141bd57600080fd5b50565b6000813590506141cf816141a9565b92915050565b6000602082840312156141eb576141ea613e2d565b5b60006141f9848285016141c0565b91505092915050565b6000806040838503121561421957614218613e2d565b5b600061422785828601613fce565b925050602061423885828601613fce565b9150509250929050565b60006040820190506142576000830185614042565b61426460208301846140d8565b9392505050565b600060ff82169050919050565b6142818161426b565b82525050565b6000819050919050565b61429a81614287565b82525050565b6000610160820190506142b6600083018e613ec8565b6142c3602083018d614278565b6142d0604083018c614110565b81810360608301526142e2818b613f52565b905081810360808301526142f6818a613f52565b905061430560a0830189614291565b61431260c0830188614291565b61431f60e0830187614291565b61432d6101008301866140d8565b61433b6101208301856140d8565b614349610140830184614042565b9c9b505050505050505050505050565b600080fd5b600080fd5b600080fd5b60008083601f84011261437e5761437d614359565b5b8235905067ffffffffffffffff81111561439b5761439a61435e565b5b6020830191508360018202830111156143b7576143b6614363565b5b9250929050565b600080602083850312156143d5576143d4613e2d565b5b600083013567ffffffffffffffff8111156143f3576143f2613e32565b5b6143ff85828601614368565b92509250509250929050565b6144148161426b565b811461441f57600080fd5b50565b6000813590506144318161440b565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61446f82613f41565b810181811067ffffffffffffffff8211171561448e5761448d614437565b5b80604052505050565b60006144a1613e23565b90506144ad8282614466565b919050565b600067ffffffffffffffff8211156144cd576144cc614437565b5b602082029050602081019050919050565b6144e781614287565b81146144f257600080fd5b50565b600081359050614504816144de565b92915050565b600061451d614518846144b2565b614497565b905080838252602082019050602084028301858111156145405761453f614363565b5b835b81811015614569578061455588826144f5565b845260208401935050602081019050614542565b5050509392505050565b600082601f83011261458857614587614359565b5b813561459884826020860161450a565b91505092915050565b600080604083850312156145b8576145b7613e2d565b5b60006145c685828601614422565b925050602083013567ffffffffffffffff8111156145e7576145e6613e32565b5b6145f385828601614573565b9150509250929050565b6000806040838503121561461457614613613e2d565b5b6000614622858286016144f5565b925050602061463385828601614422565b9150509250929050565b60006020828403121561465357614652613e2d565b5b600061466184828501614083565b91505092915050565b6000602082840312156146805761467f613e2d565b5b600061468e84828501614422565b91505092915050565b600080604083850312156146ae576146ad613e2d565b5b60006146bc85828601614083565b92505060206146cd858286016141c0565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156146f7576146f6614437565b5b61470082613f41565b9050602081019050919050565b82818337600083830152505050565b600061472f61472a846146dc565b614497565b90508281526020810184848401111561474b5761474a6146d7565b5b61475684828561470d565b509392505050565b600082601f83011261477357614772614359565b5b813561478384826020860161471c565b91505092915050565b600080600080608085870312156147a6576147a5613e2d565b5b60006147b487828801614083565b94505060206147c587828801614083565b93505060406147d687828801613fce565b925050606085013567ffffffffffffffff8111156147f7576147f6613e32565b5b6148038782880161475e565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b6148308161480f565b811461483b57600080fd5b50565b60008135905061484d81614827565b92915050565b6000806040838503121561486a57614869613e2d565b5b600061487885828601614083565b92505060206148898582860161483e565b9150509250929050565b600080604083850312156148aa576148a9613e2d565b5b60006148b885828601614083565b92505060206148c985828601614083565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061491a57607f821691505b6020821081141561492e5761492d6148d3565b5b50919050565b7f4e6f74204f776e65720000000000000000000000000000000000000000000000600082015250565b600061496a600983613efd565b915061497582614934565b602082019050919050565b600060208201905081810360008301526149998161495d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149da82613fad565b91506149e583613fad565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a1e57614a1d6149a0565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a6382613fad565b9150614a6e83613fad565b925082614a7e57614a7d614a29565b5b828204905092915050565b7f4e6f20626f740000000000000000000000000000000000000000000000000000600082015250565b6000614abf600683613efd565b9150614aca82614a89565b602082019050919050565b60006020820190508181036000830152614aee81614ab2565b9050919050565b7f4e6f7420526166666c6500000000000000000000000000000000000000000000600082015250565b6000614b2b600a83613efd565b9150614b3682614af5565b602082019050919050565b60006020820190508181036000830152614b5a81614b1e565b9050919050565b7f546f6f206d616e79206d696e7473000000000000000000000000000000000000600082015250565b6000614b97600e83613efd565b9150614ba282614b61565b602082019050919050565b60006020820190508181036000830152614bc681614b8a565b9050919050565b6000614bd88261426b565b9150614be38361426b565b92508260ff03821115614bf957614bf86149a0565b5b828201905092915050565b60008160601b9050919050565b6000614c1c82614c04565b9050919050565b6000614c2e82614c11565b9050919050565b614c46614c4182614030565b614c23565b82525050565b6000614c588284614c35565b60148201915081905092915050565b7f4e6f20776c000000000000000000000000000000000000000000000000000000600082015250565b6000614c9d600583613efd565b9150614ca882614c67565b602082019050919050565b60006020820190508181036000830152614ccc81614c90565b9050919050565b6000614cde82614102565b9150614ce983614102565b92508261ffff03821115614d0057614cff6149a0565b5b828201905092915050565b7f77726f6e67207072696365000000000000000000000000000000000000000000600082015250565b6000614d41600b83613efd565b9150614d4c82614d0b565b602082019050919050565b60006020820190508181036000830152614d7081614d34565b9050919050565b7f4e6f74204d696e74696e67000000000000000000000000000000000000000000600082015250565b6000614dad600b83613efd565b9150614db882614d77565b602082019050919050565b60006020820190508181036000830152614ddc81614da0565b9050919050565b7f4e6f7420456e6f75676820455448000000000000000000000000000000000000600082015250565b6000614e19600e83613efd565b9150614e2482614de3565b602082019050919050565b60006020820190508181036000830152614e4881614e0c565b9050919050565b7f546f6f204d616e79204d696e7473000000000000000000000000000000000000600082015250565b6000614e85600e83613efd565b9150614e9082614e4f565b602082019050919050565b60006020820190508181036000830152614eb481614e78565b9050919050565b7f4f766572666c6f77204944000000000000000000000000000000000000000000600082015250565b6000614ef1600b83613efd565b9150614efc82614ebb565b602082019050919050565b60006020820190508181036000830152614f2081614ee4565b9050919050565b7f4e6f742050726573616c65000000000000000000000000000000000000000000600082015250565b6000614f5d600b83613efd565b9150614f6882614f27565b602082019050919050565b60006020820190508181036000830152614f8c81614f50565b9050919050565b7f4f7574206f6620776c0000000000000000000000000000000000000000000000600082015250565b6000614fc9600983613efd565b9150614fd482614f93565b602082019050919050565b60006020820190508181036000830152614ff881614fbc565b9050919050565b7f6e6f20776c000000000000000000000000000000000000000000000000000000600082015250565b6000615035600583613efd565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f616c72656164792063616c6c6564000000000000000000000000000000000000600082015250565b60006150a1600e83613efd565b91506150ac8261506b565b602082019050919050565b600060208201905081810360008301526150d081615094565b9050919050565b7f6e6f742076616c69642070686173650000000000000000000000000000000000600082015250565b600061510d600f83613efd565b9150615118826150d7565b602082019050919050565b6000602082019050818103600083015261513c81615100565b9050919050565b7f556e7265616c20546f6b656e0000000000000000000000000000000000000000600082015250565b6000615179600c83613efd565b915061518482615143565b602082019050919050565b600060208201905081810360008301526151a88161516c565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546151dc81614902565b6151e681866151af565b94506001821660008114615201576001811461521257615245565b60ff19831686528186019350615245565b61521b856151ba565b60005b8381101561523d5781548189015260018201915060208101905061521e565b838801955050505b50505092915050565b600061525982613ef2565b61526381856151af565b9350615273818560208601613f0e565b80840191505092915050565b600061528b82856151cf565b9150615297828461524e565b91508190509392505050565b60006152af82846151cf565b915081905092915050565b600081519050919050565b600082825260208201905092915050565b60006152e1826152ba565b6152eb81856152c5565b93506152fb818560208601613f0e565b61530481613f41565b840191505092915050565b60006080820190506153246000830187614042565b6153316020830186614042565b61533e60408301856140d8565b818103606083015261535081846152d6565b905095945050505050565b60008151905061536a81613e63565b92915050565b60006020828403121561538657615385613e2d565b5b60006153948482850161535b565b91505092915050565b60006153a882613fad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153db576153da6149a0565b5b600182019050919050565b60006153f182613fad565b91506153fc83613fad565b92508282101561540f5761540e6149a0565b5b828203905092915050565b600061542582613fad565b915061543083613fad565b9250826154405761543f614a29565b5b828206905092915050565b600061545682613fad565b915061546183613fad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615496576154956149a0565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600061552c602a83613efd565b9150615537826154d0565b604082019050919050565b6000602082019050818103600083015261555b8161551f565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615598601983613efd565b91506155a382615562565b602082019050919050565b600060208201905081810360008301526155c78161558b565b905091905056fea26469706673582212209bfcd533bb91ba5ce64a9b2bece18ea495ad72b84964e19a9ad52e6bbf6dc33264736f6c634300080c003368747470733a2f2f736b61746562697264732e73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f70726572657665616c2f70726572657665616c2e6a736f6e
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c806370a08231116100f7578063b88d4fde11610095578063daa83c6d11610064578063daa83c6d14610633578063e985e9c51461065c578063f2fde38b14610699578063fe2c7fee146106c2576101cd565b8063b88d4fde1461058d578063ba7a86b8146105b6578063c03afb59146105cd578063c87b56dd146105f6576101cd565b80638f2b1d98116100d15780638f2b1d981461050157806395d89b411461051d578063a22cb46514610548578063a48a3cc414610571576101cd565b806370a0823114610491578063853828b6146104ce578063858e83b5146104e5576101cd565b80632a3f300c1161016f57806355f804b31161013e57806355f804b3146103e657806356606a8d1461040f5780636352211e1461042b57806365f7ad3014610468576101cd565b80632a3f300c146103215780632a55205a1461034a5780633850c7bd1461038857806342842e0e146103bd576101cd565b8063095ea7b3116101ab578063095ea7b31461027757806318160ddd146102a05780631f457cb5146102cb57806323b872dd146102f8576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190613e8f565b6106eb565b6040516102069190613ed7565b60405180910390f35b34801561021b57600080fd5b506102246107cd565b6040516102319190613f8b565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c9190613fe3565b61085f565b60405161026e9190614051565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190614098565b6108db565b005b3480156102ac57600080fd5b506102b56109e0565b6040516102c291906140e7565b60405180910390f35b3480156102d757600080fd5b506102e06109f7565b6040516102ef9392919061411f565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190614156565b610a38565b005b34801561032d57600080fd5b50610348600480360381019061034391906141d5565b610a48565b005b34801561035657600080fd5b50610371600480360381019061036c9190614202565b610afb565b60405161037f929190614242565b60405180910390f35b34801561039457600080fd5b5061039d610ce6565b6040516103b49b9a999897969594939291906142a0565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df9190614156565b610e86565b005b3480156103f257600080fd5b5061040d600480360381019061040891906143be565b610ea6565b005b610429600480360381019061042491906145a1565b610f52565b005b34801561043757600080fd5b50610452600480360381019061044d9190613fe3565b6112a9565b60405161045f9190614051565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a91906145fd565b6112bf565b005b34801561049d57600080fd5b506104b860048036038101906104b3919061463d565b61139b565b6040516104c591906140e7565b60405180910390f35b3480156104da57600080fd5b506104e361146b565b005b6104ff60048036038101906104fa919061466a565b61155a565b005b61051b600480360381019061051691906145a1565b611867565b005b34801561052957600080fd5b50610532611d19565b60405161053f9190613f8b565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a9190614697565b611dab565b005b61058b600480360381019061058691906145a1565b611f23565b005b34801561059957600080fd5b506105b460048036038101906105af919061478c565b6123d5565b005b3480156105c257600080fd5b506105cb61244d565b005b3480156105d957600080fd5b506105f460048036038101906105ef919061466a565b61259b565b005b34801561060257600080fd5b5061061d60048036038101906106189190613fe3565b612695565b60405161062a9190613f8b565b60405180910390f35b34801561063f57600080fd5b5061065a60048036038101906106559190614853565b61276a565b005b34801561066857600080fd5b50610683600480360381019061067e9190614893565b61280b565b6040516106909190613ed7565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb919061463d565b61289f565b005b3480156106ce57600080fd5b506106e960048036038101906106e491906143be565b612979565b005b60007f18160ddd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107b657507f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107c657506107c582612a25565b5b9050919050565b6060600280546107dc90614902565b80601f016020809104026020016040519081016040528092919081815260200182805461080890614902565b80156108555780601f1061082a57610100808354040283529160200191610855565b820191906000526020600020905b81548152906001019060200180831161083857829003601f168201915b5050505050905090565b600061086a82612a9f565b6108a0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108e6826112a9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561094e576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661096d612aed565b73ffffffffffffffffffffffffffffffffffffffff16146109d05761099981610994612aed565b61280b565b6109cf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b6109db838383612af5565b505050565b60006109ea612ba7565b6001546000540303905090565b60138060000160009054906101000a900460ff16908060000160019054906101000a900461ffff16908060000160039054906101000a900461ffff16905083565b610a43838383612bac565b505050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad290614980565b60405180910390fd5b80600a60000160006101000a81548160ff02191690831515021790555050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610c915760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610c9b613062565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610cc791906149cf565b610cd19190614a58565b90508160000151819350935050509250929050565b600a8060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900461ffff1690806001018054610d3190614902565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5d90614902565b8015610daa5780601f10610d7f57610100808354040283529160200191610daa565b820191906000526020600020905b815481529060010190602001808311610d8d57829003601f168201915b505050505090806002018054610dbf90614902565b80601f0160208091040260200160405190810160405280929190818152602001828054610deb90614902565b8015610e385780601f10610e0d57610100808354040283529160200191610e38565b820191906000526020600020905b815481529060010190602001808311610e1b57829003601f168201915b5050505050908060030154908060040154908060050154908060060154908060070154908060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508b565b610ea1838383604051806020016040528060008152506123d5565b505050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3090614980565b60405180910390fd5b8181600a6001019190610f4d929190613d3d565b505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790614ad5565b60405180910390fd5b6002600a60000160019054906101000a900460ff1660ff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90614b41565b60405180910390fd5b6000349050600033905060028460ff161115611069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106090614bad565b60405180910390fd5b600284601360020160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166110c69190614bcd565b60ff16111561110a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110190614bad565b60405180910390fd5b60008160405160200161111d9190614c4c565b604051602081830303815290604052805190602001209050600061114785600a600501548461306c565b905080611189576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118090614cb3565b60405180910390fd5b85601360020160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166111e79190614bcd565b92506101000a81548160ff021916908360ff1602179055508560ff16601360000160038282829054906101000a900461ffff166112249190614cd3565b92506101000a81548161ffff021916908361ffff160217905550600a600601548660ff1661125291906149cf565b841015611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b90614d57565b60405180910390fd5b6112a1838760ff16613083565b505050505050565b60006112b4826130a1565b600001519050919050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134990614980565b60405180910390fd5b60008160ff1614156113695781600a600301819055505b60018160ff1614156113805781600a600401819055505b60028160ff1614156113975781600a600501819055505b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611403576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f590614980565b60405180910390fd5b60004790506000811161151057600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611556573d6000803e3d6000fd5b5050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90614ad5565b60405180910390fd5b6003600a60000160019054906101000a900460ff1660ff1614611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790614dc3565b60405180910390fd5b600034905060003390508260ff16600a6006015461163e91906149cf565b821015611680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167790614e2f565b60405180910390fd5b600383601360010160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116dd9190614bcd565b60ff161115611721576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171890614e9b565b60405180910390fd5b601360000160019054906101000a900461ffff1661ffff168360ff16601360000160039054906101000a900461ffff1661175b9190614cd3565b61ffff1611156117a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179790614f07565b60405180910390fd5b82601360010160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166117fe9190614bcd565b92506101000a81548160ff021916908360ff1602179055508260ff16601360000160038282829054906101000a900461ffff1661183b9190614cd3565b92506101000a81548161ffff021916908361ffff160217905550611862818460ff16613083565b505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cc90614ad5565b60405180910390fd5b6001600a60000160019054906101000a900460ff1660ff16148061190e57506002600a60000160019054906101000a900460ff1660ff16145b61194d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194490614f73565b60405180910390fd5b60003490506000339050601360000160009054906101000a900460ff16156119fb576021600a60000160029054906101000a900461ffff1661198f9190614cd3565b61ffff168460ff16601360000160039054906101000a900461ffff166119b59190614cd3565b61ffff1611156119fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f190614fdf565b60405180910390fd5b5b601360000160009054906101000a900460ff16611a9257600a60000160029054906101000a900461ffff1661ffff168460ff16601360000160039054906101000a900461ffff16611a4c9190614cd3565b61ffff161115611a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8890614fdf565b60405180910390fd5b5b600081604051602001611aa59190614c4c565b6040516020818303038152906040528051906020012090506000611acf85600a600301548461306c565b905080611b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0890614cb3565b60405180910390fd5b60018660ff161115611b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4f90614bad565b60405180910390fd5b600186601360020160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bb59190614bcd565b60ff161115611bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf090614bad565b60405180910390fd5b85601360020160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611c579190614bcd565b92506101000a81548160ff021916908360ff1602179055508560ff16601360000160038282829054906101000a900461ffff16611c949190614cd3565b92506101000a81548161ffff021916908361ffff1602179055508560ff16600a60070154611cc291906149cf565b841015611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb90614d57565b60405180910390fd5b611d11838760ff16613083565b505050505050565b606060038054611d2890614902565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5490614902565b8015611da15780601f10611d7657610100808354040283529160200191611da1565b820191906000526020600020905b815481529060010190602001808311611d8457829003601f168201915b5050505050905090565b611db3612aed565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e18576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e25612aed565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ed2612aed565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f179190613ed7565b60405180910390a35050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8890614ad5565b60405180910390fd5b6001600a60000160019054906101000a900460ff1660ff161480611fca57506002600a60000160019054906101000a900460ff1660ff16145b612009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200090614f73565b60405180910390fd5b60003490506000339050601360000160009054906101000a900460ff16156120b7576021600a60000160029054906101000a900461ffff1661204b9190614cd3565b61ffff168460ff16601360000160039054906101000a900461ffff166120719190614cd3565b61ffff1611156120b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ad90614fdf565b60405180910390fd5b5b601360000160009054906101000a900460ff1661214e57600a60000160029054906101000a900461ffff1661ffff168460ff16601360000160039054906101000a900461ffff166121089190614cd3565b61ffff16111561214d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214490614fdf565b60405180910390fd5b5b6000816040516020016121619190614c4c565b604051602081830303815290604052805190602001209050600061218b85600a600401548461306c565b9050806121cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c49061504b565b60405180910390fd5b60028660ff161115612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220b90614bad565b60405180910390fd5b600286601360020160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166122719190614bcd565b60ff1611156122b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ac90614bad565b60405180910390fd5b85601360020160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166123139190614bcd565b92506101000a81548160ff021916908360ff1602179055508560ff16601360000160038282829054906101000a900461ffff166123509190614cd3565b92506101000a81548161ffff021916908361ffff1602179055508560ff16600a6007015461237e91906149cf565b8410156123c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b790614d57565b60405180910390fd5b6123cd838760ff16613083565b505050505050565b6123e0848484612bac565b6123ff8373ffffffffffffffffffffffffffffffffffffffff1661332c565b15612447576124108484848461334f565b612446576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146124e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d790614980565b60405180910390fd5b601360000160009054906101000a900460ff1615612533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252a906150b7565b60405180910390fd5b6021601360000160038282829054906101000a900461ffff166125569190614cd3565b92506101000a81548161ffff021916908361ffff1602179055506001601360000160006101000a81548160ff021916908315150217905550612599336021613083565b565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461262e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262590614980565b60405180910390fd5b60048160ff1610612674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266b90615123565b60405180910390fd5b80600a60000160016101000a81548160ff021916908360ff16021790555050565b6060601360000160039054906101000a900461ffff1661ffff168211156126f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e89061518f565b60405180910390fd5b600a60000160009054906101000a900460ff161561273e57600a600101612717836134a0565b60405160200161272892919061527f565b6040516020818303038152906040529050612765565b600a60020160405160200161275391906152a3565b60405160208183030381529060405290505b919050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146127fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f490614980565b60405180910390fd5b6128078282613601565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292990614980565b60405180910390fd5b80600a60080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a60080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0390614980565b60405180910390fd5b8181600a6002019190612a20929190613d3d565b505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a985750612a9782613797565b5b9050919050565b600081612aaa612ba7565b11158015612ab9575060005482105b8015612ae6575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000612bb7826130a1565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c22576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612c43612aed565b73ffffffffffffffffffffffffffffffffffffffff161480612c725750612c7185612c6c612aed565b61280b565b5b80612cb75750612c80612aed565b73ffffffffffffffffffffffffffffffffffffffff16612c9f8461085f565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612cf0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d57576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d648585856001613879565b612d7060008487612af5565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612ff0576000548214612fef57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461305b858585600161387f565b5050505050565b6000612710905090565b6000826130798584613885565b1490509392505050565b61309d8282604051806020016040528060008152506138fa565b5050565b6130a9613dc3565b6000829050806130b7612ba7565b116132f5576000548110156132f4576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516132f257600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146131d6578092505050613327565b5b6001156132f157818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146132ec578092505050613327565b6131d7565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613375612aed565b8786866040518563ffffffff1660e01b8152600401613397949392919061530f565b6020604051808303816000875af19250505080156133d357506040513d601f19601f820116820180604052508101906133d09190615370565b60015b61344d573d8060008114613403576040519150601f19603f3d011682016040523d82523d6000602084013e613408565b606091505b50600081511415613445576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156134e8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135fc565b600082905060005b6000821461351a5780806135039061539d565b915050600a826135139190614a58565b91506134f0565b60008167ffffffffffffffff81111561353657613535614437565b5b6040519080825280601f01601f1916602001820160405280156135685781602001600182028036833780820191505090505b5090505b600085146135f55760018261358191906153e6565b9150600a85613590919061541a565b603061359c919061544b565b60f81b8183815181106135b2576135b16154a1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135ee9190614a58565b945061356c565b8093505050505b919050565b613609613062565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115613667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365e90615542565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ce906155ae565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061386257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613872575061387182613cbc565b5b9050919050565b50505050565b50505050565b60008082905060005b84518110156138ef5760008582815181106138ac576138ab6154a1565b5b602002602001015190508083116138ce576138c78382613d26565b92506138db565b6138d88184613d26565b92505b5080806138e79061539d565b91505061388e565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613967576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156139a2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6139af6000858386613879565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050613b708673ffffffffffffffffffffffffffffffffffffffff1661332c565b15613c35575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613be5600087848060010195508761334f565b613c1b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210613b76578260005414613c3057600080fd5b613ca0565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613c36575b816000819055505050613cb6600085838661387f565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600082600052816020526040600020905092915050565b828054613d4990614902565b90600052602060002090601f016020900481019282613d6b5760008555613db2565b82601f10613d8457803560ff1916838001178555613db2565b82800160010185558215613db2579182015b82811115613db1578235825591602001919060010190613d96565b5b509050613dbf9190613e06565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613e1f576000816000905550600101613e07565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e6c81613e37565b8114613e7757600080fd5b50565b600081359050613e8981613e63565b92915050565b600060208284031215613ea557613ea4613e2d565b5b6000613eb384828501613e7a565b91505092915050565b60008115159050919050565b613ed181613ebc565b82525050565b6000602082019050613eec6000830184613ec8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f2c578082015181840152602081019050613f11565b83811115613f3b576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f5d82613ef2565b613f678185613efd565b9350613f77818560208601613f0e565b613f8081613f41565b840191505092915050565b60006020820190508181036000830152613fa58184613f52565b905092915050565b6000819050919050565b613fc081613fad565b8114613fcb57600080fd5b50565b600081359050613fdd81613fb7565b92915050565b600060208284031215613ff957613ff8613e2d565b5b600061400784828501613fce565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061403b82614010565b9050919050565b61404b81614030565b82525050565b60006020820190506140666000830184614042565b92915050565b61407581614030565b811461408057600080fd5b50565b6000813590506140928161406c565b92915050565b600080604083850312156140af576140ae613e2d565b5b60006140bd85828601614083565b92505060206140ce85828601613fce565b9150509250929050565b6140e181613fad565b82525050565b60006020820190506140fc60008301846140d8565b92915050565b600061ffff82169050919050565b61411981614102565b82525050565b60006060820190506141346000830186613ec8565b6141416020830185614110565b61414e6040830184614110565b949350505050565b60008060006060848603121561416f5761416e613e2d565b5b600061417d86828701614083565b935050602061418e86828701614083565b925050604061419f86828701613fce565b9150509250925092565b6141b281613ebc565b81146141bd57600080fd5b50565b6000813590506141cf816141a9565b92915050565b6000602082840312156141eb576141ea613e2d565b5b60006141f9848285016141c0565b91505092915050565b6000806040838503121561421957614218613e2d565b5b600061422785828601613fce565b925050602061423885828601613fce565b9150509250929050565b60006040820190506142576000830185614042565b61426460208301846140d8565b9392505050565b600060ff82169050919050565b6142818161426b565b82525050565b6000819050919050565b61429a81614287565b82525050565b6000610160820190506142b6600083018e613ec8565b6142c3602083018d614278565b6142d0604083018c614110565b81810360608301526142e2818b613f52565b905081810360808301526142f6818a613f52565b905061430560a0830189614291565b61431260c0830188614291565b61431f60e0830187614291565b61432d6101008301866140d8565b61433b6101208301856140d8565b614349610140830184614042565b9c9b505050505050505050505050565b600080fd5b600080fd5b600080fd5b60008083601f84011261437e5761437d614359565b5b8235905067ffffffffffffffff81111561439b5761439a61435e565b5b6020830191508360018202830111156143b7576143b6614363565b5b9250929050565b600080602083850312156143d5576143d4613e2d565b5b600083013567ffffffffffffffff8111156143f3576143f2613e32565b5b6143ff85828601614368565b92509250509250929050565b6144148161426b565b811461441f57600080fd5b50565b6000813590506144318161440b565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61446f82613f41565b810181811067ffffffffffffffff8211171561448e5761448d614437565b5b80604052505050565b60006144a1613e23565b90506144ad8282614466565b919050565b600067ffffffffffffffff8211156144cd576144cc614437565b5b602082029050602081019050919050565b6144e781614287565b81146144f257600080fd5b50565b600081359050614504816144de565b92915050565b600061451d614518846144b2565b614497565b905080838252602082019050602084028301858111156145405761453f614363565b5b835b81811015614569578061455588826144f5565b845260208401935050602081019050614542565b5050509392505050565b600082601f83011261458857614587614359565b5b813561459884826020860161450a565b91505092915050565b600080604083850312156145b8576145b7613e2d565b5b60006145c685828601614422565b925050602083013567ffffffffffffffff8111156145e7576145e6613e32565b5b6145f385828601614573565b9150509250929050565b6000806040838503121561461457614613613e2d565b5b6000614622858286016144f5565b925050602061463385828601614422565b9150509250929050565b60006020828403121561465357614652613e2d565b5b600061466184828501614083565b91505092915050565b6000602082840312156146805761467f613e2d565b5b600061468e84828501614422565b91505092915050565b600080604083850312156146ae576146ad613e2d565b5b60006146bc85828601614083565b92505060206146cd858286016141c0565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156146f7576146f6614437565b5b61470082613f41565b9050602081019050919050565b82818337600083830152505050565b600061472f61472a846146dc565b614497565b90508281526020810184848401111561474b5761474a6146d7565b5b61475684828561470d565b509392505050565b600082601f83011261477357614772614359565b5b813561478384826020860161471c565b91505092915050565b600080600080608085870312156147a6576147a5613e2d565b5b60006147b487828801614083565b94505060206147c587828801614083565b93505060406147d687828801613fce565b925050606085013567ffffffffffffffff8111156147f7576147f6613e32565b5b6148038782880161475e565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b6148308161480f565b811461483b57600080fd5b50565b60008135905061484d81614827565b92915050565b6000806040838503121561486a57614869613e2d565b5b600061487885828601614083565b92505060206148898582860161483e565b9150509250929050565b600080604083850312156148aa576148a9613e2d565b5b60006148b885828601614083565b92505060206148c985828601614083565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061491a57607f821691505b6020821081141561492e5761492d6148d3565b5b50919050565b7f4e6f74204f776e65720000000000000000000000000000000000000000000000600082015250565b600061496a600983613efd565b915061497582614934565b602082019050919050565b600060208201905081810360008301526149998161495d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149da82613fad565b91506149e583613fad565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a1e57614a1d6149a0565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a6382613fad565b9150614a6e83613fad565b925082614a7e57614a7d614a29565b5b828204905092915050565b7f4e6f20626f740000000000000000000000000000000000000000000000000000600082015250565b6000614abf600683613efd565b9150614aca82614a89565b602082019050919050565b60006020820190508181036000830152614aee81614ab2565b9050919050565b7f4e6f7420526166666c6500000000000000000000000000000000000000000000600082015250565b6000614b2b600a83613efd565b9150614b3682614af5565b602082019050919050565b60006020820190508181036000830152614b5a81614b1e565b9050919050565b7f546f6f206d616e79206d696e7473000000000000000000000000000000000000600082015250565b6000614b97600e83613efd565b9150614ba282614b61565b602082019050919050565b60006020820190508181036000830152614bc681614b8a565b9050919050565b6000614bd88261426b565b9150614be38361426b565b92508260ff03821115614bf957614bf86149a0565b5b828201905092915050565b60008160601b9050919050565b6000614c1c82614c04565b9050919050565b6000614c2e82614c11565b9050919050565b614c46614c4182614030565b614c23565b82525050565b6000614c588284614c35565b60148201915081905092915050565b7f4e6f20776c000000000000000000000000000000000000000000000000000000600082015250565b6000614c9d600583613efd565b9150614ca882614c67565b602082019050919050565b60006020820190508181036000830152614ccc81614c90565b9050919050565b6000614cde82614102565b9150614ce983614102565b92508261ffff03821115614d0057614cff6149a0565b5b828201905092915050565b7f77726f6e67207072696365000000000000000000000000000000000000000000600082015250565b6000614d41600b83613efd565b9150614d4c82614d0b565b602082019050919050565b60006020820190508181036000830152614d7081614d34565b9050919050565b7f4e6f74204d696e74696e67000000000000000000000000000000000000000000600082015250565b6000614dad600b83613efd565b9150614db882614d77565b602082019050919050565b60006020820190508181036000830152614ddc81614da0565b9050919050565b7f4e6f7420456e6f75676820455448000000000000000000000000000000000000600082015250565b6000614e19600e83613efd565b9150614e2482614de3565b602082019050919050565b60006020820190508181036000830152614e4881614e0c565b9050919050565b7f546f6f204d616e79204d696e7473000000000000000000000000000000000000600082015250565b6000614e85600e83613efd565b9150614e9082614e4f565b602082019050919050565b60006020820190508181036000830152614eb481614e78565b9050919050565b7f4f766572666c6f77204944000000000000000000000000000000000000000000600082015250565b6000614ef1600b83613efd565b9150614efc82614ebb565b602082019050919050565b60006020820190508181036000830152614f2081614ee4565b9050919050565b7f4e6f742050726573616c65000000000000000000000000000000000000000000600082015250565b6000614f5d600b83613efd565b9150614f6882614f27565b602082019050919050565b60006020820190508181036000830152614f8c81614f50565b9050919050565b7f4f7574206f6620776c0000000000000000000000000000000000000000000000600082015250565b6000614fc9600983613efd565b9150614fd482614f93565b602082019050919050565b60006020820190508181036000830152614ff881614fbc565b9050919050565b7f6e6f20776c000000000000000000000000000000000000000000000000000000600082015250565b6000615035600583613efd565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f616c72656164792063616c6c6564000000000000000000000000000000000000600082015250565b60006150a1600e83613efd565b91506150ac8261506b565b602082019050919050565b600060208201905081810360008301526150d081615094565b9050919050565b7f6e6f742076616c69642070686173650000000000000000000000000000000000600082015250565b600061510d600f83613efd565b9150615118826150d7565b602082019050919050565b6000602082019050818103600083015261513c81615100565b9050919050565b7f556e7265616c20546f6b656e0000000000000000000000000000000000000000600082015250565b6000615179600c83613efd565b915061518482615143565b602082019050919050565b600060208201905081810360008301526151a88161516c565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546151dc81614902565b6151e681866151af565b94506001821660008114615201576001811461521257615245565b60ff19831686528186019350615245565b61521b856151ba565b60005b8381101561523d5781548189015260018201915060208101905061521e565b838801955050505b50505092915050565b600061525982613ef2565b61526381856151af565b9350615273818560208601613f0e565b80840191505092915050565b600061528b82856151cf565b9150615297828461524e565b91508190509392505050565b60006152af82846151cf565b915081905092915050565b600081519050919050565b600082825260208201905092915050565b60006152e1826152ba565b6152eb81856152c5565b93506152fb818560208601613f0e565b61530481613f41565b840191505092915050565b60006080820190506153246000830187614042565b6153316020830186614042565b61533e60408301856140d8565b818103606083015261535081846152d6565b905095945050505050565b60008151905061536a81613e63565b92915050565b60006020828403121561538657615385613e2d565b5b60006153948482850161535b565b91505092915050565b60006153a882613fad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153db576153da6149a0565b5b600182019050919050565b60006153f182613fad565b91506153fc83613fad565b92508282101561540f5761540e6149a0565b5b828203905092915050565b600061542582613fad565b915061543083613fad565b9250826154405761543f614a29565b5b828206905092915050565b600061545682613fad565b915061546183613fad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615496576154956149a0565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600061552c602a83613efd565b9150615537826154d0565b604082019050919050565b6000602082019050818103600083015261555b8161551f565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615598601983613efd565b91506155a382615562565b602082019050919050565b600060208201905081810360008301526155c78161558b565b905091905056fea26469706673582212209bfcd533bb91ba5ce64a9b2bece18ea495ad72b84964e19a9ad52e6bbf6dc33264736f6c634300080c0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.