ERC-721
Overview
Max Total Supply
0 NOONE
Holders
88
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 NOONELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ImNoOne
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 999999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "./NonBlockingReceiver.sol"; import "./interfaces/ILayerZeroEndpoint.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; // ****************************************************************************************************************************************************** // *************************************************************@@@@@*****/@@@@@@@@@@@@/***************************************************************** // ***********************************************************@@./*/,&@@@* ...,****,... #@@@@/*********************************************************** // *********************************************************%@@@#@ ,..*...........*//*,,,,,..#@@@******************************************************** // *****************************************************@@@@% .......,,,.,*///..,,.......,,,,,,..@@@***************************************************** // *************************************************&@@@,..,,,..,,,,,,,,,,,.//,,,............,,,,,.@@@*************************************************** // **********************************************(@@@ .,,,,,..,..**////.,,,,.,,,,,..............,,,,./@@#************************************************ // ********************************************%@@#.,,,,,,,..//*....////.,,,,.,,,,,,..............,,,,..@@#********************************************** // *******************************************@@&.,,,,,,,,.//........//*.,,,,.,,,,,,,...............,,,,.*@@********************************************* // /**************//**//////////////////////&@@ .,,,,,,,,.*..........///.,,,,.,,,,,,,.................,,,,.*@@(#*******************/********************* // ///////////////////////////////////////*@@@..,,........ ////,,,,,.///.,,,,.,,,,,,,,..................,,,,.(..@@///////////////////////////////**&@&@%/ // ///////////////////////////////////////@@@..,,..////////////,,,,,.///.,,,,.,,,,,,,,,..................,..,*, @@/////////////////////////*/@@@(... @/// // //////////////////////////////////////#@@ /.,.,////////////*,,,,,.///.,,,,.,,,,,,,,,,,.................,.,...@@/////////////////////&@@& ..(&.%.@&//// // //////////////////////////////////////@@#,/.,./////////////,,,,,,.///.,,,,.,,,,,,,,,,,,,,,,,,,...../*,..,....@@//////////////////@@@ ./((& &&.@@////// // /////////////////////////////////////(@@.*/.../////////////,,,,,,.///.,,,,,.,,,,,,,,,,,,,,...../,..*,,.,.....%@(//////////////@@@ .,*/&.&&& *@*/////// // /////////////////////////////////////&@@..*../////////////(,*#&*,.,///.,,,,,.,,,,,,,,,..,,../*.// ,,,.,,.....%@%///////////@@@ .,**/ &&&&.,@%///////// // /////////////////////////////////////@@/,./*.&&//&&/%&////(*,,,,,,.///*.,,,,,,,....,,,,,...*.////.,,.,,..,...&@(////////@@@ ./((/ &&&& @@//////////// // /////////////////////////////////////&@(.,./..//////////////,,,,,,..///*.,,,,,,,,,,,,..*...*//,.,,,,./..,,...@@//////@@@../((& &&&&. @@/////////////// // //////////////////////////////////////@@.,.*/../////////////,,,,,,,..*///..,,,,,,,../**..,..//.,,,.//..,,,...@@///@@@ ./((&.&&&&. @@#///////////////// // //////////////////////////////////////@@ ,,.//../////////////,,,,,,,../////*/***/////...,,,.../////...,,,... @(@@@ ./((&.&&&&. @@@//////////////////// // ///////////////////////////////////////@@.,,.**./////////////*,,,,,,,,..*/////////,..,,,.,,,........,,,,,...@@@ .,((&,&&&&, @@@/////////////////////// // ///////////////////////////////////////#@&.,,././/////////////,,,,,,,,,,,.........,,,,,,,.,,,.......,,,,.... .,**/*&&&&*.@@@////////////////////////// // ////////////////////////////////////////#@@.,,.. ////////******,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,.......,,,,...,**/*//&&*.@@@///////////////////////////// // /////////////////////////////////////////(@@.,,../***************,,,,,,,,,,,,,,,,,,,,,,,,,.,,,......,,,..../*////*.&@@//////////////////////////////// // ///////////////////////////////////////////@@.,,..****************,,,,,,,,,,,,,,,,,,,,,,,,.,,.......,,,....///*.%@@/////////////////////////////////// // ////////////////////////////////////////////@@ .,,.*****************,,,,,,,,,,,,,,,,,,,,,..,.......,,,.....*.#@@////////////////////////////////////// // /////////////////////////////////////////////@@#.,,..*****************,,,,,,,,,,,,,,,,,,..,...,....,,,.... @@(//////////////////////////////////////// // (////////((((////////////////////////(/((//(//&@@.,,..******************,,,,,,,,,,,,,,,......,,....,,,.....@@///////////////////////////////////////// // (////////((/((((((((((//////////(//////////////(@@.,,...********************,,,,,,,,........,,,....,,,.....@@///////////////////(///////////////////// // (/(((((((((///////////////(////////////////////(/@@.,,,...**********************..........,,,,,....,,,,.....@@/(((////////((/((((//(///////////(////// // ((((((((((((((((((((((((((((((((((((((((((((((((((@@.,,,./..****************,...........,,,,,,,....,,,,,.....@@&(((((((((((((((((((/(((/(/(/(/(((((((( // ((((((((((((((((((((((((((((((((((((((((((((((((((#@*.,,.//*..**********..............,,,,,,,,,....,,,,,,..... @@@/((((((((((((((((((((((((((((((((((( // (((((((((((((((((((((((((((((((((((((((((((((((((((@@.,,,.////..........,,........*,,,,,,,,,,,,....,,,,,,,....... @@@@@&#((((/(((((((((((((((((((((((( // ((((((((((((((((((((((((((((((((((((((((((((((((((((@.,,,.////........,,...,*******,,,,,,,,,......*,...,,,,,................@@((&@@&(((((((((((((((((( // (((((((((((((((((((((((((((((((((((((((((((((((((((/@/.,,.///,.......... %(,. . .,*/*////...*.**.,,,.,,,,,.............%@@ .***/ .@@(((((((((((((( // (((((((((((((((((((((((((((((((((((((((((((((((((((/@/.,,.///........ &.%(%&#& &.*..**,/./....*,******,,..,,,,,..........&@ **.&@@& @@(@((((((((((((( // (((((((((((((((((((((((((((((((((((((((((((((((((((@@.,,,.**.....,,.....*%#& &%%** % *..******.**..,,,,,,,...,,,,,,..... @@(,%.@@((@@.(&@((((((((((((( // ((((((((((((((((((((((((((((((((((((((((((((((((((/@@.,,.*/,..,,**/.*&&&&&&&&&&//.,,.********,,,,,,,,,,,,,,.....,,,,,. @@(@@.*** @@@/@@((((((((((((((( // ((((((((((((((((((((((((((((((((((((((((((((((((((@@ .,,,*.,/((%,*.#&&&&&&&&&&///...********,,,,,,,,,,,,,,,.,,,,,,,,..@@%(((@@.*%*,, @@((((((((((((((( // (((((((((((((((((((((((((((/&@@@@@&%(((((((((((((@@,.,,.,/((%,*//.#&&&&&&&&&&&////..*****//,,,,,,,,,,,,,,,,.,,,,,,,,,,,,.&@#((#@@,.,,.@@(((((((((((((( // (((((((((((((((((((((((((((@/........&@%((((((((@@ ..,///%**/%&*.&&&&&&&&&&&&&(///,.****///,,,,,,,,,,,,/,,,.,,,,*,,,,,,,,,.&@%(((@&.,,,@(((((((((((((( // ((((((((((((((((((((((((((((@@ .#.### .@@((((%@@&.,///%**///,../&&&&&&&&&&&&&&&////.****///*,,,,,,,,,,,,,,.,,,,,,,,,,**,,,,, @@@@..,,.@@(((((((((((((( // (((((((((((((((((((((((((((((%@ .#*####..@@@@%.,///%/*///,...*&&&&&&&&&&&&&&&&&&///.*#**/*//,,,,.,,,,,,,.,,,,,,,,,,,*,,,,,,,..,,,,,..@@((((((((((((((( // ((((((((((((((((((((((((((((((@@./ ##.#.#...,///&**///,....%&&&&&&&&&&&&&&&&&&&////..****.*****,,,,,..,,.***********.,,,,,,,,.@@@@@@(((((((((((((((((( // (((((((((((((((((((((((((((((@@.. #..# %.#..%/*///,.&...&&&&&&&&&&&&&&&&&&&&&/////..,...........*//,,*...,,,,,,,,..,*.,,,,,,.@@(((((((((((((((((((((( // ((((((((((((((((((((((((((((@@ , ./.%.( %%%.#..*...@,..&&&&&&&&&&&&&&&&&&&&&&/////*.,///,..,**.///*,..,,,,,,,,,,,,,,,,...,,,,.,@@&(((((((((((((((((((( // (((((((((((((((((((((((((((%@/.%..%%% ,/%%%%% # .(@..%&&&&&&&&&&&&&&&&&&&&&&&//////.////..****.//,,.,************,,,,,,.*.,,,,,.@@%((((((((((((((((((( // (((((((((((((((((((((((((((@@.%%%%%%%/... ,###*.#.. &&&&&&&&&&&&&&&&&&&&&&&&////////*....*****,...********************,,./.,,,,.@@@((((((((((((((((((( // (((((((((((((((#@@@@/ . #@@@.. %%%%%%%%%%,.. .,...&&&&&&&&&&&&&&&&&&&&&&&&///////////*..***,,,,,*,,,,,,,,,,,,,,,,,,*,***.///...@@@%((((((((((((((((((( // (((((((((((@@,...,,,,,,,,,...,,..%%%%%.....,((*. &&&&&&&&&&&&&&&&&&&&&&&/////////////..,***,,,,,,,,,,,,,,,,,*,,,.,,,...,.//* @@@#((((((((((((((((((((( // ((((((/@@@ .,,,*,.,*...,,,,,,,.... ........ (.(&&&&&&&&&&&&&&&&&&&&&&//////////////..,,,,,,,,,,,,,,,,,,........,.......,//.#@&((((((((((((((((((((((( // ((((@@/...,,,..,,,,,,,,,,,,,,,,,.*@@@@&%#(/@@.%&&&&&&&&&&&&&&&&&&&&&///////////////...,,,,,,,,,,,,,,,...................///.@@(((((((((((((((((((((((( contract ImNoOne is ERC721, NonblockingReceiver, ILayerZeroUserApplicationConfig { using Strings for uint256; // Only 5555 no-oners, we're not changing that :) uint256 public MAX_SUPPLY = 5555; // We are cost efficient, you can mint 15 NFTs in one transaction (except on whitelist, in there maximum is capWhitelist) uint256 public MAX_MINT_AT_ONCE = 15; uint256 public supply = 0; uint256 public whitelistPrice; uint256 public publicMintPrice; uint256 public capWhitelist; bool public isWhitelistSaleOpen = false; bool public isPublicSaleOpen = false; bool public isRevealed = false; mapping(address => uint256) public whitelistAddressesMints; string public baseTokenURI; string BASE_METADATA_EXTENSION = ".json"; bytes32 public merkleRoot; constructor( string memory _initBaseUri, address _layerZeroEndpoint, uint256 _whitelistPrice, uint256 _publicMintPrice, uint256 _capWhitelist ) ERC721("ImNoOne", "NOONE"){ setBaseURI(_initBaseUri); endpoint = ILayerZeroEndpoint(_layerZeroEndpoint); whitelistPrice = _whitelistPrice; publicMintPrice = _publicMintPrice; capWhitelist = _capWhitelist; } // @notice Public mint function // @param _quantity You can mint more than one and save some gas! function mint(uint256 _quantity) external payable { require(isPublicSaleOpen == true, "Public sales not started"); require(_quantity <= MAX_MINT_AT_ONCE, "Quantity limit"); require(msg.value == publicMintPrice * _quantity, "Incorrect value sent"); _mint(_quantity); } // @notice Public mint function // @param _quantity You can mint more than one and save some gas! // @param _proof Signature to check if you're whitelisted function mintWhitelist(uint256 _quantity, bytes32[] calldata _proof) public payable { require(isWhitelistSaleOpen == true, "Whitelist not started"); require( MerkleProof.verify(_proof, merkleRoot, keccak256(abi.encodePacked(_msgSender()))), "Not in the whitelist" ); require( whitelistAddressesMints[_msgSender()] + _quantity <= capWhitelist, "Already minted enough for the whitelist" ); require(msg.value == whitelistPrice * _quantity, "Incorrect value sent"); _mint(_quantity); whitelistAddressesMints[_msgSender()] += _quantity; } function _mint(uint256 _quantity) internal { require(tx.origin == msg.sender, "Self mint only"); require(MAX_SUPPLY >= supply + _quantity, "Ouch, sold out :( "); for (uint256 i = 1; i <= _quantity; i++) { _safeMint(msg.sender, supply + i); } supply += _quantity; } /// @notice Transfer the NFT from source chain to the destination chain /// @param _destinationChainId The chain id you want to transfer too /// @param _tokenId Your token id that want to transfer. You have to own it ;) function transferYourNoOneToAnotherChain( uint16 _destinationChainId, uint256 _tokenId ) public payable { require(msg.sender == ownerOf(_tokenId), "You must own the token to send it."); require(trustedSourceLookup[_destinationChainId].length != 0, "This chain is not supported."); require(isRevealed == true, "Wait for reveal in order to travel."); // Burn on the source chain. Don't worry, its only going to be burn if the transaction completes ;) _burn(_tokenId); bytes memory payload = abi.encode(msg.sender, _tokenId); // Calculate the gas needed to delivery your NFT in the other chain! uint16 version = 1; uint gas = 225000; bytes memory adapterParams = abi.encodePacked(version, gas); // LayerZero estimate fees for cross chain delivery (uint quotedLayerZeroFee,) = endpoint.estimateFees(_destinationChainId, address(this), payload, false, adapterParams); require(msg.value >= quotedLayerZeroFee, "Not enough gas to cover cross chain transfer."); endpoint.send {value : msg.value}( _destinationChainId, trustedSourceLookup[_destinationChainId], // destination address payload, payable(msg.sender), // refund address, if needed address(0x0), adapterParams ); } function _baseURI() override internal view returns (string memory) { return baseTokenURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), BASE_METADATA_EXTENSION)) : ""; } // --------------------------- OWNER FUNCTIONS --------------------------- function setBaseURI(string memory _baseTokenURI) public onlyOwner { baseTokenURI = _baseTokenURI; } function togglePublicSale() public onlyOwner { isPublicSaleOpen = !isPublicSaleOpen; } function toggleWhitelistSale() public onlyOwner { isWhitelistSaleOpen = !isWhitelistSaleOpen; } function reveal(string memory _baseTokenURI) public onlyOwner { baseTokenURI = _baseTokenURI; isRevealed = true; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function setWhitelistPrice(uint256 _price) external onlyOwner { whitelistPrice = _price; } function setPublicMintPrice(uint256 _price) external onlyOwner { publicMintPrice = _price; } function setCapWhitelist(uint256 _cap) external onlyOwner { capWhitelist = _cap; } // --------------------------- OMNICHAIN CODE ---------------------------------------- function _LzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal override { (address _dstOmnichainNFTAddress, uint256 omnichainNFT_tokenId) = abi.decode(_payload, (address, uint256)); _safeMint(_dstOmnichainNFTAddress, omnichainNFT_tokenId); } function setConfig( uint16 _version, uint16 _chainId, uint256 _configType, bytes calldata _config ) external override onlyOwner { endpoint.setConfig(_version, _chainId, _configType, _config); } function setSendVersion(uint16 _version) external override onlyOwner { endpoint.setSendVersion(_version); } function setReceiveVersion(uint16 _version) external override onlyOwner { endpoint.setReceiveVersion(_version); } function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner { endpoint.forceResumeReceive(_srcChainId, _srcAddress); } function renounceOwnership() public override onlyOwner {} }
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/ILayerZeroReceiver.sol"; import "./interfaces/ILayerZeroEndpoint.sol"; import "./interfaces/ILayerZeroReceiver.sol"; abstract contract NonblockingReceiver is Ownable, ILayerZeroReceiver { ILayerZeroEndpoint public endpoint; struct FailedMessages { uint payloadLength; bytes32 payloadHash; } mapping(uint16 => mapping(bytes => mapping(uint => FailedMessages))) public failedMessages; mapping(uint16 => bytes) public trustedSourceLookup; event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload); // abstract function function _LzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) virtual internal; function lzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) external override { require(msg.sender == address(endpoint)); // boilerplate! lzReceive must be called by the endpoint for security require(_srcAddress.length == trustedSourceLookup[_srcChainId].length && keccak256(_srcAddress) == keccak256(trustedSourceLookup[_srcChainId]), "NonblockingReceiver: invalid source sending contract"); // try-catch all errors/exceptions // having failed messages does not block messages passing try this.onLzReceive(_srcChainId, _srcAddress, _nonce, _payload) { // do nothing } catch { // error / exception failedMessages[_srcChainId][_srcAddress][_nonce] = FailedMessages(_payload.length, keccak256(_payload)); emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload); } } function onLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) public { // only internal transaction require(msg.sender == address(this), "NonblockingReceiver: caller must be Bridge."); _LzReceive( _srcChainId, _srcAddress, _nonce, _payload); } function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _txParam) internal { endpoint.send{value: msg.value}(_dstChainId, trustedSourceLookup[_dstChainId], _payload, _refundAddress, _zroPaymentAddress, _txParam); } function retryMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes calldata _payload) external payable { // assert there is message to retry FailedMessages storage failedMsg = failedMessages[_srcChainId][_srcAddress][_nonce]; require(failedMsg.payloadHash != bytes32(0), "NonblockingReceiver: no stored message"); require(_payload.length == failedMsg.payloadLength && keccak256(_payload) == failedMsg.payloadHash, "LayerZero: invalid payload"); // clear the stored message failedMsg.payloadLength = 0; failedMsg.payloadHash = bytes32(0); // execute the message. revert if it fails again this.onLzReceive(_srcChainId, _srcAddress, _nonce, _payload); } function setTrustedSource(uint16 _chainId, bytes calldata _trustedSource) external onlyOwner { require(trustedSourceLookup[_chainId].length == 0, "The trusted source address has already been set for the chainId!"); trustedSourceLookup[_chainId] = _trustedSource; } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity >=0.5.0; import "./ILayerZeroUserApplicationConfig.sol"; interface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig { // @notice send a LayerZero message to the specified address at a LayerZero endpoint. // @param _dstChainId - the destination chain identifier // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains // @param _payload - a custom bytes payload to send to the destination contract // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable; // @notice used by the messaging library to publish verified payload // @param _srcChainId - the source chain identifier // @param _srcAddress - the source contract (as bytes) at the source chain // @param _dstAddress - the address on destination chain // @param _nonce - the unbound message ordering nonce // @param _gasLimit - the gas limit for external contract execution // @param _payload - verified payload to send to the destination contract function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external; // @notice get the inboundNonce of a receiver from a source chain which could be EVM or non-EVM chain // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64); // @notice get the outboundNonce from this source chain which, consequently, is always an EVM // @param _srcAddress - the source chain contract address function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64); // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery // @param _dstChainId - the destination chain identifier // @param _userApplication - the user app address on this EVM chain // @param _payload - the custom message to send over LayerZero // @param _payInZRO - if false, user app pays the protocol fee in native token // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee); // @notice get this Endpoint's immutable source identifier function getChainId() external view returns (uint16); // @notice the interface to retry failed message on this Endpoint destination // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address // @param _payload - the payload to be retried function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external; // @notice query if any STORED payload (message blocking) at the endpoint. // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool); // @notice query if the _libraryAddress is valid for sending msgs. // @param _userApplication - the user app address on this EVM chain function getSendLibraryAddress(address _userApplication) external view returns (address); // @notice query if the _libraryAddress is valid for receiving msgs. // @param _userApplication - the user app address on this EVM chain function getReceiveLibraryAddress(address _userApplication) external view returns (address); // @notice query if the non-reentrancy guard for send() is on // @return true if the guard is on. false otherwise function isSendingPayload() external view returns (bool); // @notice query if the non-reentrancy guard for receive() is on // @return true if the guard is on. false otherwise function isReceivingPayload() external view returns (bool); // @notice get the configuration of the LayerZero messaging library of the specified version // @param _version - messaging library version // @param _chainId - the chainId for the pending config change // @param _userApplication - the contract address of the user application // @param _configType - type of configuration. every messaging library has its own convention. function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory); // @notice get the send() LayerZero messaging library version // @param _userApplication - the contract address of the user application function getSendVersion(address _userApplication) external view returns (uint16); // @notice get the lzReceive() LayerZero messaging library version // @param _userApplication - the contract address of the user application function getReceiveVersion(address _userApplication) external view returns (uint16); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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: BUSL-1.1 pragma solidity >=0.5.0; interface ILayerZeroReceiver { // @notice LayerZero endpoint will invoke this function to deliver the message on the destination // @param _srcChainId - the source endpoint identifier // @param _srcAddress - the source sending contract address from the source chain // @param _nonce - the ordered message nonce // @param _payload - the signed payload is the UA bytes has encoded to be sent function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external; }
// 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: BUSL-1.1 pragma solidity >=0.5.0; interface ILayerZeroUserApplicationConfig { // @notice set the configuration of the LayerZero messaging library of the specified version // @param _version - messaging library version // @param _chainId - the chainId for the pending config change // @param _configType - type of configuration. every messaging library has its own convention. // @param _config - configuration in the bytes. can encode arbitrary content. function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external; // @notice set the send() LayerZero messaging library version to _version // @param _version - new messaging library version function setSendVersion(uint16 _version) external; // @notice set the lzReceive() LayerZero messaging library version to _version // @param _version - new messaging library version function setReceiveVersion(uint16 _version) external; // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload // @param _srcChainId - the chainId of the source chain // @param _srcAddress - the contract address of the source contract at the source chain function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 999999 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseUri","type":"string"},{"internalType":"address","name":"_layerZeroEndpoint","type":"address"},{"internalType":"uint256","name":"_whitelistPrice","type":"uint256"},{"internalType":"uint256","name":"_publicMintPrice","type":"uint256"},{"internalType":"uint256","name":"_capWhitelist","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"MessageFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_AT_ONCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"capWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"failedMessages","outputs":[{"internalType":"uint256","name":"payloadLength","type":"uint256"},{"internalType":"bytes32","name":"payloadHash","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"forceResumeReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"onLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"retryMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"reveal","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":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"setCapWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setReceiveVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setSendVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"bytes","name":"_trustedSource","type":"bytes"}],"name":"setTrustedSource","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint16","name":"_destinationChainId","type":"uint16"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"transferYourNoOneToAnotherChain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"trustedSourceLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistAddressesMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6115b3600a55600f600b556000600c556010805462ffffff1916905560c06040526005608081905264173539b7b760d91b60a090815262000044916013919062000201565b503480156200005257600080fd5b5060405162004db238038062004db28339810160408190526200007591620002c4565b6040805180820182526007815266496d4e6f4f6e6560c81b6020808301918252835180850190945260058452644e4f4f4e4560d81b908401528151919291620000c19160009162000201565b508051620000d790600190602084019062000201565b505050620000f4620000ee6200013360201b60201c565b62000137565b620000ff8562000189565b600780546001600160a01b0319166001600160a01b039590951694909417909355600d91909155600e55600f55506200041d565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03163314620001e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001fd90601290602084019062000201565b5050565b8280546200020f90620003ca565b90600052602060002090601f0160209004810192826200023357600085556200027e565b82601f106200024e57805160ff19168380011785556200027e565b828001600101855582156200027e579182015b828111156200027e57825182559160200191906001019062000261565b506200028c92915062000290565b5090565b5b808211156200028c576000815560010162000291565b80516001600160a01b0381168114620002bf57600080fd5b919050565b600080600080600060a08688031215620002dc578081fd5b85516001600160401b0380821115620002f3578283fd5b818801915088601f83011262000307578283fd5b8151818111156200031c576200031c62000407565b604051601f8201601f19908116603f0116810190838211818310171562000347576200034762000407565b81604052828152602093508b8484870101111562000363578586fd5b8591505b8282101562000386578482018401518183018501529083019062000367565b828211156200039757858484830101525b9850620003a9915050888201620002a7565b604089015160608a01516080909a0151989b919a5098979650945050505050565b600181811c90821680620003df57607f821691505b602082108114156200040157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b614985806200042d6000396000f3fe6080604052600436106103335760003560e01c80636352211e116101b0578063c3bc32e8116100ec578063d73f057e11610095578063e222c7f91161006f578063e222c7f914610926578063e985e9c51461093b578063f2fde38b14610991578063fc1a1c36146109b157600080fd5b8063d73f057e146108d6578063dc12bbf7146108f6578063dc53fd921461091057600080fd5b8063d1deba1f116100c6578063d1deba1f14610898578063d547cfb7146108ab578063d5e13d65146108c057600080fd5b8063c3bc32e81461082b578063c87b56dd14610858578063cbed8b9c1461087857600080fd5b80638da5cb5b11610159578063a0712d6811610133578063a0712d68146107c5578063a22cb465146107d8578063a29e0ce0146107f8578063b88d4fde1461080b57600080fd5b80638da5cb5b1461071a5780638ee749121461074557806395d89b41146107b057600080fd5b8063717d57d31161018a578063717d57d3146106ba5780637cb64759146106da57806381c986ee146106fa57600080fd5b80636352211e1461066557806370a0823114610685578063715018a6146106a557600080fd5b806323b872dd1161027f57806342d65a8d1161022857806355f804b31161020257806355f804b3146105e357806359eda1b5146106035780635d82cf6e146106185780635e280f111461063857600080fd5b806342d65a8d146105835780634c261247146105a357806354214f69146105c357600080fd5b80633ccfd60b116102595780633ccfd60b1461052e5780633f8811261461054357806342842e0e1461056357600080fd5b806323b872dd146104e25780632eb4a7ab1461050257806332cb6b0c1461051857600080fd5b806307e0db17116102e157806310ddb137116102bb57806310ddb137146104835780631a6949e3146104a35780631c37a822146104c257600080fd5b806307e0db17146103fe578063081812fc1461041e578063095ea7b31461046357600080fd5b806305394dcc1161031257806305394dcc146103b3578063061431a8146103c957806306fdde03146103dc57600080fd5b80621d35671461033857806301ffc9a71461035a578063047fc9aa1461038f575b600080fd5b34801561034457600080fd5b50610358610353366004614164565b6109c7565b005b34801561036657600080fd5b5061037a610375366004613f9d565b610c0b565b60405190151581526020015b60405180910390f35b34801561039b57600080fd5b506103a5600c5481565b604051908152602001610386565b3480156103bf57600080fd5b506103a5600b5481565b6103586103d7366004614251565b610cf0565b3480156103e857600080fd5b506103f1610fa3565b60405161038691906144cb565b34801561040a57600080fd5b5061035861041936600461401b565b611035565b34801561042a57600080fd5b5061043e610439366004613f85565b611141565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610386565b34801561046f57600080fd5b5061035861047e366004613f5a565b61121b565b34801561048f57600080fd5b5061035861049e36600461401b565b6113a8565b3480156104af57600080fd5b5060105461037a90610100900460ff1681565b3480156104ce57600080fd5b506103586104dd366004614164565b611483565b3480156104ee57600080fd5b506103586104fd366004613e7f565b61151e565b34801561050e57600080fd5b506103a560145481565b34801561052457600080fd5b506103a5600a5481565b34801561053a57600080fd5b506103586115bf565b34801561054f57600080fd5b5061035861055e366004613f85565b611673565b34801561056f57600080fd5b5061035861057e366004613e7f565b6116f9565b34801561058f57600080fd5b5061035861059e366004614035565b611714565b3480156105af57600080fd5b506103586105be366004613fd5565b611826565b3480156105cf57600080fd5b5060105461037a9062010000900460ff1681565b3480156105ef57600080fd5b506103586105fe366004613fd5565b6118eb565b34801561060f57600080fd5b5061035861197f565b34801561062457600080fd5b50610358610633366004613f85565b611a32565b34801561064457600080fd5b5060075461043e9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561067157600080fd5b5061043e610680366004613f85565b611ab8565b34801561069157600080fd5b506103a56106a0366004613dfe565b611b6a565b3480156106b157600080fd5b50610358611c38565b3480156106c657600080fd5b506103586106d5366004613f85565b611cbb565b3480156106e657600080fd5b506103586106f5366004613f85565b611d41565b34801561070657600080fd5b506103f161071536600461401b565b611dc7565b34801561072657600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661043e565b34801561075157600080fd5b5061079b610760366004614086565b600860209081526000938452604080852084518086018401805192815290840195840195909520945292905282529020805460019091015482565b60408051928352602083019190915201610386565b3480156107bc57600080fd5b506103f1611e61565b6103586107d3366004613f85565b611e70565b3480156107e457600080fd5b506103586107f3366004613f29565b611fd5565b610358610806366004614236565b611fe0565b34801561081757600080fd5b50610358610826366004613ebf565b612427565b34801561083757600080fd5b506103a5610846366004613dfe565b60116020526000908152604090205481565b34801561086457600080fd5b506103f1610873366004613f85565b6124c9565b34801561088457600080fd5b506103586108933660046141da565b6125b6565b6103586108a63660046140db565b6126ce565b3480156108b757600080fd5b506103f16128c0565b3480156108cc57600080fd5b506103a5600f5481565b3480156108e257600080fd5b506103586108f1366004614035565b6128cd565b34801561090257600080fd5b5060105461037a9060ff1681565b34801561091c57600080fd5b506103a5600e5481565b34801561093257600080fd5b50610358612a1b565b34801561094757600080fd5b5061037a610956366004613e47565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561099d57600080fd5b506103586109ac366004613dfe565b612ad6565b3480156109bd57600080fd5b506103a5600d5481565b60075473ffffffffffffffffffffffffffffffffffffffff1633146109eb57600080fd5b61ffff841660009081526009602052604090208054610a09906147d1565b90508351148015610a48575061ffff8416600090815260096020526040908190209051610a369190614439565b60405180910390208380519060200120145b610ad9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4e6f6e626c6f636b696e6752656365697665723a20696e76616c696420736f7560448201527f7263652073656e64696e6720636f6e747261637400000000000000000000000060648201526084015b60405180910390fd5b6040517f1c37a8220000000000000000000000000000000000000000000000000000000081523090631c37a82290610b1b9087908790879087906004016145a4565b600060405180830381600087803b158015610b3557600080fd5b505af1925050508015610b46575060015b610c05576040518060400160405280825181526020018280519060200120815250600860008661ffff1661ffff16815260200190815260200160002084604051610b90919061441d565b90815260408051918290036020908101832067ffffffffffffffff8716600090815290825291909120835181559201516001909201919091557fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d90610bfc9086908690869086906145a4565b60405180910390a15b50505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610c9e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610cea57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60105460ff161515600114610d61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f57686974656c697374206e6f74207374617274656400000000000000000000006044820152606401610ad0565b610de9828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152909250603401905060405160208183030381529060405280519060200120612c03565b610e4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420696e207468652077686974656c6973740000000000000000000000006044820152606401610ad0565b600f5433600090815260116020526040902054610e6d908590614725565b1115610efb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f416c7265616479206d696e74656420656e6f75676820666f722074686520776860448201527f6974656c697374000000000000000000000000000000000000000000000000006064820152608401610ad0565b82600d54610f099190614751565b3414610f71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e636f72726563742076616c75652073656e740000000000000000000000006044820152606401610ad0565b610f7a83612c19565b3360009081526011602052604081208054859290610f99908490614725565b9091555050505050565b606060008054610fb2906147d1565b80601f0160208091040260200160405190810160405280929190818152602001828054610fde906147d1565b801561102b5780601f106110005761010080835404028352916020019161102b565b820191906000526020600020905b81548152906001019060200180831161100e57829003601f168201915b5050505050905090565b60065473ffffffffffffffffffffffffffffffffffffffff1633146110b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b6007546040517f07e0db1700000000000000000000000000000000000000000000000000000000815261ffff8316600482015273ffffffffffffffffffffffffffffffffffffffff909116906307e0db17906024015b600060405180830381600087803b15801561112657600080fd5b505af115801561113a573d6000803e3d6000fd5b5050505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166111f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610ad0565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061122682611ab8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610ad0565b3373ffffffffffffffffffffffffffffffffffffffff8216148061130d575061130d8133610956565b611399576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610ad0565b6113a38383612d49565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611429576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b6007546040517f10ddb13700000000000000000000000000000000000000000000000000000000815261ffff8316600482015273ffffffffffffffffffffffffffffffffffffffff909116906310ddb1379060240161110c565b333014611512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4e6f6e626c6f636b696e6752656365697665723a2063616c6c6572206d75737460448201527f206265204272696467652e0000000000000000000000000000000000000000006064820152608401610ad0565b610c0584848484612de9565b6115283382612e16565b6115b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ad0565b6113a3838383612f86565b60065473ffffffffffffffffffffffffffffffffffffffff163314611640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b6040514790339082156108fc029083906000818181858888f1935050505015801561166f573d6000803e3d6000fd5b5050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146116f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b600f55565b6113a383838360405180602001604052806000815250612427565b60065473ffffffffffffffffffffffffffffffffffffffff163314611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b6007546040517f42d65a8d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906342d65a8d906117ef9086908690869060040161453d565b600060405180830381600087803b15801561180957600080fd5b505af115801561181d573d6000803e3d6000fd5b50505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146118a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b80516118ba906012906020840190613baa565b5050601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1662010000179055565b60065473ffffffffffffffffffffffffffffffffffffffff16331461196c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b805161166f906012906020840190613baa565b60065473ffffffffffffffffffffffffffffffffffffffff163314611a00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60065473ffffffffffffffffffffffffffffffffffffffff163314611ab3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b600e55565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610cea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610ad0565b600073ffffffffffffffffffffffffffffffffffffffff8216611c0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610ad0565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314611cb9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b565b60065473ffffffffffffffffffffffffffffffffffffffff163314611d3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b600d55565b60065473ffffffffffffffffffffffffffffffffffffffff163314611dc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b601455565b60096020526000908152604090208054611de0906147d1565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0c906147d1565b8015611e595780601f10611e2e57610100808354040283529160200191611e59565b820191906000526020600020905b815481529060010190602001808311611e3c57829003601f168201915b505050505081565b606060018054610fb2906147d1565b60105460ff610100909104161515600114611ee7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5075626c69632073616c6573206e6f74207374617274656400000000000000006044820152606401610ad0565b600b54811115611f53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f5175616e74697479206c696d69740000000000000000000000000000000000006044820152606401610ad0565b80600e54611f619190614751565b3414611fc9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e636f72726563742076616c75652073656e740000000000000000000000006044820152606401610ad0565b611fd281612c19565b50565b61166f3383836131ed565b611fe981611ab8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f596f75206d757374206f776e2074686520746f6b656e20746f2073656e64206960448201527f742e0000000000000000000000000000000000000000000000000000000000006064820152608401610ad0565b61ffff8216600090815260096020526040902080546120c1906147d1565b1515905061212b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5468697320636861696e206973206e6f7420737570706f727465642e000000006044820152606401610ad0565b60105462010000900460ff1615156001146121c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5761697420666f722072657665616c20696e206f7264657220746f207472617660448201527f656c2e00000000000000000000000000000000000000000000000000000000006064820152608401610ad0565b6121d18161331b565b604080513360208201528082018390528151808203830181526060820183527e01000000000000000000000000000000000000000000000000000000000000608083015262036ee860828084018290528451808503909101815260a28401948590526007547f40a7bb1000000000000000000000000000000000000000000000000000000000909552919360019391929160009173ffffffffffffffffffffffffffffffffffffffff16906340a7bb1090612298908a9030908a908790899060a6016144de565b604080518083038186803b1580156122af57600080fd5b505afa1580156122c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e791906142cb565b5090508034101561237a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4e6f7420656e6f7567682067617320746f20636f7665722063726f737320636860448201527f61696e207472616e736665722e000000000000000000000000000000000000006064820152608401610ad0565b60075461ffff881660009081526009602052604080822090517fc580310000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9093169263c58031009234926123ec928d928c913391908b906004016145e3565b6000604051808303818588803b15801561240557600080fd5b505af1158015612419573d6000803e3d6000fd5b505050505050505050505050565b6124313383612e16565b6124bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ad0565b610c05848484846133e8565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16612557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610ad0565b600061256161348b565b9050600081511161258157604051806020016040528060008152506125af565b8061258b8461349a565b601360405160200161259f93929190614445565b6040516020818303038152906040525b9392505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314612637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b6007546040517fcbed8b9c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063cbed8b9c9061269590889088908890889088906004016146f7565b600060405180830381600087803b1580156126af57600080fd5b505af11580156126c3573d6000803e3d6000fd5b505050505050505050565b61ffff851660009081526008602052604080822090516126ef90879061441d565b908152604080516020928190038301902067ffffffffffffffff871660009081529252902060018101549091506127a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4e6f6e626c6f636b696e6752656365697665723a206e6f2073746f726564206d60448201527f65737361676500000000000000000000000000000000000000000000000000006064820152608401610ad0565b8054821480156127d25750806001015483836040516127c892919061440d565b6040518091039020145b612838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4c617965725a65726f3a20696e76616c6964207061796c6f61640000000000006044820152606401610ad0565b600080825560018201556040517f1c37a8220000000000000000000000000000000000000000000000000000000081523090631c37a822906128869089908990899089908990600401614564565b600060405180830381600087803b1580156128a057600080fd5b505af11580156128b4573d6000803e3d6000fd5b50505050505050505050565b60128054611de0906147d1565b60065473ffffffffffffffffffffffffffffffffffffffff16331461294e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b61ffff83166000908152600960205260409020805461296c906147d1565b1590506129fd57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f546865207472757374656420736f75726365206164647265737320686173206160448201527f6c7265616479206265656e2073657420666f722074686520636861696e4964216064820152608401610ad0565b61ffff83166000908152600960205260409020610c05908383613c2e565b60065473ffffffffffffffffffffffffffffffffffffffff163314612a9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b60065473ffffffffffffffffffffffffffffffffffffffff163314612b57576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b73ffffffffffffffffffffffffffffffffffffffff8116612bfa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ad0565b611fd28161361a565b600082612c108584613691565b14949350505050565b323314612c82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f53656c66206d696e74206f6e6c790000000000000000000000000000000000006044820152606401610ad0565b80600c54612c909190614725565b600a541015612cfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4f7563682c20736f6c64206f7574203a282000000000000000000000000000006044820152606401610ad0565b60015b818111612d2e57612d1c3382600c54612d179190614725565b61372c565b80612d2681614825565b915050612cfe565b5080600c6000828254612d419190614725565b909155505050565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190612da382611ab8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008082806020019051810190612e009190613e1a565b91509150612e0e828261372c565b505050505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16612ec7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610ad0565b6000612ed283611ab8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612f4157508373ffffffffffffffffffffffffffffffffffffffff16612f2984611141565b73ffffffffffffffffffffffffffffffffffffffff16145b80612f7e575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff16612fa682611ab8565b73ffffffffffffffffffffffffffffffffffffffff1614613049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610ad0565b73ffffffffffffffffffffffffffffffffffffffff82166130eb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ad0565b6130f6600082612d49565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040812080546001929061312c90849061478e565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613167908490614725565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ad0565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600061332682611ab8565b9050613333600083612d49565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260036020526040812080546001929061336990849061478e565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555183919073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6133f3848484612f86565b6133ff84848484613746565b610c05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ad0565b606060128054610fb2906147d1565b6060816134da57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561350457806134ee81614825565b91506134fd9050600a8361473d565b91506134de565b60008167ffffffffffffffff811115613546577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613570576020820181803683370190505b5090505b8415612f7e5761358560018361478e565b9150613592600a8661485e565b61359d906030614725565b60f81b8183815181106135d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613613600a8661473d565b9450613574565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081815b84518110156137245760008582815181106136da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116137005760008381526020829052604090209250613711565b600081815260208490526040902092505b508061371c81614825565b915050613696565b509392505050565b61166f828260405180602001604052806000815250613945565b600073ffffffffffffffffffffffffffffffffffffffff84163b1561393a576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906137bd903390899088908890600401614482565b602060405180830381600087803b1580156137d757600080fd5b505af1925050508015613825575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261382291810190613fb9565b60015b6138ef573d808015613853576040519150601f19603f3d011682016040523d82523d6000602084013e613858565b606091505b5080516138e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ad0565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612f7e565b506001949350505050565b61394f83836139e8565b61395c6000848484613746565b6113a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ad0565b73ffffffffffffffffffffffffffffffffffffffff8216613a65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ad0565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613af1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ad0565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613b27908490614725565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613bb6906147d1565b90600052602060002090601f016020900481019282613bd85760008555613c1e565b82601f10613bf157805160ff1916838001178555613c1e565b82800160010185558215613c1e579182015b82811115613c1e578251825591602001919060010190613c03565b50613c2a929150613cc0565b5090565b828054613c3a906147d1565b90600052602060002090601f016020900481019282613c5c5760008555613c1e565b82601f10613c93578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555613c1e565b82800160010185558215613c1e579182015b82811115613c1e578235825591602001919060010190613ca5565b5b80821115613c2a5760008155600101613cc1565b600067ffffffffffffffff80841115613cf057613cf06148d0565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715613d3657613d366148d0565b81604052809350858152868686011115613d4f57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112613d7a578182fd5b50813567ffffffffffffffff811115613d91578182fd5b602083019150836020828501011115613da957600080fd5b9250929050565b600082601f830112613dc0578081fd5b6125af83833560208501613cd5565b803561ffff81168114613de157600080fd5b919050565b803567ffffffffffffffff81168114613de157600080fd5b600060208284031215613e0f578081fd5b81356125af816148ff565b60008060408385031215613e2c578081fd5b8251613e37816148ff565b6020939093015192949293505050565b60008060408385031215613e59578182fd5b8235613e64816148ff565b91506020830135613e74816148ff565b809150509250929050565b600080600060608486031215613e93578081fd5b8335613e9e816148ff565b92506020840135613eae816148ff565b929592945050506040919091013590565b60008060008060808587031215613ed4578081fd5b8435613edf816148ff565b93506020850135613eef816148ff565b925060408501359150606085013567ffffffffffffffff811115613f11578182fd5b613f1d87828801613db0565b91505092959194509250565b60008060408385031215613f3b578182fd5b8235613f46816148ff565b915060208301358015158114613e74578182fd5b60008060408385031215613f6c578182fd5b8235613f77816148ff565b946020939093013593505050565b600060208284031215613f96578081fd5b5035919050565b600060208284031215613fae578081fd5b81356125af81614921565b600060208284031215613fca578081fd5b81516125af81614921565b600060208284031215613fe6578081fd5b813567ffffffffffffffff811115613ffc578182fd5b8201601f8101841361400c578182fd5b612f7e84823560208401613cd5565b60006020828403121561402c578081fd5b6125af82613dcf565b600080600060408486031215614049578081fd5b61405284613dcf565b9250602084013567ffffffffffffffff81111561406d578182fd5b61407986828701613d69565b9497909650939450505050565b60008060006060848603121561409a578081fd5b6140a384613dcf565b9250602084013567ffffffffffffffff8111156140be578182fd5b6140ca86828701613db0565b925050604084013590509250925092565b6000806000806000608086880312156140f2578283fd5b6140fb86613dcf565b9450602086013567ffffffffffffffff80821115614117578485fd5b61412389838a01613db0565b955061413160408901613de6565b94506060880135915080821115614146578283fd5b5061415388828901613d69565b969995985093965092949392505050565b60008060008060808587031215614179578182fd5b61418285613dcf565b9350602085013567ffffffffffffffff8082111561419e578384fd5b6141aa88838901613db0565b94506141b860408801613de6565b935060608701359150808211156141cd578283fd5b50613f1d87828801613db0565b6000806000806000608086880312156141f1578283fd5b6141fa86613dcf565b945061420860208701613dcf565b935060408601359250606086013567ffffffffffffffff81111561422a578182fd5b61415388828901613d69565b60008060408385031215614248578182fd5b613f7783613dcf565b600080600060408486031215614265578081fd5b83359250602084013567ffffffffffffffff80821115614283578283fd5b818601915086601f830112614296578283fd5b8135818111156142a4578384fd5b8760208260051b85010111156142b8578384fd5b6020830194508093505050509250925092565b600080604083850312156142dd578182fd5b505080516020909101519092909150565b81835281816020850137506000806020838501015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6000815180845261434e8160208601602086016147a5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000815461438d816147d1565b600182811680156143a557600181146143d457614403565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00841687528287019450614403565b8560005260208060002060005b858110156143fa5781548a8201529084019082016143e1565b50505082870194505b5050505092915050565b8183823760009101908152919050565b6000825161442f8184602087016147a5565b9190910192915050565b60006125af8284614380565b600084516144578184602089016147a5565b84519083019061446b8183602089016147a5565b61447781830186614380565b979650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526144c16080830184614336565b9695505050505050565b6020815260006125af6020830184614336565b61ffff8616815273ffffffffffffffffffffffffffffffffffffffff8516602082015260a06040820152600061451760a0830186614336565b841515606084015282810360808401526145318185614336565b98975050505050505050565b61ffff8416815260406020820152600061455b6040830184866142ee565b95945050505050565b61ffff861681526080602082015260006145816080830187614336565b67ffffffffffffffff8616604084015282810360608401526145318185876142ee565b61ffff851681526080602082015260006145c16080830186614336565b67ffffffffffffffff8516604084015282810360608401526144778185614336565b61ffff871681526000602060c081840152818854614600816147d1565b8060c087015260e0600180841660008114614622576001811461465557614680565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a015261010089019550614680565b8d8852868820885b858110156146785781548b820186015290830190880161465d565b8a0184019650505b505050505083810360408501526146978189614336565b9150506146bc606084018773ffffffffffffffffffffffffffffffffffffffff169052565b73ffffffffffffffffffffffffffffffffffffffff8516608084015282810360a08401526146ea8185614336565b9998505050505050505050565b600061ffff8088168352808716602084015250846040830152608060608301526144776080830184866142ee565b6000821982111561473857614738614872565b500190565b60008261474c5761474c6148a1565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561478957614789614872565b500290565b6000828210156147a0576147a0614872565b500390565b60005b838110156147c05781810151838201526020016147a8565b83811115610c055750506000910152565b600181811c908216806147e557607f821691505b6020821081141561481f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561485757614857614872565b5060010190565b60008261486d5761486d6148a1565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114611fd257600080fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611fd257600080fdfea2646970667358221220da5354a7a5bc8a1f2b42e9af39b7a90ab19ad02eb6952904f6619be36781551a64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000000000000000000000000000008e1bc9bf04000000000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d644568576879773738584c433245547564517273727a57454b656470336f5a524e41444a3759586d467950422f00000000000000000000
Deployed Bytecode
0x6080604052600436106103335760003560e01c80636352211e116101b0578063c3bc32e8116100ec578063d73f057e11610095578063e222c7f91161006f578063e222c7f914610926578063e985e9c51461093b578063f2fde38b14610991578063fc1a1c36146109b157600080fd5b8063d73f057e146108d6578063dc12bbf7146108f6578063dc53fd921461091057600080fd5b8063d1deba1f116100c6578063d1deba1f14610898578063d547cfb7146108ab578063d5e13d65146108c057600080fd5b8063c3bc32e81461082b578063c87b56dd14610858578063cbed8b9c1461087857600080fd5b80638da5cb5b11610159578063a0712d6811610133578063a0712d68146107c5578063a22cb465146107d8578063a29e0ce0146107f8578063b88d4fde1461080b57600080fd5b80638da5cb5b1461071a5780638ee749121461074557806395d89b41146107b057600080fd5b8063717d57d31161018a578063717d57d3146106ba5780637cb64759146106da57806381c986ee146106fa57600080fd5b80636352211e1461066557806370a0823114610685578063715018a6146106a557600080fd5b806323b872dd1161027f57806342d65a8d1161022857806355f804b31161020257806355f804b3146105e357806359eda1b5146106035780635d82cf6e146106185780635e280f111461063857600080fd5b806342d65a8d146105835780634c261247146105a357806354214f69146105c357600080fd5b80633ccfd60b116102595780633ccfd60b1461052e5780633f8811261461054357806342842e0e1461056357600080fd5b806323b872dd146104e25780632eb4a7ab1461050257806332cb6b0c1461051857600080fd5b806307e0db17116102e157806310ddb137116102bb57806310ddb137146104835780631a6949e3146104a35780631c37a822146104c257600080fd5b806307e0db17146103fe578063081812fc1461041e578063095ea7b31461046357600080fd5b806305394dcc1161031257806305394dcc146103b3578063061431a8146103c957806306fdde03146103dc57600080fd5b80621d35671461033857806301ffc9a71461035a578063047fc9aa1461038f575b600080fd5b34801561034457600080fd5b50610358610353366004614164565b6109c7565b005b34801561036657600080fd5b5061037a610375366004613f9d565b610c0b565b60405190151581526020015b60405180910390f35b34801561039b57600080fd5b506103a5600c5481565b604051908152602001610386565b3480156103bf57600080fd5b506103a5600b5481565b6103586103d7366004614251565b610cf0565b3480156103e857600080fd5b506103f1610fa3565b60405161038691906144cb565b34801561040a57600080fd5b5061035861041936600461401b565b611035565b34801561042a57600080fd5b5061043e610439366004613f85565b611141565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610386565b34801561046f57600080fd5b5061035861047e366004613f5a565b61121b565b34801561048f57600080fd5b5061035861049e36600461401b565b6113a8565b3480156104af57600080fd5b5060105461037a90610100900460ff1681565b3480156104ce57600080fd5b506103586104dd366004614164565b611483565b3480156104ee57600080fd5b506103586104fd366004613e7f565b61151e565b34801561050e57600080fd5b506103a560145481565b34801561052457600080fd5b506103a5600a5481565b34801561053a57600080fd5b506103586115bf565b34801561054f57600080fd5b5061035861055e366004613f85565b611673565b34801561056f57600080fd5b5061035861057e366004613e7f565b6116f9565b34801561058f57600080fd5b5061035861059e366004614035565b611714565b3480156105af57600080fd5b506103586105be366004613fd5565b611826565b3480156105cf57600080fd5b5060105461037a9062010000900460ff1681565b3480156105ef57600080fd5b506103586105fe366004613fd5565b6118eb565b34801561060f57600080fd5b5061035861197f565b34801561062457600080fd5b50610358610633366004613f85565b611a32565b34801561064457600080fd5b5060075461043e9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561067157600080fd5b5061043e610680366004613f85565b611ab8565b34801561069157600080fd5b506103a56106a0366004613dfe565b611b6a565b3480156106b157600080fd5b50610358611c38565b3480156106c657600080fd5b506103586106d5366004613f85565b611cbb565b3480156106e657600080fd5b506103586106f5366004613f85565b611d41565b34801561070657600080fd5b506103f161071536600461401b565b611dc7565b34801561072657600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661043e565b34801561075157600080fd5b5061079b610760366004614086565b600860209081526000938452604080852084518086018401805192815290840195840195909520945292905282529020805460019091015482565b60408051928352602083019190915201610386565b3480156107bc57600080fd5b506103f1611e61565b6103586107d3366004613f85565b611e70565b3480156107e457600080fd5b506103586107f3366004613f29565b611fd5565b610358610806366004614236565b611fe0565b34801561081757600080fd5b50610358610826366004613ebf565b612427565b34801561083757600080fd5b506103a5610846366004613dfe565b60116020526000908152604090205481565b34801561086457600080fd5b506103f1610873366004613f85565b6124c9565b34801561088457600080fd5b506103586108933660046141da565b6125b6565b6103586108a63660046140db565b6126ce565b3480156108b757600080fd5b506103f16128c0565b3480156108cc57600080fd5b506103a5600f5481565b3480156108e257600080fd5b506103586108f1366004614035565b6128cd565b34801561090257600080fd5b5060105461037a9060ff1681565b34801561091c57600080fd5b506103a5600e5481565b34801561093257600080fd5b50610358612a1b565b34801561094757600080fd5b5061037a610956366004613e47565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561099d57600080fd5b506103586109ac366004613dfe565b612ad6565b3480156109bd57600080fd5b506103a5600d5481565b60075473ffffffffffffffffffffffffffffffffffffffff1633146109eb57600080fd5b61ffff841660009081526009602052604090208054610a09906147d1565b90508351148015610a48575061ffff8416600090815260096020526040908190209051610a369190614439565b60405180910390208380519060200120145b610ad9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4e6f6e626c6f636b696e6752656365697665723a20696e76616c696420736f7560448201527f7263652073656e64696e6720636f6e747261637400000000000000000000000060648201526084015b60405180910390fd5b6040517f1c37a8220000000000000000000000000000000000000000000000000000000081523090631c37a82290610b1b9087908790879087906004016145a4565b600060405180830381600087803b158015610b3557600080fd5b505af1925050508015610b46575060015b610c05576040518060400160405280825181526020018280519060200120815250600860008661ffff1661ffff16815260200190815260200160002084604051610b90919061441d565b90815260408051918290036020908101832067ffffffffffffffff8716600090815290825291909120835181559201516001909201919091557fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d90610bfc9086908690869086906145a4565b60405180910390a15b50505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610c9e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610cea57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60105460ff161515600114610d61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f57686974656c697374206e6f74207374617274656400000000000000000000006044820152606401610ad0565b610de9828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152909250603401905060405160208183030381529060405280519060200120612c03565b610e4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420696e207468652077686974656c6973740000000000000000000000006044820152606401610ad0565b600f5433600090815260116020526040902054610e6d908590614725565b1115610efb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f416c7265616479206d696e74656420656e6f75676820666f722074686520776860448201527f6974656c697374000000000000000000000000000000000000000000000000006064820152608401610ad0565b82600d54610f099190614751565b3414610f71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e636f72726563742076616c75652073656e740000000000000000000000006044820152606401610ad0565b610f7a83612c19565b3360009081526011602052604081208054859290610f99908490614725565b9091555050505050565b606060008054610fb2906147d1565b80601f0160208091040260200160405190810160405280929190818152602001828054610fde906147d1565b801561102b5780601f106110005761010080835404028352916020019161102b565b820191906000526020600020905b81548152906001019060200180831161100e57829003601f168201915b5050505050905090565b60065473ffffffffffffffffffffffffffffffffffffffff1633146110b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b6007546040517f07e0db1700000000000000000000000000000000000000000000000000000000815261ffff8316600482015273ffffffffffffffffffffffffffffffffffffffff909116906307e0db17906024015b600060405180830381600087803b15801561112657600080fd5b505af115801561113a573d6000803e3d6000fd5b5050505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166111f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610ad0565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061122682611ab8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610ad0565b3373ffffffffffffffffffffffffffffffffffffffff8216148061130d575061130d8133610956565b611399576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610ad0565b6113a38383612d49565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611429576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b6007546040517f10ddb13700000000000000000000000000000000000000000000000000000000815261ffff8316600482015273ffffffffffffffffffffffffffffffffffffffff909116906310ddb1379060240161110c565b333014611512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4e6f6e626c6f636b696e6752656365697665723a2063616c6c6572206d75737460448201527f206265204272696467652e0000000000000000000000000000000000000000006064820152608401610ad0565b610c0584848484612de9565b6115283382612e16565b6115b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ad0565b6113a3838383612f86565b60065473ffffffffffffffffffffffffffffffffffffffff163314611640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b6040514790339082156108fc029083906000818181858888f1935050505015801561166f573d6000803e3d6000fd5b5050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146116f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b600f55565b6113a383838360405180602001604052806000815250612427565b60065473ffffffffffffffffffffffffffffffffffffffff163314611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b6007546040517f42d65a8d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906342d65a8d906117ef9086908690869060040161453d565b600060405180830381600087803b15801561180957600080fd5b505af115801561181d573d6000803e3d6000fd5b50505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146118a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b80516118ba906012906020840190613baa565b5050601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1662010000179055565b60065473ffffffffffffffffffffffffffffffffffffffff16331461196c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b805161166f906012906020840190613baa565b60065473ffffffffffffffffffffffffffffffffffffffff163314611a00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60065473ffffffffffffffffffffffffffffffffffffffff163314611ab3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b600e55565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610cea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610ad0565b600073ffffffffffffffffffffffffffffffffffffffff8216611c0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610ad0565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314611cb9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b565b60065473ffffffffffffffffffffffffffffffffffffffff163314611d3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b600d55565b60065473ffffffffffffffffffffffffffffffffffffffff163314611dc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b601455565b60096020526000908152604090208054611de0906147d1565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0c906147d1565b8015611e595780601f10611e2e57610100808354040283529160200191611e59565b820191906000526020600020905b815481529060010190602001808311611e3c57829003601f168201915b505050505081565b606060018054610fb2906147d1565b60105460ff610100909104161515600114611ee7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5075626c69632073616c6573206e6f74207374617274656400000000000000006044820152606401610ad0565b600b54811115611f53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f5175616e74697479206c696d69740000000000000000000000000000000000006044820152606401610ad0565b80600e54611f619190614751565b3414611fc9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e636f72726563742076616c75652073656e740000000000000000000000006044820152606401610ad0565b611fd281612c19565b50565b61166f3383836131ed565b611fe981611ab8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f596f75206d757374206f776e2074686520746f6b656e20746f2073656e64206960448201527f742e0000000000000000000000000000000000000000000000000000000000006064820152608401610ad0565b61ffff8216600090815260096020526040902080546120c1906147d1565b1515905061212b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5468697320636861696e206973206e6f7420737570706f727465642e000000006044820152606401610ad0565b60105462010000900460ff1615156001146121c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5761697420666f722072657665616c20696e206f7264657220746f207472617660448201527f656c2e00000000000000000000000000000000000000000000000000000000006064820152608401610ad0565b6121d18161331b565b604080513360208201528082018390528151808203830181526060820183527e01000000000000000000000000000000000000000000000000000000000000608083015262036ee860828084018290528451808503909101815260a28401948590526007547f40a7bb1000000000000000000000000000000000000000000000000000000000909552919360019391929160009173ffffffffffffffffffffffffffffffffffffffff16906340a7bb1090612298908a9030908a908790899060a6016144de565b604080518083038186803b1580156122af57600080fd5b505afa1580156122c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e791906142cb565b5090508034101561237a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4e6f7420656e6f7567682067617320746f20636f7665722063726f737320636860448201527f61696e207472616e736665722e000000000000000000000000000000000000006064820152608401610ad0565b60075461ffff881660009081526009602052604080822090517fc580310000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9093169263c58031009234926123ec928d928c913391908b906004016145e3565b6000604051808303818588803b15801561240557600080fd5b505af1158015612419573d6000803e3d6000fd5b505050505050505050505050565b6124313383612e16565b6124bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ad0565b610c05848484846133e8565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16612557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610ad0565b600061256161348b565b9050600081511161258157604051806020016040528060008152506125af565b8061258b8461349a565b601360405160200161259f93929190614445565b6040516020818303038152906040525b9392505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314612637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b6007546040517fcbed8b9c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063cbed8b9c9061269590889088908890889088906004016146f7565b600060405180830381600087803b1580156126af57600080fd5b505af11580156126c3573d6000803e3d6000fd5b505050505050505050565b61ffff851660009081526008602052604080822090516126ef90879061441d565b908152604080516020928190038301902067ffffffffffffffff871660009081529252902060018101549091506127a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4e6f6e626c6f636b696e6752656365697665723a206e6f2073746f726564206d60448201527f65737361676500000000000000000000000000000000000000000000000000006064820152608401610ad0565b8054821480156127d25750806001015483836040516127c892919061440d565b6040518091039020145b612838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4c617965725a65726f3a20696e76616c6964207061796c6f61640000000000006044820152606401610ad0565b600080825560018201556040517f1c37a8220000000000000000000000000000000000000000000000000000000081523090631c37a822906128869089908990899089908990600401614564565b600060405180830381600087803b1580156128a057600080fd5b505af11580156128b4573d6000803e3d6000fd5b50505050505050505050565b60128054611de0906147d1565b60065473ffffffffffffffffffffffffffffffffffffffff16331461294e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b61ffff83166000908152600960205260409020805461296c906147d1565b1590506129fd57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f546865207472757374656420736f75726365206164647265737320686173206160448201527f6c7265616479206265656e2073657420666f722074686520636861696e4964216064820152608401610ad0565b61ffff83166000908152600960205260409020610c05908383613c2e565b60065473ffffffffffffffffffffffffffffffffffffffff163314612a9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b60065473ffffffffffffffffffffffffffffffffffffffff163314612b57576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad0565b73ffffffffffffffffffffffffffffffffffffffff8116612bfa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ad0565b611fd28161361a565b600082612c108584613691565b14949350505050565b323314612c82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f53656c66206d696e74206f6e6c790000000000000000000000000000000000006044820152606401610ad0565b80600c54612c909190614725565b600a541015612cfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4f7563682c20736f6c64206f7574203a282000000000000000000000000000006044820152606401610ad0565b60015b818111612d2e57612d1c3382600c54612d179190614725565b61372c565b80612d2681614825565b915050612cfe565b5080600c6000828254612d419190614725565b909155505050565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190612da382611ab8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008082806020019051810190612e009190613e1a565b91509150612e0e828261372c565b505050505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16612ec7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610ad0565b6000612ed283611ab8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612f4157508373ffffffffffffffffffffffffffffffffffffffff16612f2984611141565b73ffffffffffffffffffffffffffffffffffffffff16145b80612f7e575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff16612fa682611ab8565b73ffffffffffffffffffffffffffffffffffffffff1614613049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610ad0565b73ffffffffffffffffffffffffffffffffffffffff82166130eb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ad0565b6130f6600082612d49565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040812080546001929061312c90849061478e565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613167908490614725565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ad0565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600061332682611ab8565b9050613333600083612d49565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260036020526040812080546001929061336990849061478e565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555183919073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6133f3848484612f86565b6133ff84848484613746565b610c05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ad0565b606060128054610fb2906147d1565b6060816134da57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561350457806134ee81614825565b91506134fd9050600a8361473d565b91506134de565b60008167ffffffffffffffff811115613546577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613570576020820181803683370190505b5090505b8415612f7e5761358560018361478e565b9150613592600a8661485e565b61359d906030614725565b60f81b8183815181106135d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613613600a8661473d565b9450613574565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081815b84518110156137245760008582815181106136da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116137005760008381526020829052604090209250613711565b600081815260208490526040902092505b508061371c81614825565b915050613696565b509392505050565b61166f828260405180602001604052806000815250613945565b600073ffffffffffffffffffffffffffffffffffffffff84163b1561393a576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906137bd903390899088908890600401614482565b602060405180830381600087803b1580156137d757600080fd5b505af1925050508015613825575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261382291810190613fb9565b60015b6138ef573d808015613853576040519150601f19603f3d011682016040523d82523d6000602084013e613858565b606091505b5080516138e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ad0565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612f7e565b506001949350505050565b61394f83836139e8565b61395c6000848484613746565b6113a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ad0565b73ffffffffffffffffffffffffffffffffffffffff8216613a65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ad0565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613af1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ad0565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613b27908490614725565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613bb6906147d1565b90600052602060002090601f016020900481019282613bd85760008555613c1e565b82601f10613bf157805160ff1916838001178555613c1e565b82800160010185558215613c1e579182015b82811115613c1e578251825591602001919060010190613c03565b50613c2a929150613cc0565b5090565b828054613c3a906147d1565b90600052602060002090601f016020900481019282613c5c5760008555613c1e565b82601f10613c93578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555613c1e565b82800160010185558215613c1e579182015b82811115613c1e578235825591602001919060010190613ca5565b5b80821115613c2a5760008155600101613cc1565b600067ffffffffffffffff80841115613cf057613cf06148d0565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715613d3657613d366148d0565b81604052809350858152868686011115613d4f57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112613d7a578182fd5b50813567ffffffffffffffff811115613d91578182fd5b602083019150836020828501011115613da957600080fd5b9250929050565b600082601f830112613dc0578081fd5b6125af83833560208501613cd5565b803561ffff81168114613de157600080fd5b919050565b803567ffffffffffffffff81168114613de157600080fd5b600060208284031215613e0f578081fd5b81356125af816148ff565b60008060408385031215613e2c578081fd5b8251613e37816148ff565b6020939093015192949293505050565b60008060408385031215613e59578182fd5b8235613e64816148ff565b91506020830135613e74816148ff565b809150509250929050565b600080600060608486031215613e93578081fd5b8335613e9e816148ff565b92506020840135613eae816148ff565b929592945050506040919091013590565b60008060008060808587031215613ed4578081fd5b8435613edf816148ff565b93506020850135613eef816148ff565b925060408501359150606085013567ffffffffffffffff811115613f11578182fd5b613f1d87828801613db0565b91505092959194509250565b60008060408385031215613f3b578182fd5b8235613f46816148ff565b915060208301358015158114613e74578182fd5b60008060408385031215613f6c578182fd5b8235613f77816148ff565b946020939093013593505050565b600060208284031215613f96578081fd5b5035919050565b600060208284031215613fae578081fd5b81356125af81614921565b600060208284031215613fca578081fd5b81516125af81614921565b600060208284031215613fe6578081fd5b813567ffffffffffffffff811115613ffc578182fd5b8201601f8101841361400c578182fd5b612f7e84823560208401613cd5565b60006020828403121561402c578081fd5b6125af82613dcf565b600080600060408486031215614049578081fd5b61405284613dcf565b9250602084013567ffffffffffffffff81111561406d578182fd5b61407986828701613d69565b9497909650939450505050565b60008060006060848603121561409a578081fd5b6140a384613dcf565b9250602084013567ffffffffffffffff8111156140be578182fd5b6140ca86828701613db0565b925050604084013590509250925092565b6000806000806000608086880312156140f2578283fd5b6140fb86613dcf565b9450602086013567ffffffffffffffff80821115614117578485fd5b61412389838a01613db0565b955061413160408901613de6565b94506060880135915080821115614146578283fd5b5061415388828901613d69565b969995985093965092949392505050565b60008060008060808587031215614179578182fd5b61418285613dcf565b9350602085013567ffffffffffffffff8082111561419e578384fd5b6141aa88838901613db0565b94506141b860408801613de6565b935060608701359150808211156141cd578283fd5b50613f1d87828801613db0565b6000806000806000608086880312156141f1578283fd5b6141fa86613dcf565b945061420860208701613dcf565b935060408601359250606086013567ffffffffffffffff81111561422a578182fd5b61415388828901613d69565b60008060408385031215614248578182fd5b613f7783613dcf565b600080600060408486031215614265578081fd5b83359250602084013567ffffffffffffffff80821115614283578283fd5b818601915086601f830112614296578283fd5b8135818111156142a4578384fd5b8760208260051b85010111156142b8578384fd5b6020830194508093505050509250925092565b600080604083850312156142dd578182fd5b505080516020909101519092909150565b81835281816020850137506000806020838501015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6000815180845261434e8160208601602086016147a5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000815461438d816147d1565b600182811680156143a557600181146143d457614403565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00841687528287019450614403565b8560005260208060002060005b858110156143fa5781548a8201529084019082016143e1565b50505082870194505b5050505092915050565b8183823760009101908152919050565b6000825161442f8184602087016147a5565b9190910192915050565b60006125af8284614380565b600084516144578184602089016147a5565b84519083019061446b8183602089016147a5565b61447781830186614380565b979650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526144c16080830184614336565b9695505050505050565b6020815260006125af6020830184614336565b61ffff8616815273ffffffffffffffffffffffffffffffffffffffff8516602082015260a06040820152600061451760a0830186614336565b841515606084015282810360808401526145318185614336565b98975050505050505050565b61ffff8416815260406020820152600061455b6040830184866142ee565b95945050505050565b61ffff861681526080602082015260006145816080830187614336565b67ffffffffffffffff8616604084015282810360608401526145318185876142ee565b61ffff851681526080602082015260006145c16080830186614336565b67ffffffffffffffff8516604084015282810360608401526144778185614336565b61ffff871681526000602060c081840152818854614600816147d1565b8060c087015260e0600180841660008114614622576001811461465557614680565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a015261010089019550614680565b8d8852868820885b858110156146785781548b820186015290830190880161465d565b8a0184019650505b505050505083810360408501526146978189614336565b9150506146bc606084018773ffffffffffffffffffffffffffffffffffffffff169052565b73ffffffffffffffffffffffffffffffffffffffff8516608084015282810360a08401526146ea8185614336565b9998505050505050505050565b600061ffff8088168352808716602084015250846040830152608060608301526144776080830184866142ee565b6000821982111561473857614738614872565b500190565b60008261474c5761474c6148a1565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561478957614789614872565b500290565b6000828210156147a0576147a0614872565b500390565b60005b838110156147c05781810151838201526020016147a8565b83811115610c055750506000910152565b600181811c908216806147e557607f821691505b6020821081141561481f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561485757614857614872565b5060010190565b60008261486d5761486d6148a1565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114611fd257600080fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611fd257600080fdfea2646970667358221220da5354a7a5bc8a1f2b42e9af39b7a90ab19ad02eb6952904f6619be36781551a64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000000000000000000000000000008e1bc9bf04000000000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d644568576879773738584c433245547564517273727a57454b656470336f5a524e41444a3759586d467950422f00000000000000000000
-----Decoded View---------------
Arg [0] : _initBaseUri (string): ipfs://QmdEhWhyw78XLC2ETudQrsrzWEKedp3oZRNADJ7YXmFyPB/
Arg [1] : _layerZeroEndpoint (address): 0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675
Arg [2] : _whitelistPrice (uint256): 40000000000000000
Arg [3] : _publicMintPrice (uint256): 50000000000000000
Arg [4] : _capWhitelist (uint256): 5
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
Arg [2] : 000000000000000000000000000000000000000000000000008e1bc9bf040000
Arg [3] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [6] : 697066733a2f2f516d644568576879773738584c433245547564517273727a57
Arg [7] : 454b656470336f5a524e41444a3759586d467950422f00000000000000000000
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.