ERC-721
Overview
Max Total Supply
1,000 FF4
Holders
451
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
90 FF4Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FlightForce4
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)
/* Flight Force 4 https://flightforce4.com/ https://twitter.com/flightforce4 */ pragma solidity ^0.8.2; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract FlightForce4 is ERC721A, Ownable, ReentrancyGuard { using ECDSA for bytes32; address public _signerAddress; address public _rankedSignerAddress; address _paySplitter; uint256 public SUPPLY = 11_111; uint256 public PUBLIC_PRICE = 0.075 ether; uint256 public WL_PRICE = 0.063 ether; uint256 public RANKED_PRICE = 0.05 ether; uint256 public WL_MAX_MINT = 3; uint256 public PUBLIC_TRANSACTION_MAX = 5; uint256 public MINT_STAGE = 0; //0 = No minting/Disabled, 1 = Whitelst, 2 = Public string public baseTokenURI; bool public baseTokenURILocked = false; bool public locked = false; mapping(address => uint256) public userNumMints; event BaseTokenURIChanged(string oldURI, string newURI); event PaymentsWithdrawn(address to, uint256 amount); constructor(address _signer, address _rankedSigner, string memory _baseTokenURI) ERC721A("FlightForce4", "FF4") { baseTokenURI = _baseTokenURI; _signerAddress = _signer; _rankedSignerAddress = _rankedSigner; } function setBaseMintPrice(uint256 _price) external onlyOwner{ require(!locked, "Contract is locked"); PUBLIC_PRICE = _price; } function setWLMintPrice(uint256 _price) external onlyOwner{ require(!locked, "Contract is locked"); WL_PRICE = _price; } function setRankedMintPrice(uint256 _price) external onlyOwner{ require(!locked, "Contract is locked"); RANKED_PRICE = _price; } function setSigner(address newSigner) external onlyOwner{ _signerAddress = newSigner; } function setRankedSigner(address newSigner) external onlyOwner{ _rankedSignerAddress = newSigner; } function setLocked() external onlyOwner{ require(address(_paySplitter) != address(0), "Can't lock contract without payment splitter active."); locked = true; } function setPaymentAddress(address newPaysplitter) external onlyOwner{ require(!locked, "Contract is locked"); _paySplitter = newPaysplitter; } function setMintStage(uint256 stage) external onlyOwner { MINT_STAGE = stage; } function setMaxMintTransaction(uint256 maxMint) external onlyOwner { require(maxMint <= 50, "Max mint per transaction can't exceed 50."); PUBLIC_TRANSACTION_MAX = maxMint; } function signatureMatch(bytes calldata signature) public view returns (bool) { return _signerAddress == keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", bytes32(uint256(uint160(msg.sender))) ) ).recover(signature); } function checkCanMint(uint256 numMint, uint256 mintPrice) internal view { uint256 mintedSupply = totalSupply(); require(mintedSupply <= SUPPLY, "Sold Out!"); require(mintedSupply + numMint <= SUPPLY, "Not enough supply to fulfill requested amount."); require(numMint <= getMaxMint(), "Too many mints in one transaction."); require(msg.value == (mintPrice * numMint), "Minting price does not match."); } function mint(uint256 numMint) external payable nonReentrant { require(MINT_STAGE == 2, "Public Minting is not yet enabled"); checkCanMint(numMint, PUBLIC_PRICE); if (userNumMints[msg.sender] > 0){ delete userNumMints[msg.sender]; } _safeMint(msg.sender, numMint); } function signatureMint(uint256 numMint, uint256 mintStage, uint256 mintPrice, bytes calldata signature) internal { require(MINT_STAGE == mintStage, "Whitelist Minting not enabled"); require(signatureMatch(signature), "Invalid signature. You are not on the list."); checkCanMint(numMint, mintPrice); require ((userNumMints[msg.sender] + numMint) <= WL_MAX_MINT, "Exceeded maximum whitelist mint."); userNumMints[msg.sender] += numMint; _safeMint(msg.sender, numMint); } function whitelistMint(uint256 numMint, bytes calldata signature) external payable nonReentrant{ signatureMint(numMint, 1, WL_PRICE, signature); } function rankedMint(uint256 numMint, bytes calldata signature) external payable nonReentrant{ signatureMint(numMint, 1, RANKED_PRICE, signature); } //Mint multiples, for reserving the initial team ones. function mintFlightCrew(address recipient, uint256 num) public onlyOwner { require(totalSupply() + num <= SUPPLY, "Not enough to mint"); _safeMint(recipient, num); } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner { require(!baseTokenURILocked, "Base Token URI is locked from changing."); emit BaseTokenURIChanged(baseTokenURI, _baseTokenURI); baseTokenURI = _baseTokenURI; } function lockBaseTokenURI() external onlyOwner{ baseTokenURILocked = true; } function dropSupply(uint newSupply) external onlyOwner{ require(newSupply < SUPPLY, "New supply must be less than current supply."); require(newSupply > totalSupply(), "Can't set supply lower than current minted supply."); SUPPLY = newSupply; } function getMaxMint() public view returns (uint256) { if (MINT_STAGE == 0){ return 0; } uint256 remainingSupply = getRemainingSupply(); uint256 maxTransaction = PUBLIC_TRANSACTION_MAX; if (MINT_STAGE == 1){ maxTransaction = WL_MAX_MINT; //Check against user mints uint256 userMints = userNumMints[msg.sender]; if (userMints >= maxTransaction){ return 0; } maxTransaction -= userMints; } if (remainingSupply < maxTransaction) { return remainingSupply; } return maxTransaction; } function getRemainingSupply() public view returns (uint256){ return (SUPPLY - totalSupply()); } function getMintedSupply() public view returns (uint256){ return totalSupply(); } function withdrawFunds(address to) public payable onlyOwner { require(!locked, "Contract is locked"); //Once contract is locked, no more direct withdrawals. Payment Splitter Withdrawals only uint balance = address(this).balance; (bool sent, ) = payable(to).call{value: address(this).balance}(""); require(sent, "Error Withdrawing."); emit PaymentsWithdrawn(to, balance); } function withdrawFundsToSplitter() public payable { require(address(_paySplitter) != address(0), "Splitter not set."); uint balance = address(this).balance; (bool sent, ) = payable(_paySplitter).call{value: address(this).balance}(""); require(sent, "Error Withdrawing."); emit PaymentsWithdrawn(_paySplitter, balance); } function withdrawERC(address _tokenContract) public payable onlyOwner { IERC20 tokenContract = IERC20(_tokenContract); uint256 balance = tokenContract.balanceOf(address(this)); require(balance > 0, "Nothing to withdraw."); tokenContract.transfer(msg.sender, balance); } }
// 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 // 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 // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
{ "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
[{"inputs":[{"internalType":"address","name":"_signer","type":"address"},{"internalType":"address","name":"_rankedSigner","type":"address"},{"internalType":"string","name":"_baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"oldURI","type":"string"},{"indexed":false,"internalType":"string","name":"newURI","type":"string"}],"name":"BaseTokenURIChanged","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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentsWithdrawn","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":[],"name":"MINT_STAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_TRANSACTION_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RANKED_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_rankedSignerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"dropSupply","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":[],"name":"getMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mintFlightCrew","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numMint","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"rankedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setBaseMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setLocked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"setMaxMintTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stage","type":"uint256"}],"name":"setMintStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPaysplitter","type":"address"}],"name":"setPaymentAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setRankedMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setRankedSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setWLMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"signatureMatch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userNumMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numMint","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"}],"name":"withdrawERC","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdrawFunds","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawFundsToSplitter","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052612b67600d5567010a741a46278000600e5566dfd22a8cd98000600f5566b1a2bc2ec500006010556003601155600560125560006013556000601560006101000a81548160ff0219169083151502179055506000601560016101000a81548160ff0219169083151502179055503480156200007e57600080fd5b5060405162005ec238038062005ec28339818101604052810190620000a4919062000432565b6040518060400160405280600c81526020017f466c69676874466f7263653400000000000000000000000000000000000000008152506040518060400160405280600381526020017f4646340000000000000000000000000000000000000000000000000000000000815250816002908051906020019062000128929190620002f9565b50806003908051906020019062000141929190620002f9565b50620001526200022660201b60201c565b60008190555050506200017a6200016e6200022b60201b60201c565b6200023360201b60201c565b600160098190555080601490805190602001906200019a929190620002f9565b5082600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200065f565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000307906200056a565b90600052602060002090601f0160209004810192826200032b576000855562000377565b82601f106200034657805160ff191683800117855562000377565b8280016001018555821562000377579182015b828111156200037657825182559160200191906001019062000359565b5b5090506200038691906200038a565b5090565b5b80821115620003a55760008160009055506001016200038b565b5090565b6000620003c0620003ba84620004ca565b620004a1565b905082815260208101848484011115620003d957600080fd5b620003e684828562000534565b509392505050565b600081519050620003ff8162000645565b92915050565b600082601f8301126200041757600080fd5b815162000429848260208601620003a9565b91505092915050565b6000806000606084860312156200044857600080fd5b60006200045886828701620003ee565b93505060206200046b86828701620003ee565b925050604084015167ffffffffffffffff8111156200048957600080fd5b620004978682870162000405565b9150509250925092565b6000620004ad620004c0565b9050620004bb8282620005a0565b919050565b6000604051905090565b600067ffffffffffffffff821115620004e857620004e762000605565b5b620004f38262000634565b9050602081019050919050565b60006200050d8262000514565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200055457808201518184015260208101905062000537565b8381111562000564576000848401525b50505050565b600060028204905060018216806200058357607f821691505b602082108114156200059a5762000599620005d6565b5b50919050565b620005ab8262000634565b810181811067ffffffffffffffff82111715620005cd57620005cc62000605565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620006508162000500565b81146200065c57600080fd5b50565b615853806200066f6000396000f3fe60806040526004361061031a5760003560e01c806383b65c58116101ab578063c87b56dd116100f7578063e1e62b0211610095578063e985e9c51161006f578063e985e9c514610b1f578063ea16c38b14610b5c578063f2113b5a14610b78578063f2fde38b14610ba35761031a565b8063e1e62b0214610aaf578063e4b7fb7314610ad8578063e95164f514610b035761031a565b8063d15e63fd116100d1578063d15e63fd14610a19578063d2bf062814610a44578063d547cfb714610a6d578063dcff26e114610a985761031a565b8063c87b56dd14610986578063cab6b4ef146109c3578063cf309012146109ee5761031a565b8063a0712d6811610164578063c01637021161013e578063c0163702146108dc578063c1df653814610905578063c50497ae14610930578063c62230551461095b5761031a565b8063a0712d681461086e578063a22cb4651461088a578063b88d4fde146108b35761031a565b806383b65c581461076b578063867c5891146107965780638da5cb5b146107bf57806395d89b41146107ea5780639cde74b2146108155780639e852f75146108525761031a565b8063420401e91161026a578063654dbbc0116102235780636c19e783116101fd5780636c19e783146106e457806370a082311461070d578063715018a61461074a5780637a2a7767146107615761031a565b8063654dbbc01461067657806366d38ba91461069f57806368742da6146106c85761031a565b8063420401e91461055657806342842e0e1461057f5780635a64a2ba146105a85780635e1e1004146105e5578063611f3f101461060e5780636352211e146106395761031a565b806318160ddd116102d757806322f4691a116102b157806322f4691a146104ae57806323b872dd146104d957806330176e131461050257806331c3c7a01461052b5761031a565b806318160ddd1461042f5780631aedbe151461045a5780631f46452f146104835761031a565b806301ffc9a71461031f57806306fdde031461035c578063081812fc14610387578063095ea7b3146103c45780630d0f38b8146103ed57806310c1952f14610418575b600080fd5b34801561032b57600080fd5b506103466004803603810190610341919061428b565b610bcc565b6040516103539190614a32565b60405180910390f35b34801561036857600080fd5b50610371610c5e565b60405161037e9190614a92565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a99190614363565b610cf0565b6040516103bb91906149a2565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190614226565b610d6c565b005b3480156103f957600080fd5b50610402610f13565b60405161040f9190614e0b565b60405180910390f35b34801561042457600080fd5b5061042d610f19565b005b34801561043b57600080fd5b50610444611044565b6040516104519190614e0b565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190614226565b61105b565b005b34801561048f57600080fd5b5061049861113c565b6040516104a59190614e0b565b60405180910390f35b3480156104ba57600080fd5b506104c36111f6565b6040516104d09190614e0b565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190614120565b6111fc565b005b34801561050e57600080fd5b5061052960048036038101906105249190614322565b61120c565b005b34801561053757600080fd5b5061054061132c565b60405161054d9190614e0b565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190614363565b611332565b005b34801561058b57600080fd5b506105a660048036038101906105a19190614120565b611408565b005b3480156105b457600080fd5b506105cf60048036038101906105ca91906140bb565b611428565b6040516105dc9190614e0b565b60405180910390f35b3480156105f157600080fd5b5061060c600480360381019061060791906140bb565b611440565b005b34801561061a57600080fd5b50610623611550565b6040516106309190614e0b565b60405180910390f35b34801561064557600080fd5b50610660600480360381019061065b9190614363565b611556565b60405161066d91906149a2565b60405180910390f35b34801561068257600080fd5b5061069d60048036038101906106989190614363565b611568565b005b3480156106ab57600080fd5b506106c660048036038101906106c19190614363565b61163e565b005b6106e260048036038101906106dd91906140bb565b6116c4565b005b3480156106f057600080fd5b5061070b600480360381019061070691906140bb565b61187f565b005b34801561071957600080fd5b50610734600480360381019061072f91906140bb565b61193f565b6040516107419190614e0b565b60405180910390f35b34801561075657600080fd5b5061075f6119f8565b005b610769611a80565b005b34801561077757600080fd5b50610780611c44565b60405161078d9190614a32565b60405180910390f35b3480156107a257600080fd5b506107bd60048036038101906107b89190614363565b611c57565b005b3480156107cb57600080fd5b506107d4611d6a565b6040516107e191906149a2565b60405180910390f35b3480156107f657600080fd5b506107ff611d94565b60405161080c9190614a92565b60405180910390f35b34801561082157600080fd5b5061083c600480360381019061083791906142dd565b611e26565b6040516108499190614a32565b60405180910390f35b61086c600480360381019061086791906143b5565b611f16565b005b61088860048036038101906108839190614363565b611f81565b005b34801561089657600080fd5b506108b160048036038101906108ac91906141ea565b6120c1565b005b3480156108bf57600080fd5b506108da60048036038101906108d5919061416f565b612239565b005b3480156108e857600080fd5b5061090360048036038101906108fe9190614363565b6122ac565b005b34801561091157600080fd5b5061091a612376565b60405161092791906149a2565b60405180910390f35b34801561093c57600080fd5b5061094561239c565b6040516109529190614e0b565b60405180910390f35b34801561096757600080fd5b506109706123a2565b60405161097d9190614e0b565b60405180910390f35b34801561099257600080fd5b506109ad60048036038101906109a89190614363565b6123a8565b6040516109ba9190614a92565b60405180910390f35b3480156109cf57600080fd5b506109d8612447565b6040516109e59190614e0b565b60405180910390f35b3480156109fa57600080fd5b50610a0361244d565b604051610a109190614a32565b60405180910390f35b348015610a2557600080fd5b50610a2e612460565b604051610a3b91906149a2565b60405180910390f35b348015610a5057600080fd5b50610a6b6004803603810190610a6691906140bb565b612486565b005b348015610a7957600080fd5b50610a82612546565b604051610a8f9190614a92565b60405180910390f35b348015610aa457600080fd5b50610aad6125d4565b005b348015610abb57600080fd5b50610ad66004803603810190610ad19190614363565b61266d565b005b348015610ae457600080fd5b50610aed612743565b604051610afa9190614e0b565b60405180910390f35b610b1d6004803603810190610b1891906140bb565b61275f565b005b348015610b2b57600080fd5b50610b466004803603810190610b4191906140e4565b612943565b604051610b539190614a32565b60405180910390f35b610b766004803603810190610b7191906143b5565b6129d7565b005b348015610b8457600080fd5b50610b8d612a42565b604051610b9a9190614e0b565b60405180910390f35b348015610baf57600080fd5b50610bca6004803603810190610bc591906140bb565b612a51565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c2757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c575750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610c6d906150c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c99906150c1565b8015610ce65780601f10610cbb57610100808354040283529160200191610ce6565b820191906000526020600020905b815481529060010190602001808311610cc957829003601f168201915b5050505050905090565b6000610cfb82612b49565b610d31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d7782612ba8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ddf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dfe612c76565b73ffffffffffffffffffffffffffffffffffffffff1614610e6157610e2a81610e25612c76565b612943565b610e60576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60115481565b610f21612c7e565b73ffffffffffffffffffffffffffffffffffffffff16610f3f611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c90614d8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101e90614d4b565b60405180910390fd5b6001601560016101000a81548160ff021916908315150217905550565b600061104e612c86565b6001546000540303905090565b611063612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611081611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90614d8b565b60405180910390fd5b600d54816110e3611044565b6110ed9190614f10565b111561112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112590614d6b565b60405180910390fd5b6111388282612c8b565b5050565b600080601354141561115157600090506111f3565b600061115b612743565b905060006012549050600160135414156111db5760115490506000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181106111cb57600093505050506111f3565b80826111d79190614fc0565b9150505b808210156111ed5781925050506111f3565b80925050505b90565b60105481565b611207838383612ca9565b505050565b611214612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611232611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90614d8b565b60405180910390fd5b601560009054906101000a900460ff16156112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cf90614bcb565b60405180910390fd5b7fa5867b5328616714836e0684e8bf5bcd97da56e6cd01d359f25172f7f2fd6c4a60148260405161130a929190614ab4565b60405180910390a18060149080519060200190611328929190613e6b565b5050565b600f5481565b61133a612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611358611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a590614d8b565b60405180910390fd5b601560019054906101000a900460ff16156113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f590614dcb565b60405180910390fd5b80600e8190555050565b61142383838360405180602001604052806000815250612239565b505050565b60166020528060005260406000206000915090505481565b611448612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611466611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146114bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b390614d8b565b60405180910390fd5b601560019054906101000a900460ff161561150c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150390614dcb565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e5481565b600061156182612ba8565b9050919050565b611570612c7e565b73ffffffffffffffffffffffffffffffffffffffff1661158e611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90614d8b565b60405180910390fd5b601560019054906101000a900460ff1615611634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162b90614dcb565b60405180910390fd5b8060108190555050565b611646612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611664611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146116ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b190614d8b565b60405180910390fd5b8060138190555050565b6116cc612c7e565b73ffffffffffffffffffffffffffffffffffffffff166116ea611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614611740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173790614d8b565b60405180910390fd5b601560019054906101000a900460ff1615611790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178790614dcb565b60405180910390fd5b600047905060008273ffffffffffffffffffffffffffffffffffffffff16476040516117bb9061498d565b60006040518083038185875af1925050503d80600081146117f8576040519150601f19603f3d011682016040523d82523d6000602084013e6117fd565b606091505b5050905080611841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183890614c8b565b60405180910390fd5b7fd8102a2d73a808d6664a3116966c123291d07ec500edf12e27ee919d7b81bd3c8383604051611872929190614a09565b60405180910390a1505050565b611887612c7e565b73ffffffffffffffffffffffffffffffffffffffff166118a5611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f290614d8b565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611a00612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611a1e611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614611a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6b90614d8b565b60405180910390fd5b611a7e6000613053565b565b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0990614dab565b60405180910390fd5b60004790506000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611b5f9061498d565b60006040518083038185875af1925050503d8060008114611b9c576040519150601f19603f3d011682016040523d82523d6000602084013e611ba1565b606091505b5050905080611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc90614c8b565b60405180910390fd5b7fd8102a2d73a808d6664a3116966c123291d07ec500edf12e27ee919d7b81bd3c600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683604051611c38929190614a09565b60405180910390a15050565b601560009054906101000a900460ff1681565b611c5f612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611c7d611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614611cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cca90614d8b565b60405180910390fd5b600d548110611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e90614ceb565b60405180910390fd5b611d1f611044565b8111611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790614d0b565b60405180910390fd5b80600d8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611da3906150c1565b80601f0160208091040260200160405190810160405280929190818152602001828054611dcf906150c1565b8015611e1c5780601f10611df157610100808354040283529160200191611e1c565b820191906000526020600020905b815481529060010190602001808311611dff57829003601f168201915b5050505050905090565b6000611ebe83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050503373ffffffffffffffffffffffffffffffffffffffff1660001b604051602001611e9a9190614967565b6040516020818303038152906040528051906020012061311990919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60026009541415611f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5390614deb565b60405180910390fd5b6002600981905550611f74836001600f548585613140565b6001600981905550505050565b60026009541415611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614deb565b60405180910390fd5b6002600981905550600260135414612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b90614b6b565b60405180910390fd5b61202081600e546132cd565b6000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156120ac57601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090555b6120b63382612c8b565b600160098190555050565b6120c9612c76565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561212e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061213b612c76565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166121e8612c76565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161222d9190614a32565b60405180910390a35050565b612244848484612ca9565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122a65761226f8484848461340a565b6122a5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6122b4612c7e565b73ffffffffffffffffffffffffffffffffffffffff166122d2611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614612328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231f90614d8b565b60405180910390fd5b603281111561236c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236390614c0b565b60405180910390fd5b8060128190555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b60125481565b60606123b382612b49565b6123e9576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006123f361356a565b9050600081511415612414576040518060200160405280600081525061243f565b8061241e846135fc565b60405160200161242f929190614943565b6040516020818303038152906040525b915050919050565b60135481565b601560019054906101000a900460ff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61248e612c7e565b73ffffffffffffffffffffffffffffffffffffffff166124ac611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614612502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f990614d8b565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60148054612553906150c1565b80601f016020809104026020016040519081016040528092919081815260200182805461257f906150c1565b80156125cc5780601f106125a1576101008083540402835291602001916125cc565b820191906000526020600020905b8154815290600101906020018083116125af57829003601f168201915b505050505081565b6125dc612c7e565b73ffffffffffffffffffffffffffffffffffffffff166125fa611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614612650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264790614d8b565b60405180910390fd5b6001601560006101000a81548160ff021916908315150217905550565b612675612c7e565b73ffffffffffffffffffffffffffffffffffffffff16612693611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146126e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e090614d8b565b60405180910390fd5b601560019054906101000a900460ff1615612739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273090614dcb565b60405180910390fd5b80600f8190555050565b600061274d611044565b600d5461275a9190614fc0565b905090565b612767612c7e565b73ffffffffffffffffffffffffffffffffffffffff16612785611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146127db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d290614d8b565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161281b91906149a2565b60206040518083038186803b15801561283357600080fd5b505afa158015612847573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286b919061438c565b9050600081116128b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a790614c2b565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016128eb929190614a09565b602060405180830381600087803b15801561290557600080fd5b505af1158015612919573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293d9190614262565b50505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60026009541415612a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1490614deb565b60405180910390fd5b6002600981905550612a358360016010548585613140565b6001600981905550505050565b6000612a4c611044565b905090565b612a59612c7e565b73ffffffffffffffffffffffffffffffffffffffff16612a77611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614612acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac490614d8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3490614b8b565b60405180910390fd5b612b4681613053565b50565b600081612b54612c86565b11158015612b63575060005482105b8015612ba1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080612bb7612c86565b11612c3f57600054811015612c3e5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612c3c575b6000811415612c32576004600083600190039350838152602001908152602001600020549050612c07565b8092505050612c71565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b600090565b612ca5828260405180602001604052806000815250613656565b5050565b6000612cb482612ba8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612d1b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612d3c612c76565b73ffffffffffffffffffffffffffffffffffffffff161480612d6b5750612d6a85612d65612c76565b612943565b5b80612db05750612d79612c76565b73ffffffffffffffffffffffffffffffffffffffff16612d9884610cf0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612de9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e50576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e5d858585600161390b565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b612f5a86613911565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415612fe4576000600184019050600060046000838152602001908152602001600020541415612fe2576000548114612fe1578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461304c858585600161391b565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060006131288585613921565b91509150613135816139a4565b819250505092915050565b8360135414613184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317b90614cab565b60405180910390fd5b61318e8282611e26565b6131cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c490614ccb565b60405180910390fd5b6131d785846132cd565b60115485601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132259190614f10565b1115613266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325d90614beb565b60405180910390fd5b84601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132b59190614f10565b925050819055506132c63386612c8b565b5050505050565b60006132d7611044565b9050600d5481111561331e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331590614bab565b60405180910390fd5b600d54838261332d9190614f10565b111561336e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336590614b0b565b60405180910390fd5b61337661113c565b8311156133b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133af90614c6b565b60405180910390fd5b82826133c49190614f66565b3414613405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133fc90614b2b565b60405180910390fd5b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613430612c76565b8786866040518563ffffffff1660e01b815260040161345294939291906149bd565b602060405180830381600087803b15801561346c57600080fd5b505af192505050801561349d57506040513d601f19601f8201168201806040525081019061349a91906142b4565b60015b613517573d80600081146134cd576040519150601f19603f3d011682016040523d82523d6000602084013e6134d2565b606091505b5060008151141561350f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060148054613579906150c1565b80601f01602080910402602001604051908101604052809291908181526020018280546135a5906150c1565b80156135f25780601f106135c7576101008083540402835291602001916135f2565b820191906000526020600020905b8154815290600101906020018083116135d557829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561364257600183039250600a81066030018353600a81049050613622565b508181036020830392508083525050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156136c3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156136fe576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61370b600085838661390b565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161377060018514613cf5565b901b60a042901b61378086613911565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14613884575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613834600087848060010195508761340a565b61386a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106137c557826000541461387f57600080fd5b6138ef565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613885575b816000819055505050613905600085838661391b565b50505050565b50505050565b6000819050919050565b50505050565b6000806041835114156139635760008060006020860151925060408601519150606086015160001a905061395787828585613cff565b9450945050505061399d565b604083511415613994576000806020850151915060408501519050613989868383613e0c565b93509350505061399d565b60006002915091505b9250929050565b600060048111156139de577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613a17577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613a2257613cf2565b60016004811115613a5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613a95577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613acd90614aeb565b60405180910390fd5b60026004811115613b10577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613b49577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b8190614b4b565b60405180910390fd5b60036004811115613bc4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613bfd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c3590614c4b565b60405180910390fd5b600480811115613c77577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613cb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ce890614d2b565b60405180910390fd5b5b50565b6000819050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613d3a576000600391509150613e03565b601b8560ff1614158015613d525750601c8560ff1614155b15613d64576000600491509150613e03565b600060018787878760405160008152602001604052604051613d899493929190614a4d565b6020604051602081039080840390855afa158015613dab573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613dfa57600060019250925050613e03565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613e4f9190614f10565b9050613e5d87828885613cff565b935093505050935093915050565b828054613e77906150c1565b90600052602060002090601f016020900481019282613e995760008555613ee0565b82601f10613eb257805160ff1916838001178555613ee0565b82800160010185558215613ee0579182015b82811115613edf578251825591602001919060010190613ec4565b5b509050613eed9190613ef1565b5090565b5b80821115613f0a576000816000905550600101613ef2565b5090565b6000613f21613f1c84614e4b565b614e26565b905082815260208101848484011115613f3957600080fd5b613f4484828561507f565b509392505050565b6000613f5f613f5a84614e7c565b614e26565b905082815260208101848484011115613f7757600080fd5b613f8284828561507f565b509392505050565b600081359050613f99816157c1565b92915050565b600081359050613fae816157d8565b92915050565b600081519050613fc3816157d8565b92915050565b600081359050613fd8816157ef565b92915050565b600081519050613fed816157ef565b92915050565b60008083601f84011261400557600080fd5b8235905067ffffffffffffffff81111561401e57600080fd5b60208301915083600182028301111561403657600080fd5b9250929050565b600082601f83011261404e57600080fd5b813561405e848260208601613f0e565b91505092915050565b600082601f83011261407857600080fd5b8135614088848260208601613f4c565b91505092915050565b6000813590506140a081615806565b92915050565b6000815190506140b581615806565b92915050565b6000602082840312156140cd57600080fd5b60006140db84828501613f8a565b91505092915050565b600080604083850312156140f757600080fd5b600061410585828601613f8a565b925050602061411685828601613f8a565b9150509250929050565b60008060006060848603121561413557600080fd5b600061414386828701613f8a565b935050602061415486828701613f8a565b925050604061416586828701614091565b9150509250925092565b6000806000806080858703121561418557600080fd5b600061419387828801613f8a565b94505060206141a487828801613f8a565b93505060406141b587828801614091565b925050606085013567ffffffffffffffff8111156141d257600080fd5b6141de8782880161403d565b91505092959194509250565b600080604083850312156141fd57600080fd5b600061420b85828601613f8a565b925050602061421c85828601613f9f565b9150509250929050565b6000806040838503121561423957600080fd5b600061424785828601613f8a565b925050602061425885828601614091565b9150509250929050565b60006020828403121561427457600080fd5b600061428284828501613fb4565b91505092915050565b60006020828403121561429d57600080fd5b60006142ab84828501613fc9565b91505092915050565b6000602082840312156142c657600080fd5b60006142d484828501613fde565b91505092915050565b600080602083850312156142f057600080fd5b600083013567ffffffffffffffff81111561430a57600080fd5b61431685828601613ff3565b92509250509250929050565b60006020828403121561433457600080fd5b600082013567ffffffffffffffff81111561434e57600080fd5b61435a84828501614067565b91505092915050565b60006020828403121561437557600080fd5b600061438384828501614091565b91505092915050565b60006020828403121561439e57600080fd5b60006143ac848285016140a6565b91505092915050565b6000806000604084860312156143ca57600080fd5b60006143d886828701614091565b935050602084013567ffffffffffffffff8111156143f557600080fd5b61440186828701613ff3565b92509250509250925092565b61441681614ff4565b82525050565b61442581615006565b82525050565b61443481615012565b82525050565b61444b61444682615012565b615124565b82525050565b600061445c82614ec2565b6144668185614ed8565b935061447681856020860161508e565b61447f816151bb565b840191505092915050565b600061449582614ecd565b61449f8185614ef4565b93506144af81856020860161508e565b6144b8816151bb565b840191505092915050565b60006144ce82614ecd565b6144d88185614f05565b93506144e881856020860161508e565b80840191505092915050565b60008154614501816150c1565b61450b8186614ef4565b9450600182166000811461452657600181146145385761456b565b60ff198316865260208601935061456b565b61454185614ead565b60005b8381101561456357815481890152600182019150602081019050614544565b808801955050505b50505092915050565b6000614581601883614ef4565b915061458c826151cc565b602082019050919050565b60006145a4602e83614ef4565b91506145af826151f5565b604082019050919050565b60006145c7601d83614ef4565b91506145d282615244565b602082019050919050565b60006145ea601f83614ef4565b91506145f58261526d565b602082019050919050565b600061460d601c83614f05565b915061461882615296565b601c82019050919050565b6000614630602183614ef4565b915061463b826152bf565b604082019050919050565b6000614653602683614ef4565b915061465e8261530e565b604082019050919050565b6000614676600983614ef4565b91506146818261535d565b602082019050919050565b6000614699602783614ef4565b91506146a482615386565b604082019050919050565b60006146bc602083614ef4565b91506146c7826153d5565b602082019050919050565b60006146df602983614ef4565b91506146ea826153fe565b604082019050919050565b6000614702601483614ef4565b915061470d8261544d565b602082019050919050565b6000614725602283614ef4565b915061473082615476565b604082019050919050565b6000614748602283614ef4565b9150614753826154c5565b604082019050919050565b600061476b601283614ef4565b915061477682615514565b602082019050919050565b600061478e601d83614ef4565b91506147998261553d565b602082019050919050565b60006147b1602b83614ef4565b91506147bc82615566565b604082019050919050565b60006147d4602c83614ef4565b91506147df826155b5565b604082019050919050565b60006147f7603283614ef4565b915061480282615604565b604082019050919050565b600061481a602283614ef4565b915061482582615653565b604082019050919050565b600061483d603483614ef4565b9150614848826156a2565b604082019050919050565b6000614860601283614ef4565b915061486b826156f1565b602082019050919050565b6000614883602083614ef4565b915061488e8261571a565b602082019050919050565b60006148a6600083614ee9565b91506148b182615743565b600082019050919050565b60006148c9601183614ef4565b91506148d482615746565b602082019050919050565b60006148ec601283614ef4565b91506148f78261576f565b602082019050919050565b600061490f601f83614ef4565b915061491a82615798565b602082019050919050565b61492e81615068565b82525050565b61493d81615072565b82525050565b600061494f82856144c3565b915061495b82846144c3565b91508190509392505050565b600061497282614600565b915061497e828461443a565b60208201915081905092915050565b600061499882614899565b9150819050919050565b60006020820190506149b7600083018461440d565b92915050565b60006080820190506149d2600083018761440d565b6149df602083018661440d565b6149ec6040830185614925565b81810360608301526149fe8184614451565b905095945050505050565b6000604082019050614a1e600083018561440d565b614a2b6020830184614925565b9392505050565b6000602082019050614a47600083018461441c565b92915050565b6000608082019050614a62600083018761442b565b614a6f6020830186614934565b614a7c604083018561442b565b614a89606083018461442b565b95945050505050565b60006020820190508181036000830152614aac818461448a565b905092915050565b60006040820190508181036000830152614ace81856144f4565b90508181036020830152614ae2818461448a565b90509392505050565b60006020820190508181036000830152614b0481614574565b9050919050565b60006020820190508181036000830152614b2481614597565b9050919050565b60006020820190508181036000830152614b44816145ba565b9050919050565b60006020820190508181036000830152614b64816145dd565b9050919050565b60006020820190508181036000830152614b8481614623565b9050919050565b60006020820190508181036000830152614ba481614646565b9050919050565b60006020820190508181036000830152614bc481614669565b9050919050565b60006020820190508181036000830152614be48161468c565b9050919050565b60006020820190508181036000830152614c04816146af565b9050919050565b60006020820190508181036000830152614c24816146d2565b9050919050565b60006020820190508181036000830152614c44816146f5565b9050919050565b60006020820190508181036000830152614c6481614718565b9050919050565b60006020820190508181036000830152614c848161473b565b9050919050565b60006020820190508181036000830152614ca48161475e565b9050919050565b60006020820190508181036000830152614cc481614781565b9050919050565b60006020820190508181036000830152614ce4816147a4565b9050919050565b60006020820190508181036000830152614d04816147c7565b9050919050565b60006020820190508181036000830152614d24816147ea565b9050919050565b60006020820190508181036000830152614d448161480d565b9050919050565b60006020820190508181036000830152614d6481614830565b9050919050565b60006020820190508181036000830152614d8481614853565b9050919050565b60006020820190508181036000830152614da481614876565b9050919050565b60006020820190508181036000830152614dc4816148bc565b9050919050565b60006020820190508181036000830152614de4816148df565b9050919050565b60006020820190508181036000830152614e0481614902565b9050919050565b6000602082019050614e206000830184614925565b92915050565b6000614e30614e41565b9050614e3c82826150f3565b919050565b6000604051905090565b600067ffffffffffffffff821115614e6657614e6561518c565b5b614e6f826151bb565b9050602081019050919050565b600067ffffffffffffffff821115614e9757614e9661518c565b5b614ea0826151bb565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f1b82615068565b9150614f2683615068565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f5b57614f5a61512e565b5b828201905092915050565b6000614f7182615068565b9150614f7c83615068565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614fb557614fb461512e565b5b828202905092915050565b6000614fcb82615068565b9150614fd683615068565b925082821015614fe957614fe861512e565b5b828203905092915050565b6000614fff82615048565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156150ac578082015181840152602081019050615091565b838111156150bb576000848401525b50505050565b600060028204905060018216806150d957607f821691505b602082108114156150ed576150ec61515d565b5b50919050565b6150fc826151bb565b810181811067ffffffffffffffff8211171561511b5761511a61518c565b5b80604052505050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4e6f7420656e6f75676820737570706c7920746f2066756c66696c6c2072657160008201527f75657374656420616d6f756e742e000000000000000000000000000000000000602082015250565b7f4d696e74696e6720707269636520646f6573206e6f74206d617463682e000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f5075626c6963204d696e74696e67206973206e6f742079657420656e61626c6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f536f6c64204f7574210000000000000000000000000000000000000000000000600082015250565b7f4261736520546f6b656e20555249206973206c6f636b65642066726f6d20636860008201527f616e67696e672e00000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d6178696d756d2077686974656c697374206d696e742e600082015250565b7f4d6178206d696e7420706572207472616e73616374696f6e2063616e2774206560008201527f78636565642035302e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7468696e6720746f2077697468647261772e000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f546f6f206d616e79206d696e747320696e206f6e65207472616e73616374696f60008201527f6e2e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4572726f72205769746864726177696e672e0000000000000000000000000000600082015250565b7f57686974656c697374204d696e74696e67206e6f7420656e61626c6564000000600082015250565b7f496e76616c6964207369676e61747572652e20596f7520617265206e6f74206f60008201527f6e20746865206c6973742e000000000000000000000000000000000000000000602082015250565b7f4e657720737570706c79206d757374206265206c657373207468616e2063757260008201527f72656e7420737570706c792e0000000000000000000000000000000000000000602082015250565b7f43616e27742073657420737570706c79206c6f776572207468616e206375727260008201527f656e74206d696e74656420737570706c792e0000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e2774206c6f636b20636f6e747261637420776974686f7574207061796d60008201527f656e742073706c6974746572206163746976652e000000000000000000000000602082015250565b7f4e6f7420656e6f75676820746f206d696e740000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f53706c6974746572206e6f74207365742e000000000000000000000000000000600082015250565b7f436f6e7472616374206973206c6f636b65640000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6157ca81614ff4565b81146157d557600080fd5b50565b6157e181615006565b81146157ec57600080fd5b50565b6157f88161501c565b811461580357600080fd5b50565b61580f81615068565b811461581a57600080fd5b5056fea26469706673582212203dfbcb0bb03268133c7e34475927adb5327f21c89cd3380bc81f496c12343f6964736f6c6343000804003300000000000000000000000055ce03dee952e1b8144846db646d164432201f6f000000000000000000000000d45455375c46aedef888cc6eac4077f6475fdd6e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656968637a6e776a64626b656b69666e356d66627a6f6637746b617278766b6f7278716f77653433723735357a3361756576747a32652f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061031a5760003560e01c806383b65c58116101ab578063c87b56dd116100f7578063e1e62b0211610095578063e985e9c51161006f578063e985e9c514610b1f578063ea16c38b14610b5c578063f2113b5a14610b78578063f2fde38b14610ba35761031a565b8063e1e62b0214610aaf578063e4b7fb7314610ad8578063e95164f514610b035761031a565b8063d15e63fd116100d1578063d15e63fd14610a19578063d2bf062814610a44578063d547cfb714610a6d578063dcff26e114610a985761031a565b8063c87b56dd14610986578063cab6b4ef146109c3578063cf309012146109ee5761031a565b8063a0712d6811610164578063c01637021161013e578063c0163702146108dc578063c1df653814610905578063c50497ae14610930578063c62230551461095b5761031a565b8063a0712d681461086e578063a22cb4651461088a578063b88d4fde146108b35761031a565b806383b65c581461076b578063867c5891146107965780638da5cb5b146107bf57806395d89b41146107ea5780639cde74b2146108155780639e852f75146108525761031a565b8063420401e91161026a578063654dbbc0116102235780636c19e783116101fd5780636c19e783146106e457806370a082311461070d578063715018a61461074a5780637a2a7767146107615761031a565b8063654dbbc01461067657806366d38ba91461069f57806368742da6146106c85761031a565b8063420401e91461055657806342842e0e1461057f5780635a64a2ba146105a85780635e1e1004146105e5578063611f3f101461060e5780636352211e146106395761031a565b806318160ddd116102d757806322f4691a116102b157806322f4691a146104ae57806323b872dd146104d957806330176e131461050257806331c3c7a01461052b5761031a565b806318160ddd1461042f5780631aedbe151461045a5780631f46452f146104835761031a565b806301ffc9a71461031f57806306fdde031461035c578063081812fc14610387578063095ea7b3146103c45780630d0f38b8146103ed57806310c1952f14610418575b600080fd5b34801561032b57600080fd5b506103466004803603810190610341919061428b565b610bcc565b6040516103539190614a32565b60405180910390f35b34801561036857600080fd5b50610371610c5e565b60405161037e9190614a92565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a99190614363565b610cf0565b6040516103bb91906149a2565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190614226565b610d6c565b005b3480156103f957600080fd5b50610402610f13565b60405161040f9190614e0b565b60405180910390f35b34801561042457600080fd5b5061042d610f19565b005b34801561043b57600080fd5b50610444611044565b6040516104519190614e0b565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190614226565b61105b565b005b34801561048f57600080fd5b5061049861113c565b6040516104a59190614e0b565b60405180910390f35b3480156104ba57600080fd5b506104c36111f6565b6040516104d09190614e0b565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190614120565b6111fc565b005b34801561050e57600080fd5b5061052960048036038101906105249190614322565b61120c565b005b34801561053757600080fd5b5061054061132c565b60405161054d9190614e0b565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190614363565b611332565b005b34801561058b57600080fd5b506105a660048036038101906105a19190614120565b611408565b005b3480156105b457600080fd5b506105cf60048036038101906105ca91906140bb565b611428565b6040516105dc9190614e0b565b60405180910390f35b3480156105f157600080fd5b5061060c600480360381019061060791906140bb565b611440565b005b34801561061a57600080fd5b50610623611550565b6040516106309190614e0b565b60405180910390f35b34801561064557600080fd5b50610660600480360381019061065b9190614363565b611556565b60405161066d91906149a2565b60405180910390f35b34801561068257600080fd5b5061069d60048036038101906106989190614363565b611568565b005b3480156106ab57600080fd5b506106c660048036038101906106c19190614363565b61163e565b005b6106e260048036038101906106dd91906140bb565b6116c4565b005b3480156106f057600080fd5b5061070b600480360381019061070691906140bb565b61187f565b005b34801561071957600080fd5b50610734600480360381019061072f91906140bb565b61193f565b6040516107419190614e0b565b60405180910390f35b34801561075657600080fd5b5061075f6119f8565b005b610769611a80565b005b34801561077757600080fd5b50610780611c44565b60405161078d9190614a32565b60405180910390f35b3480156107a257600080fd5b506107bd60048036038101906107b89190614363565b611c57565b005b3480156107cb57600080fd5b506107d4611d6a565b6040516107e191906149a2565b60405180910390f35b3480156107f657600080fd5b506107ff611d94565b60405161080c9190614a92565b60405180910390f35b34801561082157600080fd5b5061083c600480360381019061083791906142dd565b611e26565b6040516108499190614a32565b60405180910390f35b61086c600480360381019061086791906143b5565b611f16565b005b61088860048036038101906108839190614363565b611f81565b005b34801561089657600080fd5b506108b160048036038101906108ac91906141ea565b6120c1565b005b3480156108bf57600080fd5b506108da60048036038101906108d5919061416f565b612239565b005b3480156108e857600080fd5b5061090360048036038101906108fe9190614363565b6122ac565b005b34801561091157600080fd5b5061091a612376565b60405161092791906149a2565b60405180910390f35b34801561093c57600080fd5b5061094561239c565b6040516109529190614e0b565b60405180910390f35b34801561096757600080fd5b506109706123a2565b60405161097d9190614e0b565b60405180910390f35b34801561099257600080fd5b506109ad60048036038101906109a89190614363565b6123a8565b6040516109ba9190614a92565b60405180910390f35b3480156109cf57600080fd5b506109d8612447565b6040516109e59190614e0b565b60405180910390f35b3480156109fa57600080fd5b50610a0361244d565b604051610a109190614a32565b60405180910390f35b348015610a2557600080fd5b50610a2e612460565b604051610a3b91906149a2565b60405180910390f35b348015610a5057600080fd5b50610a6b6004803603810190610a6691906140bb565b612486565b005b348015610a7957600080fd5b50610a82612546565b604051610a8f9190614a92565b60405180910390f35b348015610aa457600080fd5b50610aad6125d4565b005b348015610abb57600080fd5b50610ad66004803603810190610ad19190614363565b61266d565b005b348015610ae457600080fd5b50610aed612743565b604051610afa9190614e0b565b60405180910390f35b610b1d6004803603810190610b1891906140bb565b61275f565b005b348015610b2b57600080fd5b50610b466004803603810190610b4191906140e4565b612943565b604051610b539190614a32565b60405180910390f35b610b766004803603810190610b7191906143b5565b6129d7565b005b348015610b8457600080fd5b50610b8d612a42565b604051610b9a9190614e0b565b60405180910390f35b348015610baf57600080fd5b50610bca6004803603810190610bc591906140bb565b612a51565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c2757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c575750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610c6d906150c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c99906150c1565b8015610ce65780601f10610cbb57610100808354040283529160200191610ce6565b820191906000526020600020905b815481529060010190602001808311610cc957829003601f168201915b5050505050905090565b6000610cfb82612b49565b610d31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d7782612ba8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ddf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dfe612c76565b73ffffffffffffffffffffffffffffffffffffffff1614610e6157610e2a81610e25612c76565b612943565b610e60576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60115481565b610f21612c7e565b73ffffffffffffffffffffffffffffffffffffffff16610f3f611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c90614d8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101e90614d4b565b60405180910390fd5b6001601560016101000a81548160ff021916908315150217905550565b600061104e612c86565b6001546000540303905090565b611063612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611081611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90614d8b565b60405180910390fd5b600d54816110e3611044565b6110ed9190614f10565b111561112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112590614d6b565b60405180910390fd5b6111388282612c8b565b5050565b600080601354141561115157600090506111f3565b600061115b612743565b905060006012549050600160135414156111db5760115490506000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181106111cb57600093505050506111f3565b80826111d79190614fc0565b9150505b808210156111ed5781925050506111f3565b80925050505b90565b60105481565b611207838383612ca9565b505050565b611214612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611232611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90614d8b565b60405180910390fd5b601560009054906101000a900460ff16156112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cf90614bcb565b60405180910390fd5b7fa5867b5328616714836e0684e8bf5bcd97da56e6cd01d359f25172f7f2fd6c4a60148260405161130a929190614ab4565b60405180910390a18060149080519060200190611328929190613e6b565b5050565b600f5481565b61133a612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611358611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a590614d8b565b60405180910390fd5b601560019054906101000a900460ff16156113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f590614dcb565b60405180910390fd5b80600e8190555050565b61142383838360405180602001604052806000815250612239565b505050565b60166020528060005260406000206000915090505481565b611448612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611466611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146114bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b390614d8b565b60405180910390fd5b601560019054906101000a900460ff161561150c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150390614dcb565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e5481565b600061156182612ba8565b9050919050565b611570612c7e565b73ffffffffffffffffffffffffffffffffffffffff1661158e611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90614d8b565b60405180910390fd5b601560019054906101000a900460ff1615611634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162b90614dcb565b60405180910390fd5b8060108190555050565b611646612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611664611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146116ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b190614d8b565b60405180910390fd5b8060138190555050565b6116cc612c7e565b73ffffffffffffffffffffffffffffffffffffffff166116ea611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614611740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173790614d8b565b60405180910390fd5b601560019054906101000a900460ff1615611790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178790614dcb565b60405180910390fd5b600047905060008273ffffffffffffffffffffffffffffffffffffffff16476040516117bb9061498d565b60006040518083038185875af1925050503d80600081146117f8576040519150601f19603f3d011682016040523d82523d6000602084013e6117fd565b606091505b5050905080611841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183890614c8b565b60405180910390fd5b7fd8102a2d73a808d6664a3116966c123291d07ec500edf12e27ee919d7b81bd3c8383604051611872929190614a09565b60405180910390a1505050565b611887612c7e565b73ffffffffffffffffffffffffffffffffffffffff166118a5611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f290614d8b565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611a00612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611a1e611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614611a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6b90614d8b565b60405180910390fd5b611a7e6000613053565b565b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0990614dab565b60405180910390fd5b60004790506000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611b5f9061498d565b60006040518083038185875af1925050503d8060008114611b9c576040519150601f19603f3d011682016040523d82523d6000602084013e611ba1565b606091505b5050905080611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc90614c8b565b60405180910390fd5b7fd8102a2d73a808d6664a3116966c123291d07ec500edf12e27ee919d7b81bd3c600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683604051611c38929190614a09565b60405180910390a15050565b601560009054906101000a900460ff1681565b611c5f612c7e565b73ffffffffffffffffffffffffffffffffffffffff16611c7d611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614611cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cca90614d8b565b60405180910390fd5b600d548110611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e90614ceb565b60405180910390fd5b611d1f611044565b8111611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790614d0b565b60405180910390fd5b80600d8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611da3906150c1565b80601f0160208091040260200160405190810160405280929190818152602001828054611dcf906150c1565b8015611e1c5780601f10611df157610100808354040283529160200191611e1c565b820191906000526020600020905b815481529060010190602001808311611dff57829003601f168201915b5050505050905090565b6000611ebe83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050503373ffffffffffffffffffffffffffffffffffffffff1660001b604051602001611e9a9190614967565b6040516020818303038152906040528051906020012061311990919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60026009541415611f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5390614deb565b60405180910390fd5b6002600981905550611f74836001600f548585613140565b6001600981905550505050565b60026009541415611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614deb565b60405180910390fd5b6002600981905550600260135414612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b90614b6b565b60405180910390fd5b61202081600e546132cd565b6000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156120ac57601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090555b6120b63382612c8b565b600160098190555050565b6120c9612c76565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561212e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061213b612c76565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166121e8612c76565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161222d9190614a32565b60405180910390a35050565b612244848484612ca9565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122a65761226f8484848461340a565b6122a5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6122b4612c7e565b73ffffffffffffffffffffffffffffffffffffffff166122d2611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614612328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231f90614d8b565b60405180910390fd5b603281111561236c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236390614c0b565b60405180910390fd5b8060128190555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b60125481565b60606123b382612b49565b6123e9576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006123f361356a565b9050600081511415612414576040518060200160405280600081525061243f565b8061241e846135fc565b60405160200161242f929190614943565b6040516020818303038152906040525b915050919050565b60135481565b601560019054906101000a900460ff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61248e612c7e565b73ffffffffffffffffffffffffffffffffffffffff166124ac611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614612502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f990614d8b565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60148054612553906150c1565b80601f016020809104026020016040519081016040528092919081815260200182805461257f906150c1565b80156125cc5780601f106125a1576101008083540402835291602001916125cc565b820191906000526020600020905b8154815290600101906020018083116125af57829003601f168201915b505050505081565b6125dc612c7e565b73ffffffffffffffffffffffffffffffffffffffff166125fa611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614612650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264790614d8b565b60405180910390fd5b6001601560006101000a81548160ff021916908315150217905550565b612675612c7e565b73ffffffffffffffffffffffffffffffffffffffff16612693611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146126e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e090614d8b565b60405180910390fd5b601560019054906101000a900460ff1615612739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273090614dcb565b60405180910390fd5b80600f8190555050565b600061274d611044565b600d5461275a9190614fc0565b905090565b612767612c7e565b73ffffffffffffffffffffffffffffffffffffffff16612785611d6a565b73ffffffffffffffffffffffffffffffffffffffff16146127db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d290614d8b565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161281b91906149a2565b60206040518083038186803b15801561283357600080fd5b505afa158015612847573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286b919061438c565b9050600081116128b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a790614c2b565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016128eb929190614a09565b602060405180830381600087803b15801561290557600080fd5b505af1158015612919573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293d9190614262565b50505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60026009541415612a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1490614deb565b60405180910390fd5b6002600981905550612a358360016010548585613140565b6001600981905550505050565b6000612a4c611044565b905090565b612a59612c7e565b73ffffffffffffffffffffffffffffffffffffffff16612a77611d6a565b73ffffffffffffffffffffffffffffffffffffffff1614612acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac490614d8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3490614b8b565b60405180910390fd5b612b4681613053565b50565b600081612b54612c86565b11158015612b63575060005482105b8015612ba1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080612bb7612c86565b11612c3f57600054811015612c3e5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612c3c575b6000811415612c32576004600083600190039350838152602001908152602001600020549050612c07565b8092505050612c71565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b600090565b612ca5828260405180602001604052806000815250613656565b5050565b6000612cb482612ba8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612d1b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612d3c612c76565b73ffffffffffffffffffffffffffffffffffffffff161480612d6b5750612d6a85612d65612c76565b612943565b5b80612db05750612d79612c76565b73ffffffffffffffffffffffffffffffffffffffff16612d9884610cf0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612de9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e50576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e5d858585600161390b565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b612f5a86613911565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415612fe4576000600184019050600060046000838152602001908152602001600020541415612fe2576000548114612fe1578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461304c858585600161391b565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060006131288585613921565b91509150613135816139a4565b819250505092915050565b8360135414613184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317b90614cab565b60405180910390fd5b61318e8282611e26565b6131cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c490614ccb565b60405180910390fd5b6131d785846132cd565b60115485601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546132259190614f10565b1115613266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325d90614beb565b60405180910390fd5b84601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132b59190614f10565b925050819055506132c63386612c8b565b5050505050565b60006132d7611044565b9050600d5481111561331e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331590614bab565b60405180910390fd5b600d54838261332d9190614f10565b111561336e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336590614b0b565b60405180910390fd5b61337661113c565b8311156133b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133af90614c6b565b60405180910390fd5b82826133c49190614f66565b3414613405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133fc90614b2b565b60405180910390fd5b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613430612c76565b8786866040518563ffffffff1660e01b815260040161345294939291906149bd565b602060405180830381600087803b15801561346c57600080fd5b505af192505050801561349d57506040513d601f19601f8201168201806040525081019061349a91906142b4565b60015b613517573d80600081146134cd576040519150601f19603f3d011682016040523d82523d6000602084013e6134d2565b606091505b5060008151141561350f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060148054613579906150c1565b80601f01602080910402602001604051908101604052809291908181526020018280546135a5906150c1565b80156135f25780601f106135c7576101008083540402835291602001916135f2565b820191906000526020600020905b8154815290600101906020018083116135d557829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561364257600183039250600a81066030018353600a81049050613622565b508181036020830392508083525050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156136c3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156136fe576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61370b600085838661390b565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161377060018514613cf5565b901b60a042901b61378086613911565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14613884575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613834600087848060010195508761340a565b61386a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106137c557826000541461387f57600080fd5b6138ef565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613885575b816000819055505050613905600085838661391b565b50505050565b50505050565b6000819050919050565b50505050565b6000806041835114156139635760008060006020860151925060408601519150606086015160001a905061395787828585613cff565b9450945050505061399d565b604083511415613994576000806020850151915060408501519050613989868383613e0c565b93509350505061399d565b60006002915091505b9250929050565b600060048111156139de577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613a17577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613a2257613cf2565b60016004811115613a5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613a95577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613acd90614aeb565b60405180910390fd5b60026004811115613b10577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613b49577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b8190614b4b565b60405180910390fd5b60036004811115613bc4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613bfd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c3590614c4b565b60405180910390fd5b600480811115613c77577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613cb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ce890614d2b565b60405180910390fd5b5b50565b6000819050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613d3a576000600391509150613e03565b601b8560ff1614158015613d525750601c8560ff1614155b15613d64576000600491509150613e03565b600060018787878760405160008152602001604052604051613d899493929190614a4d565b6020604051602081039080840390855afa158015613dab573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613dfa57600060019250925050613e03565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613e4f9190614f10565b9050613e5d87828885613cff565b935093505050935093915050565b828054613e77906150c1565b90600052602060002090601f016020900481019282613e995760008555613ee0565b82601f10613eb257805160ff1916838001178555613ee0565b82800160010185558215613ee0579182015b82811115613edf578251825591602001919060010190613ec4565b5b509050613eed9190613ef1565b5090565b5b80821115613f0a576000816000905550600101613ef2565b5090565b6000613f21613f1c84614e4b565b614e26565b905082815260208101848484011115613f3957600080fd5b613f4484828561507f565b509392505050565b6000613f5f613f5a84614e7c565b614e26565b905082815260208101848484011115613f7757600080fd5b613f8284828561507f565b509392505050565b600081359050613f99816157c1565b92915050565b600081359050613fae816157d8565b92915050565b600081519050613fc3816157d8565b92915050565b600081359050613fd8816157ef565b92915050565b600081519050613fed816157ef565b92915050565b60008083601f84011261400557600080fd5b8235905067ffffffffffffffff81111561401e57600080fd5b60208301915083600182028301111561403657600080fd5b9250929050565b600082601f83011261404e57600080fd5b813561405e848260208601613f0e565b91505092915050565b600082601f83011261407857600080fd5b8135614088848260208601613f4c565b91505092915050565b6000813590506140a081615806565b92915050565b6000815190506140b581615806565b92915050565b6000602082840312156140cd57600080fd5b60006140db84828501613f8a565b91505092915050565b600080604083850312156140f757600080fd5b600061410585828601613f8a565b925050602061411685828601613f8a565b9150509250929050565b60008060006060848603121561413557600080fd5b600061414386828701613f8a565b935050602061415486828701613f8a565b925050604061416586828701614091565b9150509250925092565b6000806000806080858703121561418557600080fd5b600061419387828801613f8a565b94505060206141a487828801613f8a565b93505060406141b587828801614091565b925050606085013567ffffffffffffffff8111156141d257600080fd5b6141de8782880161403d565b91505092959194509250565b600080604083850312156141fd57600080fd5b600061420b85828601613f8a565b925050602061421c85828601613f9f565b9150509250929050565b6000806040838503121561423957600080fd5b600061424785828601613f8a565b925050602061425885828601614091565b9150509250929050565b60006020828403121561427457600080fd5b600061428284828501613fb4565b91505092915050565b60006020828403121561429d57600080fd5b60006142ab84828501613fc9565b91505092915050565b6000602082840312156142c657600080fd5b60006142d484828501613fde565b91505092915050565b600080602083850312156142f057600080fd5b600083013567ffffffffffffffff81111561430a57600080fd5b61431685828601613ff3565b92509250509250929050565b60006020828403121561433457600080fd5b600082013567ffffffffffffffff81111561434e57600080fd5b61435a84828501614067565b91505092915050565b60006020828403121561437557600080fd5b600061438384828501614091565b91505092915050565b60006020828403121561439e57600080fd5b60006143ac848285016140a6565b91505092915050565b6000806000604084860312156143ca57600080fd5b60006143d886828701614091565b935050602084013567ffffffffffffffff8111156143f557600080fd5b61440186828701613ff3565b92509250509250925092565b61441681614ff4565b82525050565b61442581615006565b82525050565b61443481615012565b82525050565b61444b61444682615012565b615124565b82525050565b600061445c82614ec2565b6144668185614ed8565b935061447681856020860161508e565b61447f816151bb565b840191505092915050565b600061449582614ecd565b61449f8185614ef4565b93506144af81856020860161508e565b6144b8816151bb565b840191505092915050565b60006144ce82614ecd565b6144d88185614f05565b93506144e881856020860161508e565b80840191505092915050565b60008154614501816150c1565b61450b8186614ef4565b9450600182166000811461452657600181146145385761456b565b60ff198316865260208601935061456b565b61454185614ead565b60005b8381101561456357815481890152600182019150602081019050614544565b808801955050505b50505092915050565b6000614581601883614ef4565b915061458c826151cc565b602082019050919050565b60006145a4602e83614ef4565b91506145af826151f5565b604082019050919050565b60006145c7601d83614ef4565b91506145d282615244565b602082019050919050565b60006145ea601f83614ef4565b91506145f58261526d565b602082019050919050565b600061460d601c83614f05565b915061461882615296565b601c82019050919050565b6000614630602183614ef4565b915061463b826152bf565b604082019050919050565b6000614653602683614ef4565b915061465e8261530e565b604082019050919050565b6000614676600983614ef4565b91506146818261535d565b602082019050919050565b6000614699602783614ef4565b91506146a482615386565b604082019050919050565b60006146bc602083614ef4565b91506146c7826153d5565b602082019050919050565b60006146df602983614ef4565b91506146ea826153fe565b604082019050919050565b6000614702601483614ef4565b915061470d8261544d565b602082019050919050565b6000614725602283614ef4565b915061473082615476565b604082019050919050565b6000614748602283614ef4565b9150614753826154c5565b604082019050919050565b600061476b601283614ef4565b915061477682615514565b602082019050919050565b600061478e601d83614ef4565b91506147998261553d565b602082019050919050565b60006147b1602b83614ef4565b91506147bc82615566565b604082019050919050565b60006147d4602c83614ef4565b91506147df826155b5565b604082019050919050565b60006147f7603283614ef4565b915061480282615604565b604082019050919050565b600061481a602283614ef4565b915061482582615653565b604082019050919050565b600061483d603483614ef4565b9150614848826156a2565b604082019050919050565b6000614860601283614ef4565b915061486b826156f1565b602082019050919050565b6000614883602083614ef4565b915061488e8261571a565b602082019050919050565b60006148a6600083614ee9565b91506148b182615743565b600082019050919050565b60006148c9601183614ef4565b91506148d482615746565b602082019050919050565b60006148ec601283614ef4565b91506148f78261576f565b602082019050919050565b600061490f601f83614ef4565b915061491a82615798565b602082019050919050565b61492e81615068565b82525050565b61493d81615072565b82525050565b600061494f82856144c3565b915061495b82846144c3565b91508190509392505050565b600061497282614600565b915061497e828461443a565b60208201915081905092915050565b600061499882614899565b9150819050919050565b60006020820190506149b7600083018461440d565b92915050565b60006080820190506149d2600083018761440d565b6149df602083018661440d565b6149ec6040830185614925565b81810360608301526149fe8184614451565b905095945050505050565b6000604082019050614a1e600083018561440d565b614a2b6020830184614925565b9392505050565b6000602082019050614a47600083018461441c565b92915050565b6000608082019050614a62600083018761442b565b614a6f6020830186614934565b614a7c604083018561442b565b614a89606083018461442b565b95945050505050565b60006020820190508181036000830152614aac818461448a565b905092915050565b60006040820190508181036000830152614ace81856144f4565b90508181036020830152614ae2818461448a565b90509392505050565b60006020820190508181036000830152614b0481614574565b9050919050565b60006020820190508181036000830152614b2481614597565b9050919050565b60006020820190508181036000830152614b44816145ba565b9050919050565b60006020820190508181036000830152614b64816145dd565b9050919050565b60006020820190508181036000830152614b8481614623565b9050919050565b60006020820190508181036000830152614ba481614646565b9050919050565b60006020820190508181036000830152614bc481614669565b9050919050565b60006020820190508181036000830152614be48161468c565b9050919050565b60006020820190508181036000830152614c04816146af565b9050919050565b60006020820190508181036000830152614c24816146d2565b9050919050565b60006020820190508181036000830152614c44816146f5565b9050919050565b60006020820190508181036000830152614c6481614718565b9050919050565b60006020820190508181036000830152614c848161473b565b9050919050565b60006020820190508181036000830152614ca48161475e565b9050919050565b60006020820190508181036000830152614cc481614781565b9050919050565b60006020820190508181036000830152614ce4816147a4565b9050919050565b60006020820190508181036000830152614d04816147c7565b9050919050565b60006020820190508181036000830152614d24816147ea565b9050919050565b60006020820190508181036000830152614d448161480d565b9050919050565b60006020820190508181036000830152614d6481614830565b9050919050565b60006020820190508181036000830152614d8481614853565b9050919050565b60006020820190508181036000830152614da481614876565b9050919050565b60006020820190508181036000830152614dc4816148bc565b9050919050565b60006020820190508181036000830152614de4816148df565b9050919050565b60006020820190508181036000830152614e0481614902565b9050919050565b6000602082019050614e206000830184614925565b92915050565b6000614e30614e41565b9050614e3c82826150f3565b919050565b6000604051905090565b600067ffffffffffffffff821115614e6657614e6561518c565b5b614e6f826151bb565b9050602081019050919050565b600067ffffffffffffffff821115614e9757614e9661518c565b5b614ea0826151bb565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f1b82615068565b9150614f2683615068565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f5b57614f5a61512e565b5b828201905092915050565b6000614f7182615068565b9150614f7c83615068565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614fb557614fb461512e565b5b828202905092915050565b6000614fcb82615068565b9150614fd683615068565b925082821015614fe957614fe861512e565b5b828203905092915050565b6000614fff82615048565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156150ac578082015181840152602081019050615091565b838111156150bb576000848401525b50505050565b600060028204905060018216806150d957607f821691505b602082108114156150ed576150ec61515d565b5b50919050565b6150fc826151bb565b810181811067ffffffffffffffff8211171561511b5761511a61518c565b5b80604052505050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4e6f7420656e6f75676820737570706c7920746f2066756c66696c6c2072657160008201527f75657374656420616d6f756e742e000000000000000000000000000000000000602082015250565b7f4d696e74696e6720707269636520646f6573206e6f74206d617463682e000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f5075626c6963204d696e74696e67206973206e6f742079657420656e61626c6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f536f6c64204f7574210000000000000000000000000000000000000000000000600082015250565b7f4261736520546f6b656e20555249206973206c6f636b65642066726f6d20636860008201527f616e67696e672e00000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d6178696d756d2077686974656c697374206d696e742e600082015250565b7f4d6178206d696e7420706572207472616e73616374696f6e2063616e2774206560008201527f78636565642035302e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7468696e6720746f2077697468647261772e000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f546f6f206d616e79206d696e747320696e206f6e65207472616e73616374696f60008201527f6e2e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4572726f72205769746864726177696e672e0000000000000000000000000000600082015250565b7f57686974656c697374204d696e74696e67206e6f7420656e61626c6564000000600082015250565b7f496e76616c6964207369676e61747572652e20596f7520617265206e6f74206f60008201527f6e20746865206c6973742e000000000000000000000000000000000000000000602082015250565b7f4e657720737570706c79206d757374206265206c657373207468616e2063757260008201527f72656e7420737570706c792e0000000000000000000000000000000000000000602082015250565b7f43616e27742073657420737570706c79206c6f776572207468616e206375727260008201527f656e74206d696e74656420737570706c792e0000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e2774206c6f636b20636f6e747261637420776974686f7574207061796d60008201527f656e742073706c6974746572206163746976652e000000000000000000000000602082015250565b7f4e6f7420656e6f75676820746f206d696e740000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f53706c6974746572206e6f74207365742e000000000000000000000000000000600082015250565b7f436f6e7472616374206973206c6f636b65640000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6157ca81614ff4565b81146157d557600080fd5b50565b6157e181615006565b81146157ec57600080fd5b50565b6157f88161501c565b811461580357600080fd5b50565b61580f81615068565b811461581a57600080fd5b5056fea26469706673582212203dfbcb0bb03268133c7e34475927adb5327f21c89cd3380bc81f496c12343f6964736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000055ce03dee952e1b8144846db646d164432201f6f000000000000000000000000d45455375c46aedef888cc6eac4077f6475fdd6e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656968637a6e776a64626b656b69666e356d66627a6f6637746b617278766b6f7278716f77653433723735357a3361756576747a32652f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _signer (address): 0x55CE03Dee952e1b8144846db646d164432201F6f
Arg [1] : _rankedSigner (address): 0xD45455375c46aEDeF888cc6eAC4077f6475fDd6e
Arg [2] : _baseTokenURI (string): ipfs://bafybeihcznwjdbkekifn5mfbzof7tkarxvkorxqowe43r755z3auevtz2e/
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000055ce03dee952e1b8144846db646d164432201f6f
Arg [1] : 000000000000000000000000d45455375c46aedef888cc6eac4077f6475fdd6e
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [4] : 697066733a2f2f6261667962656968637a6e776a64626b656b69666e356d6662
Arg [5] : 7a6f6637746b617278766b6f7278716f77653433723735357a3361756576747a
Arg [6] : 32652f0000000000000000000000000000000000000000000000000000000000
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.