ERC-721
Source Code
Overview
Max Total Supply
4,257 CBZ
Holders
1,825
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 CBZLoading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
CuBeanz
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
error NotOwner();
error MaxTeamMints();
error RoundSoldOut();
error SaleNotStarted();
error InvalidValue();
error MaxMints();
error ContractMint();
error BurnNotActive();
error BattleNotStarted();
/*
░█████╗░██╗░░░██╗██████╗░███████╗░█████╗░███╗░░██╗███████╗
██╔══██╗██║░░░██║██╔══██╗██╔════╝██╔══██╗████╗░██║╚════██║
██║░░╚═╝██║░░░██║██████╦╝█████╗░░███████║██╔██╗██║░░███╔═╝
██║░░██╗██║░░░██║██╔══██╗██╔══╝░░██╔══██║██║╚████║██╔══╝░░
╚█████╔╝╚██████╔╝██████╦╝███████╗██║░░██║██║░╚███║███████╗
░╚════╝░░╚═════╝░╚═════╝░╚══════╝╚═╝░░╚═╝╚═╝░░╚══╝╚══════╝
@0xShimazu
*/
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract CuBeanz is ERC721AQueryable , Ownable {
//@dev mint constraints
uint constant roundOneSupply = 2222;
uint constant roundTwoSupply = 1778;
uint constant maxRoundOneMints = 2;
uint constant maxRoundTwoMints = 1;
uint80 constant public burnRate = 10000 ether;
uint80 constant public cubePrice = 22000 ether;
//@dev number of mints reserved for the cubeanz team
uint maxTeamMints = 444;
//@dev counter for teamMints
uint public teamMints;
//@dev this is maximum number of times that a cube can attack a bean
//each time a bean attacks a cube, it's attack counter is incremented
//50% chance to lose traits, 50% chance to upgrade a single trait.abi
uint public maxAttacks = 5;
//@dev roundNum==1? round one is live. roundNum == 2? round two is live :)
uint public roundNum;
bool public burnMintActive;
bool public revealed;
//@dev get ready....
bool public battleStarted;
MintTracker public mintTracker = MintTracker(0,0);
//@dev tracks amount of tokens burned in round one and two.
//@notice, we could have used built in totalSupply() function for round one
//but for clean syntax we introduce a new counter
struct MintTracker {
uint16 roundOneMints;
uint16 roundTwoMints;
}
//@dev ryoToken obtained by burning cubes
IERC20 public ryoToken;
//@dev tokenUri factory
string public baseURI;
string public notRevealedUri;
string public uriSuffix = ".json";
//@dev maps tokenIds to number of times they've attacked
mapping(uint => uint) public numAttacks;
// @dev tracks mints per round: Rounds are 1 and 2
mapping(address => mapping(uint => uint)) public mintsPerRound;
constructor()
ERC721A("CuBeanz", "CBZ")
{
setBaseURI("");
setNotRevealedURI("ipfs://QmYLBMRzuHewKXghmbgxfrQvzVDRDXxZVmJVDYp5kF5RgH");
}
event ATTACK(uint indexed numAttack,uint indexed tokenId);
/*//////////////////////////////////////////////////////////
TEAM MINT
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
function teamMint(address to ,uint amount) external onlyOwner {
if(teamMints + amount > maxTeamMints) revert MaxTeamMints();
teamMints+= amount;
_mint(to,amount);
}
/*//////////////////////////////////////////////////////////
ROUND ONE AND TWO MINTS
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
function roundOneMint(uint amount) external {
if(roundNum!=1) revert SaleNotStarted();
if(msg.sender != tx.origin) revert ContractMint();
if(mintTracker.roundOneMints + amount > roundOneSupply) revert RoundSoldOut();
if(mintsPerRound[msg.sender][1] + amount > maxRoundOneMints) revert MaxMints();
mintsPerRound[msg.sender][1] +=amount;
mintTracker.roundOneMints += uint16(amount);
_mint(msg.sender,amount);
}
function roundTwoMint(uint amount) external {
if(roundNum !=2) revert SaleNotStarted();
if(msg.sender != tx.origin) revert ContractMint();
if(mintTracker.roundTwoMints + amount > roundTwoSupply) revert RoundSoldOut();
if(mintsPerRound[msg.sender][2] + amount > maxRoundTwoMints) revert MaxMints();
mintsPerRound[msg.sender][2] += amount;
mintTracker.roundTwoMints += uint16(amount);
_mint(msg.sender,amount);
}
/*//////////////////////////////////////////////////////////
RYO MINT
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
function ryoMint(uint amount) external{
if(!burnMintActive) revert BurnNotActive();
ryoToken.transferFrom(msg.sender,address(this), cubePrice * amount);
_mint(msg.sender,amount);
}
/*//////////////////////////////////////////////////////////
ATTACK
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
function attackBean(uint tokenId) public {
if(msg.sender != ownerOf(tokenId)) revert NotOwner();
if(!battleStarted) revert BattleNotStarted();
require(numAttacks[tokenId] < maxAttacks);
numAttacks[tokenId]++;
emit ATTACK(numAttacks[tokenId],tokenId);
}
function gangUpOnBean(uint[] calldata tokenIds) external {
for(uint i; i<tokenIds.length;i++){
attackBean(tokenIds[i]);
}
}
/*//////////////////////////////////////////////////////////
BURN MINTS
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
function burnCube(uint tokenId) external {
if(msg.sender != ownerOf(tokenId)) revert NotOwner();
ryoToken.mint(msg.sender, burnRate);
_burn(tokenId);
}
function burnBatchCubes(uint[] calldata tokenIds) external{
for(uint i; i<tokenIds.length;i++){
if(msg.sender != ownerOf(tokenIds[i])) revert NotOwner();
_burn(tokenIds[i]);
}
ryoToken.mint(msg.sender, burnRate * tokenIds.length);
}
/*//////////////////////////////////////////////////////////
SETTERS
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
function setMaxAttacks(uint amountAttacks) external onlyOwner {
require(amountAttacks > maxAttacks);
maxAttacks = amountAttacks;
}
function setRyoToken(address _address) external onlyOwner{
ryoToken = IERC20(_address);
}
function setRevealed(bool status) external onlyOwner {
revealed = status;
}
function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
notRevealedUri = _notRevealedURI;
}
function setBaseURI(string memory _newBaseURI) public onlyOwner {
baseURI = _newBaseURI;
}
function setUriSuffix(string memory _newSuffix) external onlyOwner{
uriSuffix = _newSuffix;
}
function setRoundNum(uint _roundNum) external onlyOwner{
roundNum = _roundNum;
}
function setBattleStarted(bool status) external onlyOwner{
battleStarted = status;
}
function setBurnMintActive(bool status) external onlyOwner{
burnMintActive = status;
}
// FACTORY
function tokenURI(uint256 _tokenId)
public
view
//ignore
override(ERC721A)
returns (string memory)
{
if (revealed == false) {
return notRevealedUri;
}
string memory currentBaseURI = baseURI;
return
bytes(currentBaseURI).length > 0
? string(abi.encodePacked(currentBaseURI, _toString(_tokenId),uriSuffix))
: "";
}
function withdrawRyoToken() external onlyOwner{
uint balance = ryoToken.balanceOf(address(this));
ryoToken.transfer(owner(), balance);
}
}
interface IERC20{
function mint(address holder, uint tokenId) external;
function balanceOf(address account) external view returns(uint);
function transferFrom(address from, address to, uint amount) external;
function transfer(address to, uint amount) external;
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721AQueryable.sol';
import '../ERC721A.sol';
/**
* @title ERC721A Queryable
* @dev ERC721A subclass with convenience query functions.
*/
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
/**
* @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
*
* If the `tokenId` is out of bounds:
* - `addr` = `address(0)`
* - `startTimestamp` = `0`
* - `burned` = `false`
*
* If the `tokenId` is burned:
* - `addr` = `<Address of owner before token was burned>`
* - `startTimestamp` = `<Timestamp when token was burned>`
* - `burned = `true`
*
* Otherwise:
* - `addr` = `<Address of owner>`
* - `startTimestamp` = `<Timestamp of start of ownership>`
* - `burned = `false`
*/
function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) {
TokenOwnership memory ownership;
if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
return ownership;
}
ownership = _ownershipAt(tokenId);
if (ownership.burned) {
return ownership;
}
return _ownershipOf(tokenId);
}
/**
* @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
* See {ERC721AQueryable-explicitOwnershipOf}
*/
function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) {
unchecked {
uint256 tokenIdsLength = tokenIds.length;
TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
for (uint256 i; i != tokenIdsLength; ++i) {
ownerships[i] = explicitOwnershipOf(tokenIds[i]);
}
return ownerships;
}
}
/**
* @dev Returns an array of token IDs owned by `owner`,
* in the range [`start`, `stop`)
* (i.e. `start <= tokenId < stop`).
*
* This function allows for tokens to be queried if the collection
* grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
*
* Requirements:
*
* - `start` < `stop`
*/
function tokensOfOwnerIn(
address owner,
uint256 start,
uint256 stop
) external view override returns (uint256[] memory) {
unchecked {
if (start >= stop) revert InvalidQueryRange();
uint256 tokenIdsIdx;
uint256 stopLimit = _nextTokenId();
// Set `start = max(start, _startTokenId())`.
if (start < _startTokenId()) {
start = _startTokenId();
}
// Set `stop = min(stop, stopLimit)`.
if (stop > stopLimit) {
stop = stopLimit;
}
uint256 tokenIdsMaxLength = balanceOf(owner);
// Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
// to cater for cases where `balanceOf(owner)` is too big.
if (start < stop) {
uint256 rangeLength = stop - start;
if (rangeLength < tokenIdsMaxLength) {
tokenIdsMaxLength = rangeLength;
}
} else {
tokenIdsMaxLength = 0;
}
uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
if (tokenIdsMaxLength == 0) {
return tokenIds;
}
// We need to call `explicitOwnershipOf(start)`,
// because the slot at `start` may not be initialized.
TokenOwnership memory ownership = explicitOwnershipOf(start);
address currOwnershipAddr;
// If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
// `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
if (!ownership.burned) {
currOwnershipAddr = ownership.addr;
}
for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
ownership = _ownershipAt(i);
if (ownership.burned) {
continue;
}
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
tokenIds[tokenIdsIdx++] = i;
}
}
// Downsize the array to fit.
assembly {
mstore(tokenIds, tokenIdsIdx)
}
return tokenIds;
}
}
/**
* @dev Returns an array of token IDs owned by `owner`.
*
* This function scans the ownership mapping and is O(totalSupply) in complexity.
* It is meant to be called off-chain.
*
* See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
* multiple smaller scans if the collection is large enough to cause
* an out-of-gas error (10K pfp collections should be fine).
*/
function tokensOfOwner(address owner) external view override returns (uint256[] memory) {
unchecked {
uint256 tokenIdsIdx;
address currOwnershipAddr;
uint256 tokenIdsLength = balanceOf(owner);
uint256[] memory tokenIds = new uint256[](tokenIdsLength);
TokenOwnership memory ownership;
for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
ownership = _ownershipAt(i);
if (ownership.burned) {
continue;
}
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
tokenIds[tokenIdsIdx++] = i;
}
}
return tokenIds;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import '../IERC721A.sol';
/**
* @dev Interface of an ERC721AQueryable compliant contract.
*/
interface IERC721AQueryable is IERC721A {
/**
* Invalid query range (`start` >= `stop`).
*/
error InvalidQueryRange();
/**
* @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
*
* If the `tokenId` is out of bounds:
* - `addr` = `address(0)`
* - `startTimestamp` = `0`
* - `burned` = `false`
*
* If the `tokenId` is burned:
* - `addr` = `<Address of owner before token was burned>`
* - `startTimestamp` = `<Timestamp when token was burned>`
* - `burned = `true`
*
* Otherwise:
* - `addr` = `<Address of owner>`
* - `startTimestamp` = `<Timestamp of start of ownership>`
* - `burned = `false`
*/
function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);
/**
* @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
* See {ERC721AQueryable-explicitOwnershipOf}
*/
function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);
/**
* @dev Returns an array of token IDs owned by `owner`,
* in the range [`start`, `stop`)
* (i.e. `start <= tokenId < stop`).
*
* This function allows for tokens to be queried if the collection
* grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
*
* Requirements:
*
* - `start` < `stop`
*/
function tokensOfOwnerIn(
address owner,
uint256 start,
uint256 stop
) external view returns (uint256[] memory);
/**
* @dev Returns an array of token IDs owned by `owner`.
*
* This function scans the ownership mapping and is O(totalSupply) in complexity.
* It is meant to be called off-chain.
*
* See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
* multiple smaller scans if the collection is large enough to cause
* an out-of-gas error (10K pfp collections should be fine).
*/
function tokensOfOwner(address owner) external view returns (uint256[] memory);
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
/**
* @dev ERC721 token receiver interface.
*/
interface ERC721A__IERC721Receiver {
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
/**
* @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 IERC721A {
// Mask of an entry in packed address data.
uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;
// The bit position of `numberMinted` in packed address data.
uint256 private constant BITPOS_NUMBER_MINTED = 64;
// The bit position of `numberBurned` in packed address data.
uint256 private constant BITPOS_NUMBER_BURNED = 128;
// The bit position of `aux` in packed address data.
uint256 private constant BITPOS_AUX = 192;
// Mask of all 256 bits in packed address data except the 64 bits for `aux`.
uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;
// The bit position of `startTimestamp` in packed ownership.
uint256 private constant BITPOS_START_TIMESTAMP = 160;
// The bit mask of the `burned` bit in packed ownership.
uint256 private constant BITMASK_BURNED = 1 << 224;
// The bit position of the `nextInitialized` bit in packed ownership.
uint256 private constant BITPOS_NEXT_INITIALIZED = 225;
// The bit mask of the `nextInitialized` bit in packed ownership.
uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;
// The tokenId of the next token to be minted.
uint256 private _currentIndex;
// The number of tokens burned.
uint256 private _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 `_packedOwnershipOf` implementation for details.
//
// Bits Layout:
// - [0..159] `addr`
// - [160..223] `startTimestamp`
// - [224] `burned`
// - [225] `nextInitialized`
mapping(uint256 => uint256) private _packedOwnerships;
// Mapping owner address to address data.
//
// Bits Layout:
// - [0..63] `balance`
// - [64..127] `numberMinted`
// - [128..191] `numberBurned`
// - [192..255] `aux`
mapping(address => uint256) private _packedAddressData;
// 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();
}
/**
* @dev Returns the starting token ID.
* To change the starting token ID, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Returns the next token ID to be minted.
*/
function _nextTokenId() internal view returns (uint256) {
return _currentIndex;
}
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see `_totalMinted`.
*/
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();
}
}
/**
* @dev 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 Returns the total number of tokens burned.
*/
function _totalBurned() internal view returns (uint256) {
return _burnCounter;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
// The interface IDs are constants representing the first 4 bytes of the XOR of
// all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
// e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
return
interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
return uint64(_packedAddressData[owner] >> BITPOS_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 {
uint256 packed = _packedAddressData[owner];
uint256 auxCasted;
assembly { // Cast aux without masking.
auxCasted := aux
}
packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
_packedAddressData[owner] = packed;
}
/**
* Returns the packed ownership data of `tokenId`.
*/
function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr)
if (curr < _currentIndex) {
uint256 packed = _packedOwnerships[curr];
// If not burned.
if (packed & BITMASK_BURNED == 0) {
// 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.
//
// We can directly compare the packed value.
// If the address is zero, packed is zero.
while (packed == 0) {
packed = _packedOwnerships[--curr];
}
return packed;
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* Returns the unpacked `TokenOwnership` struct from `packed`.
*/
function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
ownership.addr = address(uint160(packed));
ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
ownership.burned = packed & BITMASK_BURNED != 0;
}
/**
* Returns the unpacked `TokenOwnership` struct at `index`.
*/
function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnerships[index]);
}
/**
* @dev Initializes the ownership slot minted at `index` for efficiency purposes.
*/
function _initializeOwnershipAt(uint256 index) internal {
if (_packedOwnerships[index] == 0) {
_packedOwnerships[index] = _packedOwnershipOf(index);
}
}
/**
* 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) {
return _unpackedOwnership(_packedOwnershipOf(tokenId));
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return address(uint160(_packedOwnershipOf(tokenId)));
}
/**
* @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, _toString(tokenId))) : '';
}
/**
* @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 Casts the address to uint256 without masking.
*/
function _addressToUint256(address value) private pure returns (uint256 result) {
assembly {
result := value
}
}
/**
* @dev Casts the boolean to uint256 without branching.
*/
function _boolToUint256(bool value) private pure returns (uint256 result) {
assembly {
result := value
}
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public override {
address owner = address(uint160(_packedOwnershipOf(tokenId)));
if (to == owner) revert ApprovalToCurrentOwner();
if (_msgSenderERC721A() != owner)
if (!isApprovedForAll(owner, _msgSenderERC721A())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
/**
* @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 == _msgSenderERC721A()) revert ApproveToCaller();
_operatorApprovals[_msgSenderERC721A()][operator] = approved;
emit ApprovalForAll(_msgSenderERC721A(), 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.code.length != 0)
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 && // If within bounds,
_packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not 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 {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the balance and number minted.
_packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] =
_addressToUint256(to) |
(block.timestamp << BITPOS_START_TIMESTAMP) |
(_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
if (to.code.length != 0) {
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 {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the balance and number minted.
_packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] =
_addressToUint256(to) |
(block.timestamp << BITPOS_START_TIMESTAMP) |
(_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);
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 {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();
bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
isApprovedForAll(from, _msgSenderERC721A()) ||
getApproved(tokenId) == _msgSenderERC721A());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner.
delete _tokenApprovals[tokenId];
// 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 {
// We can directly increment and decrement the balances.
--_packedAddressData[from]; // Updates: `balance -= 1`.
++_packedAddressData[to]; // Updates: `balance += 1`.
// Updates:
// - `address` to the next owner.
// - `startTimestamp` to the timestamp of transfering.
// - `burned` to `false`.
// - `nextInitialized` to `true`.
_packedOwnerships[tokenId] =
_addressToUint256(to) |
(block.timestamp << BITPOS_START_TIMESTAMP) |
BITMASK_NEXT_INITIALIZED;
// If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
uint256 nextTokenId = tokenId + 1;
// If the next slot's address is zero and not burned (i.e. packed value is zero).
if (_packedOwnerships[nextTokenId] == 0) {
// If the next slot is within bounds.
if (nextTokenId != _currentIndex) {
// Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
_packedOwnerships[nextTokenId] = prevOwnershipPacked;
}
}
}
}
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 {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
address from = address(uint160(prevOwnershipPacked));
if (approvalCheck) {
bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
isApprovedForAll(from, _msgSenderERC721A()) ||
getApproved(tokenId) == _msgSenderERC721A());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
}
_beforeTokenTransfers(from, address(0), tokenId, 1);
// Clear approvals from the previous owner.
delete _tokenApprovals[tokenId];
// 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 {
// Updates:
// - `balance -= 1`.
// - `numberBurned += 1`.
//
// We can directly decrement the balance, and increment the number burned.
// This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
_packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;
// Updates:
// - `address` to the last owner.
// - `startTimestamp` to the timestamp of burning.
// - `burned` to `true`.
// - `nextInitialized` to `true`.
_packedOwnerships[tokenId] =
_addressToUint256(from) |
(block.timestamp << BITPOS_START_TIMESTAMP) |
BITMASK_BURNED |
BITMASK_NEXT_INITIALIZED;
// If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
uint256 nextTokenId = tokenId + 1;
// If the next slot's address is zero and not burned (i.e. packed value is zero).
if (_packedOwnerships[nextTokenId] == 0) {
// If the next slot is within bounds.
if (nextTokenId != _currentIndex) {
// Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
_packedOwnerships[nextTokenId] = prevOwnershipPacked;
}
}
}
}
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 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 ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
bytes4 retval
) {
return retval == ERC721A__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 {}
/**
* @dev Returns the message sender (defaults to `msg.sender`).
*
* If you are writing GSN compatible contracts, you need to override this function.
*/
function _msgSenderERC721A() internal view virtual returns (address) {
return msg.sender;
}
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function _toString(uint256 value) internal pure returns (string memory ptr) {
assembly {
// The maximum value of a uint256 contains 78 digits (1 byte per digit),
// but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
// We will need 1 32-byte word to store the length,
// and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
ptr := add(mload(0x40), 128)
// Update the free memory pointer to allocate.
mstore(0x40, ptr)
// Cache the end of the memory to calculate the length later.
let end := ptr
// We write the string from the rightmost digit to the leftmost digit.
// The following is essentially a do-while loop that also handles the zero case.
// Costs a bit more than early returning for the zero case,
// but cheaper in terms of deployment and overall runtime costs.
for {
// Initialize and perform the first pass without check.
let temp := value
// Move the pointer 1 byte leftwards to point to an empty character slot.
ptr := sub(ptr, 1)
// Write the character to the pointer. 48 is the ASCII index of '0'.
mstore8(ptr, add(48, mod(temp, 10)))
temp := div(temp, 10)
} temp {
// Keep dividing `temp` until zero.
temp := div(temp, 10)
} { // Body of the for loop.
ptr := sub(ptr, 1)
mstore8(ptr, add(48, mod(temp, 10)))
}
let length := sub(end, ptr)
// Move the pointer 32 bytes leftwards to make room for the length.
ptr := sub(ptr, 32)
// Store the length.
mstore(ptr, length)
}
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of an ERC721A compliant contract.
*/
interface IERC721A {
/**
* 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();
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;
}
/**
* @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);
// ==============================
// 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);
// ==============================
// IERC721
// ==============================
/**
* @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);
// ==============================
// IERC721Metadata
// ==============================
/**
* @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/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;
}
}{
"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":"BattleNotStarted","type":"error"},{"inputs":[],"name":"BurnNotActive","type":"error"},{"inputs":[],"name":"ContractMint","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MaxMints","type":"error"},{"inputs":[],"name":"MaxTeamMints","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotOwner","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"RoundSoldOut","type":"error"},{"inputs":[],"name":"SaleNotStarted","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":"uint256","name":"numAttack","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ATTACK","type":"event"},{"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"attackBean","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"battleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnBatchCubes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnCube","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnRate","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cubePrice","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"gangUpOnBean","outputs":[],"stateMutability":"nonpayable","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":"maxAttacks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintTracker","outputs":[{"internalType":"uint16","name":"roundOneMints","type":"uint16"},{"internalType":"uint16","name":"roundTwoMints","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintsPerRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"numAttacks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"roundNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"roundOneMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"roundTwoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ryoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ryoToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setBattleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setBurnMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountAttacks","type":"uint256"}],"name":"setMaxAttacks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_roundNum","type":"uint256"}],"name":"setRoundNum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setRyoToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawRyoToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526101bc6009556005600b556040518060400160405280600061ffff168152602001600061ffff16815250600e60008201518160000160006101000a81548161ffff021916908361ffff16021790555060208201518160000160026101000a81548161ffff021916908361ffff16021790555050506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060129080519060200190620000c59291906200044d565b50348015620000d357600080fd5b506040518060400160405280600781526020017f43754265616e7a000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f43425a00000000000000000000000000000000000000000000000000000000008152508160029080519060200190620001589291906200044d565b508060039080519060200190620001719291906200044d565b5062000182620001fa60201b60201c565b6000819055505050620001aa6200019e620001ff60201b60201c565b6200020760201b60201c565b620001ca60405180602001604052806000815250620002cd60201b60201c565b620001f4604051806060016040528060358152602001620054cd603591396200037860201b60201c565b620005e5565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002dd620001ff60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003036200042360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200035c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003539062000524565b60405180910390fd5b8060109080519060200190620003749291906200044d565b5050565b62000388620001ff60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003ae6200042360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000407576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003fe9062000524565b60405180910390fd5b80601190805190602001906200041f9291906200044d565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200045b9062000557565b90600052602060002090601f0160209004810192826200047f5760008555620004cb565b82601f106200049a57805160ff1916838001178555620004cb565b82800160010185558215620004cb579182015b82811115620004ca578251825591602001919060010190620004ad565b5b509050620004da9190620004de565b5090565b5b80821115620004f9576000816000905550600101620004df565b5090565b60006200050c60208362000546565b91506200051982620005bc565b602082019050919050565b600060208201905081810360008301526200053f81620004fd565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200057057607f821691505b602082108114156200058757620005866200058d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b614ed880620005f56000396000f3fe608060405234801561001057600080fd5b50600436106103425760003560e01c80636c0360eb116101b8578063b164f4c311610104578063dea95ff8116100a2578063f06da0481161007c578063f06da048146109ae578063f2c4ce1e146109ca578063f2fde38b146109e6578063fc441bfc14610a0257610342565b8063dea95ff814610946578063e0a8085314610962578063e985e9c51461097e57610342565b8063c23dc68f116100de578063c23dc68f1461089a578063c87b56dd146108ca578063c98b100f146108fa578063d0defddb1461091657610342565b8063b164f4c314610842578063b88d4fde14610860578063bed998501461087c57610342565b806396efdc0f11610171578063a22cb4651161014b578063a22cb465146107ce578063a37573d6146107ea578063a9dfd4ae14610808578063add5a4fa1461082657610342565b806396efdc0f1461076657806399a2557a1461078257806399f03c0d146107b257610342565b80636c0360eb146106a257806370a08231146106c0578063715018a6146106f05780638462151c146106fa5780638da5cb5b1461072a57806395d89b411461074857610342565b806330bdbd09116102925780635485dab71161023057806355f804b31161020a57806355f804b31461060a5780635bbb217714610626578063617a09d7146106565780636352211e1461067257610342565b80635485dab7146105c35780635503a0e8146105e25780635579da5f1461060057610342565b80633c68264b1161026c5780633c68264b1461053d57806342842e0e146105595780634ca3c1f51461057557806351830227146105a557610342565b806330bdbd09146104e3578063378f33be146105015780633a562d091461051f57610342565b8063095ea7b3116102ff57806318160ddd116102d957806318160ddd146104715780632254dc4b1461048f57806323b872dd146104ab578063252652aa146104c757610342565b8063095ea7b31461041b578063119b22b31461043757806316ba10e01461045557610342565b806301ffc9a71461034757806303b431dd14610377578063041eb7cc1461039357806306fdde03146103af578063081812fc146103cd578063081c8c44146103fd575b600080fd5b610361600480360381019061035c9190614222565b610a1e565b60405161036e91906147e9565b60405180910390f35b610391600480360381019061038c91906142b5565b610ab0565b005b6103ad60048036038101906103a89190613f7d565b610cf7565b005b6103b7610db7565b6040516103c4919061481f565b60405180910390f35b6103e760048036038101906103e291906142b5565b610e49565b6040516103f491906146b5565b60405180910390f35b610405610ec5565b604051610412919061481f565b60405180910390f35b610435600480360381019061043091906140e8565b610f53565b005b61043f6110fa565b60405161044c91906148c5565b60405180910390f35b61046f600480360381019061046a9190614274565b611100565b005b610479611196565b60405161048691906148c5565b60405180910390f35b6104a960048036038101906104a49190614173565b6111ad565b005b6104c560048036038101906104c09190613fe2565b61121b565b005b6104e160048036038101906104dc91906141f9565b61122b565b005b6104eb6112c4565b6040516104f891906147e9565b60405180910390f35b6105096112d7565b60405161051691906148c5565b60405180910390f35b6105276112dd565b60405161053491906147e9565b60405180910390f35b610557600480360381019061055291906142b5565b6112f0565b005b610573600480360381019061056e9190613fe2565b611402565b005b61058f600480360381019061058a91906142b5565b611422565b60405161059c91906148c5565b60405180910390f35b6105ad61143a565b6040516105ba91906147e9565b60405180910390f35b6105cb61144d565b6040516105d992919061489c565b60405180910390f35b6105ea61147b565b6040516105f7919061481f565b60405180910390f35b610608611509565b005b610624600480360381019061061f9190614274565b6116cd565b005b610640600480360381019061063b91906141b8565b611763565b60405161064d91906147a5565b60405180910390f35b610670600480360381019061066b91906142b5565b611896565b005b61068c600480360381019061068791906142b5565b61192a565b60405161069991906146b5565b60405180910390f35b6106aa61193c565b6040516106b7919061481f565b60405180910390f35b6106da60048036038101906106d59190613f7d565b6119ca565b6040516106e791906148c5565b60405180910390f35b6106f8611a83565b005b610714600480360381019061070f9190613f7d565b611b0b565b60405161072191906147c7565b60405180910390f35b610732611ca1565b60405161073f91906146b5565b60405180910390f35b610750611ccb565b60405161075d919061481f565b60405180910390f35b610780600480360381019061077b91906142b5565b611d5d565b005b61079c60048036038101906107979190614124565b611e9e565b6040516107a991906147c7565b60405180910390f35b6107cc60048036038101906107c791906142b5565b6120fe565b005b6107e860048036038101906107e391906140ac565b612345565b005b6107f26124bd565b6040516107ff91906148c5565b60405180910390f35b6108106124c3565b60405161081d91906148e0565b60405180910390f35b610840600480360381019061083b91906140e8565b6124d1565b005b61084a6125bd565b6040516108579190614804565b60405180910390f35b61087a60048036038101906108759190614031565b6125e3565b005b610884612656565b60405161089191906148e0565b60405180910390f35b6108b460048036038101906108af91906142b5565b612664565b6040516108c19190614881565b60405180910390f35b6108e460048036038101906108df91906142b5565b6126ce565b6040516108f1919061481f565b60405180910390f35b610914600480360381019061090f9190614173565b612862565b005b610930600480360381019061092b91906140e8565b612a2f565b60405161093d91906148c5565b60405180910390f35b610960600480360381019061095b91906142b5565b612a54565b005b61097c600480360381019061097791906141f9565b612ada565b005b61099860048036038101906109939190613fa6565b612b73565b6040516109a591906147e9565b60405180910390f35b6109c860048036038101906109c391906142b5565b612c07565b005b6109e460048036038101906109df9190614274565b612d0c565b005b610a0060048036038101906109fb9190613f7d565b612da2565b005b610a1c6004803603810190610a1791906141f9565b612e9a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a7957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aa95750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6002600c5414610aec576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b51576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6106f281600e60000160029054906101000a900461ffff1661ffff16610b779190614ab0565b1115610baf576040517f45fdc70900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600181601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002054610c0e9190614ab0565b1115610c46576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281526020019081526020016000206000828254610ca79190614ab0565b9250508190555080600e60000160028282829054906101000a900461ffff16610cd09190614a78565b92506101000a81548161ffff021916908361ffff160217905550610cf43382612f33565b50565b610cff613107565b73ffffffffffffffffffffffffffffffffffffffff16610d1d611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a90614861565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060028054610dc690614c84565b80601f0160208091040260200160405190810160405280929190818152602001828054610df290614c84565b8015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b5050505050905090565b6000610e548261310f565b610e8a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60118054610ed290614c84565b80601f0160208091040260200160405190810160405280929190818152602001828054610efe90614c84565b8015610f4b5780601f10610f2057610100808354040283529160200191610f4b565b820191906000526020600020905b815481529060010190602001808311610f2e57829003601f168201915b505050505081565b6000610f5e8261316e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fc6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610fe561323c565b73ffffffffffffffffffffffffffffffffffffffff1614611048576110118161100c61323c565b612b73565b611047576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c5481565b611108613107565b73ffffffffffffffffffffffffffffffffffffffff16611126611ca1565b73ffffffffffffffffffffffffffffffffffffffff161461117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390614861565b60405180910390fd5b8060129080519060200190611192929190613c69565b5050565b60006111a0613244565b6001546000540303905090565b60005b82829050811015611216576112038383838181106111f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135611d5d565b808061120e90614ce7565b9150506111b0565b505050565b611226838383613249565b505050565b611233613107565b73ffffffffffffffffffffffffffffffffffffffff16611251611ca1565b73ffffffffffffffffffffffffffffffffffffffff16146112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90614861565b60405180910390fd5b80600d60026101000a81548160ff02191690831515021790555050565b600d60009054906101000a900460ff1681565b600a5481565b600d60029054906101000a900460ff1681565b6112f98161192a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461135d576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f193369021e19e0c9bab24000006040518363ffffffff1660e01b81526004016113c492919061477c565b600060405180830381600087803b1580156113de57600080fd5b505af11580156113f2573d6000803e3d6000fd5b505050506113ff816135f3565b50565b61141d838383604051806020016040528060008152506125e3565b505050565b60136020528060005260406000206000915090505481565b600d60019054906101000a900460ff1681565b600e8060000160009054906101000a900461ffff16908060000160029054906101000a900461ffff16905082565b6012805461148890614c84565b80601f01602080910402602001604051908101604052809291908181526020018280546114b490614c84565b80156115015780601f106114d657610100808354040283529160200191611501565b820191906000526020600020905b8154815290600101906020018083116114e457829003601f168201915b505050505081565b611511613107565b73ffffffffffffffffffffffffffffffffffffffff1661152f611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90614861565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016115e291906146b5565b60206040518083038186803b1580156115fa57600080fd5b505afa15801561160e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163291906142de565b9050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61167a611ca1565b836040518363ffffffff1660e01b8152600401611698929190614753565b600060405180830381600087803b1580156116b257600080fd5b505af11580156116c6573d6000803e3d6000fd5b5050505050565b6116d5613107565b73ffffffffffffffffffffffffffffffffffffffff166116f3611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174090614861565b60405180910390fd5b806010908051906020019061175f929190613c69565b5050565b606060008251905060008167ffffffffffffffff8111156117ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156117e657816020015b6117d3613cef565b8152602001906001900390816117cb5790505b50905060005b82811461188b5761183c85828151811061182f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612664565b828281518110611875577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508060010190506117ec565b508092505050919050565b61189e613107565b73ffffffffffffffffffffffffffffffffffffffff166118bc611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614611912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190990614861565b60405180910390fd5b600b54811161192057600080fd5b80600b8190555050565b60006119358261316e565b9050919050565b6010805461194990614c84565b80601f016020809104026020016040519081016040528092919081815260200182805461197590614c84565b80156119c25780601f10611997576101008083540402835291602001916119c2565b820191906000526020600020905b8154815290600101906020018083116119a557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a32576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611a8b613107565b73ffffffffffffffffffffffffffffffffffffffff16611aa9611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614611aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af690614861565b60405180910390fd5b611b096000613601565b565b60606000806000611b1b856119ca565b905060008167ffffffffffffffff811115611b5f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611b8d5781602001602082028036833780820191505090505b509050611b98613cef565b6000611ba2613244565b90505b838614611c9357611bb5816136c7565b9150816040015115611bc657611c88565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c0657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611c875780838780600101985081518110611c7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b5b806001019050611ba5565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611cda90614c84565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0690614c84565b8015611d535780601f10611d2857610100808354040283529160200191611d53565b820191906000526020600020905b815481529060010190602001808311611d3657829003601f168201915b5050505050905090565b611d668161192a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611dca576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60029054906101000a900460ff16611e10576040517fc8c1c68b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54601360008381526020019081526020016000205410611e3157600080fd5b601360008281526020019081526020016000206000815480929190611e5590614ce7565b91905055508060136000838152602001908152602001600020547f629fa794c53fe20755ec0587cc698121700b87a415f2d47541ccd9fd56b5226360405160405180910390a350565b6060818310611ed9576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611ee46136f2565b9050611eee613244565b851015611f0057611efd613244565b94505b80841115611f0c578093505b6000611f17876119ca565b905084861015611f3a576000868603905081811015611f34578091505b50611f3f565b600090505b60008167ffffffffffffffff811115611f81577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611faf5781602001602082028036833780820191505090505b5090506000821415611fc757809450505050506120f7565b6000611fd288612664565b905060008160400151611fe757816000015190505b60008990505b888114158015611ffd5750848714155b156120e95761200b816136c7565b925082604001511561201c576120de565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461205c57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120dd57808488806001019950815181106120d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b5b806001019050611fed565b508583528296505050505050505b9392505050565b6001600c541461213a576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461219f576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108ae81600e60000160009054906101000a900461ffff1661ffff166121c59190614ab0565b11156121fd576040517f45fdc70900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600281601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600181526020019081526020016000205461225c9190614ab0565b1115612294576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002060008282546122f59190614ab0565b9250508190555080600e60000160008282829054906101000a900461ffff1661231e9190614a78565b92506101000a81548161ffff021916908361ffff1602179055506123423382612f33565b50565b61234d61323c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123b2576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006123bf61323c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661246c61323c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124b191906147e9565b60405180910390a35050565b600b5481565b6904a89f54ef0121c0000081565b6124d9613107565b73ffffffffffffffffffffffffffffffffffffffff166124f7611ca1565b73ffffffffffffffffffffffffffffffffffffffff161461254d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254490614861565b60405180910390fd5b60095481600a5461255e9190614ab0565b1115612596576040517f51ede19e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a60008282546125a89190614ab0565b925050819055506125b98282612f33565b5050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6125ee848484613249565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461265057612619848484846136fb565b61264f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b69021e19e0c9bab240000081565b61266c613cef565b612674613cef565b61267c613244565b831080612690575061268c6136f2565b8310155b1561269e57809150506126c9565b6126a7836136c7565b90508060400151156126bc57809150506126c9565b6126c58361385b565b9150505b919050565b606060001515600d60019054906101000a900460ff161515141561277e57601180546126f990614c84565b80601f016020809104026020016040519081016040528092919081815260200182805461272590614c84565b80156127725780601f1061274757610100808354040283529160200191612772565b820191906000526020600020905b81548152906001019060200180831161275557829003601f168201915b5050505050905061285d565b60006010805461278d90614c84565b80601f01602080910402602001604051908101604052809291908181526020018280546127b990614c84565b80156128065780601f106127db57610100808354040283529160200191612806565b820191906000526020600020905b8154815290600101906020018083116127e957829003601f168201915b50505050509050600081511161282b5760405180602001604052806000815250612859565b806128358461387b565b601260405160200161284993929190614684565b6040516020818303038152906040525b9150505b919050565b60005b82829050811015612977576128b88383838181106128ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561192a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461291c576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612964838383818110612958577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356135f3565b808061296f90614ce7565b915050612865565b50600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19338484905069021e19e0c9bab240000069ffffffffffffffffffff166129dc9190614b06565b6040518363ffffffff1660e01b81526004016129f9929190614753565b600060405180830381600087803b158015612a1357600080fd5b505af1158015612a27573d6000803e3d6000fd5b505050505050565b6014602052816000526040600020602052806000526040600020600091509150505481565b612a5c613107565b73ffffffffffffffffffffffffffffffffffffffff16612a7a611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614612ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac790614861565b60405180910390fd5b80600c8190555050565b612ae2613107565b73ffffffffffffffffffffffffffffffffffffffff16612b00611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614612b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4d90614861565b60405180910390fd5b80600d60016101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff16612c4d576040517fcc0fe59200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846904a89f54ef0121c0000069ffffffffffffffffffff16612caf9190614b06565b6040518463ffffffff1660e01b8152600401612ccd939291906146d0565b600060405180830381600087803b158015612ce757600080fd5b505af1158015612cfb573d6000803e3d6000fd5b50505050612d093382612f33565b50565b612d14613107565b73ffffffffffffffffffffffffffffffffffffffff16612d32611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614612d88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7f90614861565b60405180910390fd5b8060119080519060200190612d9e929190613c69565b5050565b612daa613107565b73ffffffffffffffffffffffffffffffffffffffff16612dc8611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614612e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1590614861565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8590614841565b60405180910390fd5b612e9781613601565b50565b612ea2613107565b73ffffffffffffffffffffffffffffffffffffffff16612ec0611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614612f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0d90614861565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fa0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612fdb576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fe860008483856138d5565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161304d600184146138db565b901b60a042901b61305d856138e5565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106130835781600081905550505061310260008483856138ef565b505050565b600033905090565b60008161311a613244565b11158015613129575060005482105b8015613167575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061317d613244565b11613205576000548110156132045760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415613202575b60008114156131f85760046000836001900393508381526020019081526020016000205490506131cd565b8092505050613237565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006132548261316e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146132bb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166132dc61323c565b73ffffffffffffffffffffffffffffffffffffffff16148061330b575061330a8561330561323c565b612b73565b5b80613350575061331961323c565b73ffffffffffffffffffffffffffffffffffffffff1661333884610e49565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613389576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156133f0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133fd85858560016138d5565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6134fa866138e5565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415613584576000600184019050600060046000838152602001908152602001600020541415613582576000548114613581578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135ec85858560016138ef565b5050505050565b6135fe8160006138f5565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6136cf613cef565b6136eb6004600084815260200190815260200160002054613bcd565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261372161323c565b8786866040518563ffffffff1660e01b81526004016137439493929190614707565b602060405180830381600087803b15801561375d57600080fd5b505af192505050801561378e57506040513d601f19601f8201168201806040525081019061378b919061424b565b60015b613808573d80600081146137be576040519150601f19603f3d011682016040523d82523d6000602084013e6137c3565b606091505b50600081511415613800576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b613863613cef565b61387461386f8361316e565b613bcd565b9050919050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156138c157600183039250600a81066030018353600a810490506138a1565b508181036020830392508083525050919050565b50505050565b6000819050919050565b6000819050919050565b50505050565b60006139008361316e565b9050600081905082156139dd5760008173ffffffffffffffffffffffffffffffffffffffff1661392e61323c565b73ffffffffffffffffffffffffffffffffffffffff16148061395d575061395c8261395761323c565b612b73565b5b806139a2575061396b61323c565b73ffffffffffffffffffffffffffffffffffffffff1661398a86610e49565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806139db576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b6139eb8160008660016138d5565b6006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600160806001901b03600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000060a042901b613ac0846138e5565b171717600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415613b4b576000600185019050600060046000838152602001908152602001600020541415613b49576000548114613b48578260046000838152602001908152602001600020819055505b5b505b83600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bb58160008660016138ef565b60016000815480929190600101919050555050505050565b613bd5613cef565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c010000000000000000000000000000000000000000000000000000000083161415816040019015159081151581525050919050565b828054613c7590614c84565b90600052602060002090601f016020900481019282613c975760008555613cde565b82601f10613cb057805160ff1916838001178555613cde565b82800160010185558215613cde579182015b82811115613cdd578251825591602001919060010190613cc2565b5b509050613ceb9190613d32565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613d4b576000816000905550600101613d33565b5090565b6000613d62613d5d84614920565b6148fb565b90508083825260208201905082856020860282011115613d8157600080fd5b60005b85811015613db15781613d978882613f53565b845260208401935060208301925050600181019050613d84565b5050509392505050565b6000613dce613dc98461494c565b6148fb565b905082815260208101848484011115613de657600080fd5b613df1848285614c42565b509392505050565b6000613e0c613e078461497d565b6148fb565b905082815260208101848484011115613e2457600080fd5b613e2f848285614c42565b509392505050565b600081359050613e4681614e46565b92915050565b60008083601f840112613e5e57600080fd5b8235905067ffffffffffffffff811115613e7757600080fd5b602083019150836020820283011115613e8f57600080fd5b9250929050565b600082601f830112613ea757600080fd5b8135613eb7848260208601613d4f565b91505092915050565b600081359050613ecf81614e5d565b92915050565b600081359050613ee481614e74565b92915050565b600081519050613ef981614e74565b92915050565b600082601f830112613f1057600080fd5b8135613f20848260208601613dbb565b91505092915050565b600082601f830112613f3a57600080fd5b8135613f4a848260208601613df9565b91505092915050565b600081359050613f6281614e8b565b92915050565b600081519050613f7781614e8b565b92915050565b600060208284031215613f8f57600080fd5b6000613f9d84828501613e37565b91505092915050565b60008060408385031215613fb957600080fd5b6000613fc785828601613e37565b9250506020613fd885828601613e37565b9150509250929050565b600080600060608486031215613ff757600080fd5b600061400586828701613e37565b935050602061401686828701613e37565b925050604061402786828701613f53565b9150509250925092565b6000806000806080858703121561404757600080fd5b600061405587828801613e37565b945050602061406687828801613e37565b935050604061407787828801613f53565b925050606085013567ffffffffffffffff81111561409457600080fd5b6140a087828801613eff565b91505092959194509250565b600080604083850312156140bf57600080fd5b60006140cd85828601613e37565b92505060206140de85828601613ec0565b9150509250929050565b600080604083850312156140fb57600080fd5b600061410985828601613e37565b925050602061411a85828601613f53565b9150509250929050565b60008060006060848603121561413957600080fd5b600061414786828701613e37565b935050602061415886828701613f53565b925050604061416986828701613f53565b9150509250925092565b6000806020838503121561418657600080fd5b600083013567ffffffffffffffff8111156141a057600080fd5b6141ac85828601613e4c565b92509250509250929050565b6000602082840312156141ca57600080fd5b600082013567ffffffffffffffff8111156141e457600080fd5b6141f084828501613e96565b91505092915050565b60006020828403121561420b57600080fd5b600061421984828501613ec0565b91505092915050565b60006020828403121561423457600080fd5b600061424284828501613ed5565b91505092915050565b60006020828403121561425d57600080fd5b600061426b84828501613eea565b91505092915050565b60006020828403121561428657600080fd5b600082013567ffffffffffffffff8111156142a057600080fd5b6142ac84828501613f29565b91505092915050565b6000602082840312156142c757600080fd5b60006142d584828501613f53565b91505092915050565b6000602082840312156142f057600080fd5b60006142fe84828501613f68565b91505092915050565b600061431383836145a6565b60608301905092915050565b600061432b8383614639565b60208301905092915050565b61434081614b60565b82525050565b61434f81614b60565b82525050565b6000614360826149e3565b61436a8185614a29565b9350614375836149ae565b8060005b838110156143a657815161438d8882614307565b975061439883614a0f565b925050600181019050614379565b5085935050505092915050565b60006143be826149ee565b6143c88185614a3a565b93506143d3836149be565b8060005b838110156144045781516143eb888261431f565b97506143f683614a1c565b9250506001810190506143d7565b5085935050505092915050565b61441a81614b72565b82525050565b61442981614b72565b82525050565b600061443a826149f9565b6144448185614a4b565b9350614454818560208601614c51565b61445d81614dbd565b840191505092915050565b61447181614c0c565b82525050565b600061448282614a04565b61448c8185614a5c565b935061449c818560208601614c51565b6144a581614dbd565b840191505092915050565b60006144bb82614a04565b6144c58185614a6d565b93506144d5818560208601614c51565b80840191505092915050565b600081546144ee81614c84565b6144f88186614a6d565b94506001821660008114614513576001811461452457614557565b60ff19831686528186019350614557565b61452d856149ce565b60005b8381101561454f57815481890152600182019150602081019050614530565b838801955050505b50505092915050565b600061456d602683614a5c565b915061457882614dce565b604082019050919050565b6000614590602083614a5c565b915061459b82614e1d565b602082019050919050565b6060820160008201516145bc6000850182614337565b5060208201516145cf6020850182614657565b5060408201516145e26040850182614411565b50505050565b6060820160008201516145fe6000850182614337565b5060208201516146116020850182614657565b5060408201516146246040850182614411565b50505050565b61463381614baa565b82525050565b61464281614bd8565b82525050565b61465181614bd8565b82525050565b61466081614be2565b82525050565b61466f81614c30565b82525050565b61467e81614bf6565b82525050565b600061469082866144b0565b915061469c82856144b0565b91506146a882846144e1565b9150819050949350505050565b60006020820190506146ca6000830184614346565b92915050565b60006060820190506146e56000830186614346565b6146f26020830185614346565b6146ff6040830184614648565b949350505050565b600060808201905061471c6000830187614346565b6147296020830186614346565b6147366040830185614648565b8181036060830152614748818461442f565b905095945050505050565b60006040820190506147686000830185614346565b6147756020830184614648565b9392505050565b60006040820190506147916000830185614346565b61479e6020830184614666565b9392505050565b600060208201905081810360008301526147bf8184614355565b905092915050565b600060208201905081810360008301526147e181846143b3565b905092915050565b60006020820190506147fe6000830184614420565b92915050565b60006020820190506148196000830184614468565b92915050565b600060208201905081810360008301526148398184614477565b905092915050565b6000602082019050818103600083015261485a81614560565b9050919050565b6000602082019050818103600083015261487a81614583565b9050919050565b600060608201905061489660008301846145e8565b92915050565b60006040820190506148b1600083018561462a565b6148be602083018461462a565b9392505050565b60006020820190506148da6000830184614648565b92915050565b60006020820190506148f56000830184614675565b92915050565b6000614905614916565b90506149118282614cb6565b919050565b6000604051905090565b600067ffffffffffffffff82111561493b5761493a614d8e565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561496757614966614d8e565b5b61497082614dbd565b9050602081019050919050565b600067ffffffffffffffff82111561499857614997614d8e565b5b6149a182614dbd565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a8382614baa565b9150614a8e83614baa565b92508261ffff03821115614aa557614aa4614d30565b5b828201905092915050565b6000614abb82614bd8565b9150614ac683614bd8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614afb57614afa614d30565b5b828201905092915050565b6000614b1182614bd8565b9150614b1c83614bd8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b5557614b54614d30565b5b828202905092915050565b6000614b6b82614bb8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600069ffffffffffffffffffff82169050919050565b6000614c1782614c1e565b9050919050565b6000614c2982614bb8565b9050919050565b6000614c3b82614bf6565b9050919050565b82818337600083830152505050565b60005b83811015614c6f578082015181840152602081019050614c54565b83811115614c7e576000848401525b50505050565b60006002820490506001821680614c9c57607f821691505b60208210811415614cb057614caf614d5f565b5b50919050565b614cbf82614dbd565b810181811067ffffffffffffffff82111715614cde57614cdd614d8e565b5b80604052505050565b6000614cf282614bd8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d2557614d24614d30565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b614e4f81614b60565b8114614e5a57600080fd5b50565b614e6681614b72565b8114614e7157600080fd5b50565b614e7d81614b7e565b8114614e8857600080fd5b50565b614e9481614bd8565b8114614e9f57600080fd5b5056fea2646970667358221220b83edd54d573ed506ee84bb48f03f511e4bff0a290f35b3fe87a2b42726e6bae64736f6c63430008040033697066733a2f2f516d594c424d527a754865774b5867686d626778667251767a5644524458785a566d4a56445970356b4635526748
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103425760003560e01c80636c0360eb116101b8578063b164f4c311610104578063dea95ff8116100a2578063f06da0481161007c578063f06da048146109ae578063f2c4ce1e146109ca578063f2fde38b146109e6578063fc441bfc14610a0257610342565b8063dea95ff814610946578063e0a8085314610962578063e985e9c51461097e57610342565b8063c23dc68f116100de578063c23dc68f1461089a578063c87b56dd146108ca578063c98b100f146108fa578063d0defddb1461091657610342565b8063b164f4c314610842578063b88d4fde14610860578063bed998501461087c57610342565b806396efdc0f11610171578063a22cb4651161014b578063a22cb465146107ce578063a37573d6146107ea578063a9dfd4ae14610808578063add5a4fa1461082657610342565b806396efdc0f1461076657806399a2557a1461078257806399f03c0d146107b257610342565b80636c0360eb146106a257806370a08231146106c0578063715018a6146106f05780638462151c146106fa5780638da5cb5b1461072a57806395d89b411461074857610342565b806330bdbd09116102925780635485dab71161023057806355f804b31161020a57806355f804b31461060a5780635bbb217714610626578063617a09d7146106565780636352211e1461067257610342565b80635485dab7146105c35780635503a0e8146105e25780635579da5f1461060057610342565b80633c68264b1161026c5780633c68264b1461053d57806342842e0e146105595780634ca3c1f51461057557806351830227146105a557610342565b806330bdbd09146104e3578063378f33be146105015780633a562d091461051f57610342565b8063095ea7b3116102ff57806318160ddd116102d957806318160ddd146104715780632254dc4b1461048f57806323b872dd146104ab578063252652aa146104c757610342565b8063095ea7b31461041b578063119b22b31461043757806316ba10e01461045557610342565b806301ffc9a71461034757806303b431dd14610377578063041eb7cc1461039357806306fdde03146103af578063081812fc146103cd578063081c8c44146103fd575b600080fd5b610361600480360381019061035c9190614222565b610a1e565b60405161036e91906147e9565b60405180910390f35b610391600480360381019061038c91906142b5565b610ab0565b005b6103ad60048036038101906103a89190613f7d565b610cf7565b005b6103b7610db7565b6040516103c4919061481f565b60405180910390f35b6103e760048036038101906103e291906142b5565b610e49565b6040516103f491906146b5565b60405180910390f35b610405610ec5565b604051610412919061481f565b60405180910390f35b610435600480360381019061043091906140e8565b610f53565b005b61043f6110fa565b60405161044c91906148c5565b60405180910390f35b61046f600480360381019061046a9190614274565b611100565b005b610479611196565b60405161048691906148c5565b60405180910390f35b6104a960048036038101906104a49190614173565b6111ad565b005b6104c560048036038101906104c09190613fe2565b61121b565b005b6104e160048036038101906104dc91906141f9565b61122b565b005b6104eb6112c4565b6040516104f891906147e9565b60405180910390f35b6105096112d7565b60405161051691906148c5565b60405180910390f35b6105276112dd565b60405161053491906147e9565b60405180910390f35b610557600480360381019061055291906142b5565b6112f0565b005b610573600480360381019061056e9190613fe2565b611402565b005b61058f600480360381019061058a91906142b5565b611422565b60405161059c91906148c5565b60405180910390f35b6105ad61143a565b6040516105ba91906147e9565b60405180910390f35b6105cb61144d565b6040516105d992919061489c565b60405180910390f35b6105ea61147b565b6040516105f7919061481f565b60405180910390f35b610608611509565b005b610624600480360381019061061f9190614274565b6116cd565b005b610640600480360381019061063b91906141b8565b611763565b60405161064d91906147a5565b60405180910390f35b610670600480360381019061066b91906142b5565b611896565b005b61068c600480360381019061068791906142b5565b61192a565b60405161069991906146b5565b60405180910390f35b6106aa61193c565b6040516106b7919061481f565b60405180910390f35b6106da60048036038101906106d59190613f7d565b6119ca565b6040516106e791906148c5565b60405180910390f35b6106f8611a83565b005b610714600480360381019061070f9190613f7d565b611b0b565b60405161072191906147c7565b60405180910390f35b610732611ca1565b60405161073f91906146b5565b60405180910390f35b610750611ccb565b60405161075d919061481f565b60405180910390f35b610780600480360381019061077b91906142b5565b611d5d565b005b61079c60048036038101906107979190614124565b611e9e565b6040516107a991906147c7565b60405180910390f35b6107cc60048036038101906107c791906142b5565b6120fe565b005b6107e860048036038101906107e391906140ac565b612345565b005b6107f26124bd565b6040516107ff91906148c5565b60405180910390f35b6108106124c3565b60405161081d91906148e0565b60405180910390f35b610840600480360381019061083b91906140e8565b6124d1565b005b61084a6125bd565b6040516108579190614804565b60405180910390f35b61087a60048036038101906108759190614031565b6125e3565b005b610884612656565b60405161089191906148e0565b60405180910390f35b6108b460048036038101906108af91906142b5565b612664565b6040516108c19190614881565b60405180910390f35b6108e460048036038101906108df91906142b5565b6126ce565b6040516108f1919061481f565b60405180910390f35b610914600480360381019061090f9190614173565b612862565b005b610930600480360381019061092b91906140e8565b612a2f565b60405161093d91906148c5565b60405180910390f35b610960600480360381019061095b91906142b5565b612a54565b005b61097c600480360381019061097791906141f9565b612ada565b005b61099860048036038101906109939190613fa6565b612b73565b6040516109a591906147e9565b60405180910390f35b6109c860048036038101906109c391906142b5565b612c07565b005b6109e460048036038101906109df9190614274565b612d0c565b005b610a0060048036038101906109fb9190613f7d565b612da2565b005b610a1c6004803603810190610a1791906141f9565b612e9a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a7957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aa95750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6002600c5414610aec576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b51576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6106f281600e60000160029054906101000a900461ffff1661ffff16610b779190614ab0565b1115610baf576040517f45fdc70900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600181601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002054610c0e9190614ab0565b1115610c46576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281526020019081526020016000206000828254610ca79190614ab0565b9250508190555080600e60000160028282829054906101000a900461ffff16610cd09190614a78565b92506101000a81548161ffff021916908361ffff160217905550610cf43382612f33565b50565b610cff613107565b73ffffffffffffffffffffffffffffffffffffffff16610d1d611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a90614861565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060028054610dc690614c84565b80601f0160208091040260200160405190810160405280929190818152602001828054610df290614c84565b8015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b5050505050905090565b6000610e548261310f565b610e8a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60118054610ed290614c84565b80601f0160208091040260200160405190810160405280929190818152602001828054610efe90614c84565b8015610f4b5780601f10610f2057610100808354040283529160200191610f4b565b820191906000526020600020905b815481529060010190602001808311610f2e57829003601f168201915b505050505081565b6000610f5e8261316e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fc6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610fe561323c565b73ffffffffffffffffffffffffffffffffffffffff1614611048576110118161100c61323c565b612b73565b611047576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c5481565b611108613107565b73ffffffffffffffffffffffffffffffffffffffff16611126611ca1565b73ffffffffffffffffffffffffffffffffffffffff161461117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390614861565b60405180910390fd5b8060129080519060200190611192929190613c69565b5050565b60006111a0613244565b6001546000540303905090565b60005b82829050811015611216576112038383838181106111f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135611d5d565b808061120e90614ce7565b9150506111b0565b505050565b611226838383613249565b505050565b611233613107565b73ffffffffffffffffffffffffffffffffffffffff16611251611ca1565b73ffffffffffffffffffffffffffffffffffffffff16146112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90614861565b60405180910390fd5b80600d60026101000a81548160ff02191690831515021790555050565b600d60009054906101000a900460ff1681565b600a5481565b600d60029054906101000a900460ff1681565b6112f98161192a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461135d576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f193369021e19e0c9bab24000006040518363ffffffff1660e01b81526004016113c492919061477c565b600060405180830381600087803b1580156113de57600080fd5b505af11580156113f2573d6000803e3d6000fd5b505050506113ff816135f3565b50565b61141d838383604051806020016040528060008152506125e3565b505050565b60136020528060005260406000206000915090505481565b600d60019054906101000a900460ff1681565b600e8060000160009054906101000a900461ffff16908060000160029054906101000a900461ffff16905082565b6012805461148890614c84565b80601f01602080910402602001604051908101604052809291908181526020018280546114b490614c84565b80156115015780601f106114d657610100808354040283529160200191611501565b820191906000526020600020905b8154815290600101906020018083116114e457829003601f168201915b505050505081565b611511613107565b73ffffffffffffffffffffffffffffffffffffffff1661152f611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90614861565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016115e291906146b5565b60206040518083038186803b1580156115fa57600080fd5b505afa15801561160e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163291906142de565b9050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61167a611ca1565b836040518363ffffffff1660e01b8152600401611698929190614753565b600060405180830381600087803b1580156116b257600080fd5b505af11580156116c6573d6000803e3d6000fd5b5050505050565b6116d5613107565b73ffffffffffffffffffffffffffffffffffffffff166116f3611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174090614861565b60405180910390fd5b806010908051906020019061175f929190613c69565b5050565b606060008251905060008167ffffffffffffffff8111156117ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156117e657816020015b6117d3613cef565b8152602001906001900390816117cb5790505b50905060005b82811461188b5761183c85828151811061182f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612664565b828281518110611875577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508060010190506117ec565b508092505050919050565b61189e613107565b73ffffffffffffffffffffffffffffffffffffffff166118bc611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614611912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190990614861565b60405180910390fd5b600b54811161192057600080fd5b80600b8190555050565b60006119358261316e565b9050919050565b6010805461194990614c84565b80601f016020809104026020016040519081016040528092919081815260200182805461197590614c84565b80156119c25780601f10611997576101008083540402835291602001916119c2565b820191906000526020600020905b8154815290600101906020018083116119a557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a32576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611a8b613107565b73ffffffffffffffffffffffffffffffffffffffff16611aa9611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614611aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af690614861565b60405180910390fd5b611b096000613601565b565b60606000806000611b1b856119ca565b905060008167ffffffffffffffff811115611b5f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611b8d5781602001602082028036833780820191505090505b509050611b98613cef565b6000611ba2613244565b90505b838614611c9357611bb5816136c7565b9150816040015115611bc657611c88565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c0657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611c875780838780600101985081518110611c7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b5b806001019050611ba5565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611cda90614c84565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0690614c84565b8015611d535780601f10611d2857610100808354040283529160200191611d53565b820191906000526020600020905b815481529060010190602001808311611d3657829003601f168201915b5050505050905090565b611d668161192a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611dca576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60029054906101000a900460ff16611e10576040517fc8c1c68b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54601360008381526020019081526020016000205410611e3157600080fd5b601360008281526020019081526020016000206000815480929190611e5590614ce7565b91905055508060136000838152602001908152602001600020547f629fa794c53fe20755ec0587cc698121700b87a415f2d47541ccd9fd56b5226360405160405180910390a350565b6060818310611ed9576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611ee46136f2565b9050611eee613244565b851015611f0057611efd613244565b94505b80841115611f0c578093505b6000611f17876119ca565b905084861015611f3a576000868603905081811015611f34578091505b50611f3f565b600090505b60008167ffffffffffffffff811115611f81577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611faf5781602001602082028036833780820191505090505b5090506000821415611fc757809450505050506120f7565b6000611fd288612664565b905060008160400151611fe757816000015190505b60008990505b888114158015611ffd5750848714155b156120e95761200b816136c7565b925082604001511561201c576120de565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461205c57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120dd57808488806001019950815181106120d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b5b806001019050611fed565b508583528296505050505050505b9392505050565b6001600c541461213a576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461219f576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108ae81600e60000160009054906101000a900461ffff1661ffff166121c59190614ab0565b11156121fd576040517f45fdc70900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600281601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600181526020019081526020016000205461225c9190614ab0565b1115612294576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002060008282546122f59190614ab0565b9250508190555080600e60000160008282829054906101000a900461ffff1661231e9190614a78565b92506101000a81548161ffff021916908361ffff1602179055506123423382612f33565b50565b61234d61323c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123b2576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006123bf61323c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661246c61323c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124b191906147e9565b60405180910390a35050565b600b5481565b6904a89f54ef0121c0000081565b6124d9613107565b73ffffffffffffffffffffffffffffffffffffffff166124f7611ca1565b73ffffffffffffffffffffffffffffffffffffffff161461254d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254490614861565b60405180910390fd5b60095481600a5461255e9190614ab0565b1115612596576040517f51ede19e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a60008282546125a89190614ab0565b925050819055506125b98282612f33565b5050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6125ee848484613249565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461265057612619848484846136fb565b61264f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b69021e19e0c9bab240000081565b61266c613cef565b612674613cef565b61267c613244565b831080612690575061268c6136f2565b8310155b1561269e57809150506126c9565b6126a7836136c7565b90508060400151156126bc57809150506126c9565b6126c58361385b565b9150505b919050565b606060001515600d60019054906101000a900460ff161515141561277e57601180546126f990614c84565b80601f016020809104026020016040519081016040528092919081815260200182805461272590614c84565b80156127725780601f1061274757610100808354040283529160200191612772565b820191906000526020600020905b81548152906001019060200180831161275557829003601f168201915b5050505050905061285d565b60006010805461278d90614c84565b80601f01602080910402602001604051908101604052809291908181526020018280546127b990614c84565b80156128065780601f106127db57610100808354040283529160200191612806565b820191906000526020600020905b8154815290600101906020018083116127e957829003601f168201915b50505050509050600081511161282b5760405180602001604052806000815250612859565b806128358461387b565b601260405160200161284993929190614684565b6040516020818303038152906040525b9150505b919050565b60005b82829050811015612977576128b88383838181106128ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561192a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461291c576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612964838383818110612958577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356135f3565b808061296f90614ce7565b915050612865565b50600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19338484905069021e19e0c9bab240000069ffffffffffffffffffff166129dc9190614b06565b6040518363ffffffff1660e01b81526004016129f9929190614753565b600060405180830381600087803b158015612a1357600080fd5b505af1158015612a27573d6000803e3d6000fd5b505050505050565b6014602052816000526040600020602052806000526040600020600091509150505481565b612a5c613107565b73ffffffffffffffffffffffffffffffffffffffff16612a7a611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614612ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac790614861565b60405180910390fd5b80600c8190555050565b612ae2613107565b73ffffffffffffffffffffffffffffffffffffffff16612b00611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614612b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4d90614861565b60405180910390fd5b80600d60016101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff16612c4d576040517fcc0fe59200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846904a89f54ef0121c0000069ffffffffffffffffffff16612caf9190614b06565b6040518463ffffffff1660e01b8152600401612ccd939291906146d0565b600060405180830381600087803b158015612ce757600080fd5b505af1158015612cfb573d6000803e3d6000fd5b50505050612d093382612f33565b50565b612d14613107565b73ffffffffffffffffffffffffffffffffffffffff16612d32611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614612d88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7f90614861565b60405180910390fd5b8060119080519060200190612d9e929190613c69565b5050565b612daa613107565b73ffffffffffffffffffffffffffffffffffffffff16612dc8611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614612e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1590614861565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8590614841565b60405180910390fd5b612e9781613601565b50565b612ea2613107565b73ffffffffffffffffffffffffffffffffffffffff16612ec0611ca1565b73ffffffffffffffffffffffffffffffffffffffff1614612f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0d90614861565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fa0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612fdb576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fe860008483856138d5565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161304d600184146138db565b901b60a042901b61305d856138e5565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106130835781600081905550505061310260008483856138ef565b505050565b600033905090565b60008161311a613244565b11158015613129575060005482105b8015613167575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061317d613244565b11613205576000548110156132045760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415613202575b60008114156131f85760046000836001900393508381526020019081526020016000205490506131cd565b8092505050613237565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006132548261316e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146132bb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166132dc61323c565b73ffffffffffffffffffffffffffffffffffffffff16148061330b575061330a8561330561323c565b612b73565b5b80613350575061331961323c565b73ffffffffffffffffffffffffffffffffffffffff1661333884610e49565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613389576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156133f0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133fd85858560016138d5565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6134fa866138e5565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415613584576000600184019050600060046000838152602001908152602001600020541415613582576000548114613581578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135ec85858560016138ef565b5050505050565b6135fe8160006138f5565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6136cf613cef565b6136eb6004600084815260200190815260200160002054613bcd565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261372161323c565b8786866040518563ffffffff1660e01b81526004016137439493929190614707565b602060405180830381600087803b15801561375d57600080fd5b505af192505050801561378e57506040513d601f19601f8201168201806040525081019061378b919061424b565b60015b613808573d80600081146137be576040519150601f19603f3d011682016040523d82523d6000602084013e6137c3565b606091505b50600081511415613800576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b613863613cef565b61387461386f8361316e565b613bcd565b9050919050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156138c157600183039250600a81066030018353600a810490506138a1565b508181036020830392508083525050919050565b50505050565b6000819050919050565b6000819050919050565b50505050565b60006139008361316e565b9050600081905082156139dd5760008173ffffffffffffffffffffffffffffffffffffffff1661392e61323c565b73ffffffffffffffffffffffffffffffffffffffff16148061395d575061395c8261395761323c565b612b73565b5b806139a2575061396b61323c565b73ffffffffffffffffffffffffffffffffffffffff1661398a86610e49565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806139db576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b6139eb8160008660016138d5565b6006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600160806001901b03600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000060a042901b613ac0846138e5565b171717600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415613b4b576000600185019050600060046000838152602001908152602001600020541415613b49576000548114613b48578260046000838152602001908152602001600020819055505b5b505b83600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bb58160008660016138ef565b60016000815480929190600101919050555050505050565b613bd5613cef565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c010000000000000000000000000000000000000000000000000000000083161415816040019015159081151581525050919050565b828054613c7590614c84565b90600052602060002090601f016020900481019282613c975760008555613cde565b82601f10613cb057805160ff1916838001178555613cde565b82800160010185558215613cde579182015b82811115613cdd578251825591602001919060010190613cc2565b5b509050613ceb9190613d32565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613d4b576000816000905550600101613d33565b5090565b6000613d62613d5d84614920565b6148fb565b90508083825260208201905082856020860282011115613d8157600080fd5b60005b85811015613db15781613d978882613f53565b845260208401935060208301925050600181019050613d84565b5050509392505050565b6000613dce613dc98461494c565b6148fb565b905082815260208101848484011115613de657600080fd5b613df1848285614c42565b509392505050565b6000613e0c613e078461497d565b6148fb565b905082815260208101848484011115613e2457600080fd5b613e2f848285614c42565b509392505050565b600081359050613e4681614e46565b92915050565b60008083601f840112613e5e57600080fd5b8235905067ffffffffffffffff811115613e7757600080fd5b602083019150836020820283011115613e8f57600080fd5b9250929050565b600082601f830112613ea757600080fd5b8135613eb7848260208601613d4f565b91505092915050565b600081359050613ecf81614e5d565b92915050565b600081359050613ee481614e74565b92915050565b600081519050613ef981614e74565b92915050565b600082601f830112613f1057600080fd5b8135613f20848260208601613dbb565b91505092915050565b600082601f830112613f3a57600080fd5b8135613f4a848260208601613df9565b91505092915050565b600081359050613f6281614e8b565b92915050565b600081519050613f7781614e8b565b92915050565b600060208284031215613f8f57600080fd5b6000613f9d84828501613e37565b91505092915050565b60008060408385031215613fb957600080fd5b6000613fc785828601613e37565b9250506020613fd885828601613e37565b9150509250929050565b600080600060608486031215613ff757600080fd5b600061400586828701613e37565b935050602061401686828701613e37565b925050604061402786828701613f53565b9150509250925092565b6000806000806080858703121561404757600080fd5b600061405587828801613e37565b945050602061406687828801613e37565b935050604061407787828801613f53565b925050606085013567ffffffffffffffff81111561409457600080fd5b6140a087828801613eff565b91505092959194509250565b600080604083850312156140bf57600080fd5b60006140cd85828601613e37565b92505060206140de85828601613ec0565b9150509250929050565b600080604083850312156140fb57600080fd5b600061410985828601613e37565b925050602061411a85828601613f53565b9150509250929050565b60008060006060848603121561413957600080fd5b600061414786828701613e37565b935050602061415886828701613f53565b925050604061416986828701613f53565b9150509250925092565b6000806020838503121561418657600080fd5b600083013567ffffffffffffffff8111156141a057600080fd5b6141ac85828601613e4c565b92509250509250929050565b6000602082840312156141ca57600080fd5b600082013567ffffffffffffffff8111156141e457600080fd5b6141f084828501613e96565b91505092915050565b60006020828403121561420b57600080fd5b600061421984828501613ec0565b91505092915050565b60006020828403121561423457600080fd5b600061424284828501613ed5565b91505092915050565b60006020828403121561425d57600080fd5b600061426b84828501613eea565b91505092915050565b60006020828403121561428657600080fd5b600082013567ffffffffffffffff8111156142a057600080fd5b6142ac84828501613f29565b91505092915050565b6000602082840312156142c757600080fd5b60006142d584828501613f53565b91505092915050565b6000602082840312156142f057600080fd5b60006142fe84828501613f68565b91505092915050565b600061431383836145a6565b60608301905092915050565b600061432b8383614639565b60208301905092915050565b61434081614b60565b82525050565b61434f81614b60565b82525050565b6000614360826149e3565b61436a8185614a29565b9350614375836149ae565b8060005b838110156143a657815161438d8882614307565b975061439883614a0f565b925050600181019050614379565b5085935050505092915050565b60006143be826149ee565b6143c88185614a3a565b93506143d3836149be565b8060005b838110156144045781516143eb888261431f565b97506143f683614a1c565b9250506001810190506143d7565b5085935050505092915050565b61441a81614b72565b82525050565b61442981614b72565b82525050565b600061443a826149f9565b6144448185614a4b565b9350614454818560208601614c51565b61445d81614dbd565b840191505092915050565b61447181614c0c565b82525050565b600061448282614a04565b61448c8185614a5c565b935061449c818560208601614c51565b6144a581614dbd565b840191505092915050565b60006144bb82614a04565b6144c58185614a6d565b93506144d5818560208601614c51565b80840191505092915050565b600081546144ee81614c84565b6144f88186614a6d565b94506001821660008114614513576001811461452457614557565b60ff19831686528186019350614557565b61452d856149ce565b60005b8381101561454f57815481890152600182019150602081019050614530565b838801955050505b50505092915050565b600061456d602683614a5c565b915061457882614dce565b604082019050919050565b6000614590602083614a5c565b915061459b82614e1d565b602082019050919050565b6060820160008201516145bc6000850182614337565b5060208201516145cf6020850182614657565b5060408201516145e26040850182614411565b50505050565b6060820160008201516145fe6000850182614337565b5060208201516146116020850182614657565b5060408201516146246040850182614411565b50505050565b61463381614baa565b82525050565b61464281614bd8565b82525050565b61465181614bd8565b82525050565b61466081614be2565b82525050565b61466f81614c30565b82525050565b61467e81614bf6565b82525050565b600061469082866144b0565b915061469c82856144b0565b91506146a882846144e1565b9150819050949350505050565b60006020820190506146ca6000830184614346565b92915050565b60006060820190506146e56000830186614346565b6146f26020830185614346565b6146ff6040830184614648565b949350505050565b600060808201905061471c6000830187614346565b6147296020830186614346565b6147366040830185614648565b8181036060830152614748818461442f565b905095945050505050565b60006040820190506147686000830185614346565b6147756020830184614648565b9392505050565b60006040820190506147916000830185614346565b61479e6020830184614666565b9392505050565b600060208201905081810360008301526147bf8184614355565b905092915050565b600060208201905081810360008301526147e181846143b3565b905092915050565b60006020820190506147fe6000830184614420565b92915050565b60006020820190506148196000830184614468565b92915050565b600060208201905081810360008301526148398184614477565b905092915050565b6000602082019050818103600083015261485a81614560565b9050919050565b6000602082019050818103600083015261487a81614583565b9050919050565b600060608201905061489660008301846145e8565b92915050565b60006040820190506148b1600083018561462a565b6148be602083018461462a565b9392505050565b60006020820190506148da6000830184614648565b92915050565b60006020820190506148f56000830184614675565b92915050565b6000614905614916565b90506149118282614cb6565b919050565b6000604051905090565b600067ffffffffffffffff82111561493b5761493a614d8e565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561496757614966614d8e565b5b61497082614dbd565b9050602081019050919050565b600067ffffffffffffffff82111561499857614997614d8e565b5b6149a182614dbd565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a8382614baa565b9150614a8e83614baa565b92508261ffff03821115614aa557614aa4614d30565b5b828201905092915050565b6000614abb82614bd8565b9150614ac683614bd8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614afb57614afa614d30565b5b828201905092915050565b6000614b1182614bd8565b9150614b1c83614bd8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b5557614b54614d30565b5b828202905092915050565b6000614b6b82614bb8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600069ffffffffffffffffffff82169050919050565b6000614c1782614c1e565b9050919050565b6000614c2982614bb8565b9050919050565b6000614c3b82614bf6565b9050919050565b82818337600083830152505050565b60005b83811015614c6f578082015181840152602081019050614c54565b83811115614c7e576000848401525b50505050565b60006002820490506001821680614c9c57607f821691505b60208210811415614cb057614caf614d5f565b5b50919050565b614cbf82614dbd565b810181811067ffffffffffffffff82111715614cde57614cdd614d8e565b5b80604052505050565b6000614cf282614bd8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d2557614d24614d30565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b614e4f81614b60565b8114614e5a57600080fd5b50565b614e6681614b72565b8114614e7157600080fd5b50565b614e7d81614b7e565b8114614e8857600080fd5b50565b614e9481614bd8565b8114614e9f57600080fd5b5056fea2646970667358221220b83edd54d573ed506ee84bb48f03f511e4bff0a290f35b3fe87a2b42726e6bae64736f6c63430008040033
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.