Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
175 LBC
Holders
91
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 LBCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LameloBallNFT
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./access/controllerPanel.sol"; import "./access/vrfConnector.sol"; contract LameloBallNFT is ERC721Enumerable, controllerPanel { address public lameloContractAddress; address public ec_contract_address; IRNG public _iRnd; uint256 public cardPrice = 0.22 ether; using Strings for uint256; mapping(uint16 => uint8) internal tokenData; uint256 public creator_fee_percentage = 10; // Time conditions uint256 public forge_start; uint256 public forge_end; uint256 public discount_start; uint256 public discount_end; uint256 public sale_start; uint256 public sale_end; uint128 public currentIndex = 0; uint128 public maxForgeMinted = 0; uint128 public maxForge = 131; uint128 public maxSold = 0; uint128 public maxSupply = 3369; bool public setupTime; bytes32 internal vrfRequestId; uint256 public offset; bool public revealLocked = false; string public _tokenRevealedBaseURI; bytes32 public _reqID; bool public _randomReceived; string public _tokenPreRevealURI = "https://ether-cards.mypinata.cloud/ipfs/QmbmnNycwL1MFpJ1njau331pnARLmwcAWaz8gjCHpxZXv6"; uint256[] public shares; address payable[] wallets; event forgeWith( uint16 _Gold_Sun, uint16 _Silver_Moon, uint16 _Blue_Neptune, uint16 _Bronze_Saturn ); event buyWithDiscount( address indexed _buyer, uint8 __amount, uint256 __ec_token_id, uint256 __melo_token_id ); event buyWithoutDiscount(address indexed _buyer, uint8 __amount); event RandomProcessed(uint256 _offset); constructor( address _lameloContractAddress, address _ec_contract_address, IRNG _rng ) ERC721("LaMelo Ball Collectibles", "LBC") { lameloContractAddress = _lameloContractAddress; ec_contract_address = _ec_contract_address; _iRnd = _rng; } modifier forgeActive() { require(setupTime, "notInitialised"); require( block.timestamp >= forge_start && block.timestamp <= forge_end, "!F" ); _; } modifier forgeEnded() { require(setupTime, "notInitialised"); require(block.timestamp >= forge_end, "!FE"); _; } modifier discountActive() { require(setupTime, "notInitialised"); require( block.timestamp >= discount_start && block.timestamp <= discount_end, "!D" ); _; } modifier saleActive() { require(setupTime, "notInitialised"); require( block.timestamp > sale_start && block.timestamp < sale_end, "!S" ); _; } function setTime( uint256 _discount_start, uint256 _sale_start, uint256 _forge_start, address payable[] memory _wallets, uint256[] memory _shares ) external onlyAllowed { discount_start = _discount_start; discount_end = _discount_start + 3 days; sale_start = _sale_start; sale_end = _sale_start + 8 days; forge_start = _forge_start; forge_end = _forge_start + 3 days; require(_wallets.length == _shares.length, "!length"); wallets = _wallets; shares = _shares; setupTime = true; } function setWallets( address payable[] memory _wallets, uint256[] memory _shares ) external onlyAllowed { require(_wallets.length == _shares.length, "!length"); wallets = _wallets; shares = _shares; } receive() external payable { splitFee(msg.value); } function extendTime( uint256 _discount_end, uint256 _sale_end, uint256 _forge_end ) external onlyAllowed { discount_end = _discount_end; sale_end = _sale_end; forge_end = _forge_end; } function setTokenUsed(uint16 _position) internal { uint16 byteNum = uint16(_position / 8); uint16 bitPos = uint8(_position - byteNum * 8); tokenData[byteNum] = uint8(tokenData[byteNum] | (2**bitPos)); } function isTokenUsed(uint16 _position) public view returns (bool result) { uint16 byteNum = uint16(_position / 8); uint16 bitPos = uint8(_position - byteNum * 8); if (tokenData[byteNum] == 0) return false; return tokenData[byteNum] & (0x01 * 2**bitPos) != 0; } function forge(uint16[] calldata tokenIds) public forgeActive() { require(tokenIds.length == 4, "tokenId count."); require(1 <= tokenIds[0] && tokenIds[0] <= 500, "err0"); // Gold Sun require(501 <= tokenIds[1] && tokenIds[1] <= 1500, "err1"); // Silver Moon require(1501 <= tokenIds[2] && tokenIds[2] <= 3500, "err2"); // Blue Neptune require(3501 <= tokenIds[3] && tokenIds[3] <= 10000, "err3"); // Bronze Saturn // 2 - check ownership if (IERC721(lameloContractAddress).ownerOf(tokenIds[0]) != msg.sender) { revert("1st"); } if (IERC721(lameloContractAddress).ownerOf(tokenIds[1]) != msg.sender) { revert("2nd"); } if (IERC721(lameloContractAddress).ownerOf(tokenIds[2]) != msg.sender) { revert("3rd"); } if (IERC721(lameloContractAddress).ownerOf(tokenIds[3]) != msg.sender) { revert("4th"); } for (uint16 i = 0; i < tokenIds.length; i++) { uint16 thisId = tokenIds[i]; // 1 - check if token was previously used require(!isTokenUsed(thisId), "Forged"); // register as used setTokenUsed(thisId); } /* Do the Give away. */ require(availableForge() >= 1, "sold out"); assignCard(msg.sender); maxForgeMinted++; emit forgeWith(tokenIds[0], tokenIds[1], tokenIds[2], tokenIds[3]); } function indexArray(address _user) external view returns (uint256[] memory) { uint256 sum = this.balanceOf(_user); uint256[] memory indexes = new uint256[](sum); for (uint256 i = 0; i < sum; i++) { indexes[i] = this.tokenOfOwnerByIndex(_user, i); } return indexes; } function adminMint(address _receiver, uint8 loop) public onlyAllowed { require((currentIndex + loop) <= 3500, "Overmint"); for (uint8 i = 0; i < loop; i++) { assignCard(_receiver); } } function assignCard(address _receiver) internal { currentIndex++; _mint(_receiver, currentIndex); } // ENTRY POINT 1/2 TO SALE CONTRACT function buyCard(uint8 _amount) external payable saleActive { buyCardInternal(_amount, 0, 0); emit buyWithoutDiscount(msg.sender, _amount); } // ENTRY POINT 2/2 TO SALE CONTRACT function buyCardWithDiscount( uint8 _amount, uint256 _ec_token_id, uint256 _melo_token_id ) external payable discountActive { buyCardInternal(_amount, _ec_token_id, _melo_token_id); emit buyWithDiscount(msg.sender, _amount, _ec_token_id, _melo_token_id); } function buyCardInternal( uint8 _amount, uint256 _ec_token_id, uint256 _melo_token_id ) internal { uint256 _discount = 0; if (_ec_token_id > 0 && _melo_token_id == 0) { _discount = getECDiscountPercentage(_ec_token_id); require( IERC721(ec_contract_address).ownerOf(_ec_token_id) == msg.sender, "!EC" ); } else if (_ec_token_id == 0 && _melo_token_id > 0) { _discount = getMeloDiscountPercentage(_melo_token_id); require( IERC721(lameloContractAddress).ownerOf(_melo_token_id) == msg.sender, "!Lamelo" ); } uint256 finalPrice = cardPrice - ((cardPrice / (1000)) * (_discount)); uint256 balance = _amount * (finalPrice); require(msg.value == balance, "Price not met"); require(availableSales() >= _amount, "sold out"); for (uint8 i = 0; i < _amount; i++) { assignCard(msg.sender); maxSold++; } splitFee(msg.value); } function splitFee(uint256 amount) internal { // duplicated to save an extra call bool sent; uint256 _total; for (uint256 j = 0; j < wallets.length; j++) { uint256 _amount = (amount * shares[j]) / 1000; if (j == wallets.length - 1) { _amount = amount - _total; } else { _total += _amount; } (sent, ) = wallets[j].call{value: _amount}(""); // don't use send or xfer (gas) require(sent, "Failed to send Ether"); } } function availableSales() public view returns (uint128) { return (maxSupply - maxSold); } function availableForge() public view returns (uint128) { return (maxForge - maxForgeMinted); } function getECDiscountPercentage(uint256 tokenId) public pure returns (uint256) { if (tokenId <= 100) { return 150; } if (tokenId <= 1000) { return 100; } if (tokenId <= 10000) { return 50; } return 0; } function getMeloDiscountPercentage(uint256 tokenId) public pure returns (uint256) { if (tokenId <= 500) { return 200; } else if (tokenId <= 1500) { return 150; } else if (tokenId <= 3500) { return 100; } else if (tokenId <= 10000) { return 50; } else { return 0; } } function setDataFolder(string memory __tokenPreRevealURI, bool _resetReveal) external onlyAllowed { _tokenPreRevealURI = __tokenPreRevealURI; if (_resetReveal) { offset = 0; _randomReceived = false; revealLocked = false; } } function uri(uint256 n) public view returns (uint256) { return ((n + offset) % maxSupply); } function process(uint256 random, bytes32 reqID) external { require(msg.sender == address(_iRnd), "Unauthorised RNG"); if (_reqID == reqID) { require(!(_randomReceived), "Random No. already received"); offset = random % (maxSupply + 1); emit RandomProcessed(offset); _randomReceived = true; } else revert("Incorrect request ID sent"); } function reveal() external forgeEnded onlyAllowed { require(!revealLocked, "locked"); revealLocked = true; _tokenRevealedBaseURI = 'https://client-metadata.ether.cards/api/lamelo2/'; if (!_randomReceived) _reqID = _iRnd.requestRandomNumberWithCallback(); } function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) { require(_exists(tokenId), "Token does not exist"); string memory revealedBaseURI = _tokenRevealedBaseURI; if (!_randomReceived) return _tokenPreRevealURI; uint256 newTokenId = uri(tokenId); string memory folder = (newTokenId % 100).toString(); string memory file = newTokenId.toString(); string memory slash = "/"; return string(abi.encodePacked(revealedBaseURI, folder, slash, file)); // } function how_long_more(uint8 _phase) public view returns ( uint256 Days, uint256 Hours, uint256 Minutes, uint256 Seconds ) { uint256 phase; if (_phase == 1) { phase = discount_start; } else if (_phase == 2) { phase = sale_start; } else if (_phase == 3) { phase = forge_start; } else { return (0, 0, 0, 0); } require(block.timestamp < phase, "Started"); uint256 gap = phase - block.timestamp; Days = gap / (24 * 60 * 60); gap = gap % (24 * 60 * 60); Hours = gap / (60 * 60); gap = gap % (60 * 60); Minutes = gap / 60; Seconds = gap % 60; return (Days, Hours, Minutes, Seconds); } struct theKitchenSink { uint256 forge_start; uint256 forge_end; uint256 discount_start; uint256 discount_end; uint256 sale_start; uint256 sale_end; uint256 __availableSales; uint256 __availableForge; } function tellEverything() external view returns (theKitchenSink memory) { return theKitchenSink( forge_start, forge_end, discount_start, discount_end, sale_start, sale_end, availableSales(), availableForge() ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// 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: Unlicensed pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; abstract contract controllerPanel is Ownable { using EnumerableSet for EnumerableSet.AddressSet; EnumerableSet.AddressSet private _controllers; event ApprovedController(address indexed account, address indexed sender); event RevokedController(address indexed account, address indexed sender); modifier onlyAllowed() { require( (_controllers.contains(msg.sender) || owner() == msg.sender), "Not Authorised" ); _; } function getControllers() external view returns (address[] memory _allowed) { _allowed = new address[](_controllers.length()); for (uint256 i = 0; i < _controllers.length(); i++) { _allowed[i] = _controllers.at(i); } return _allowed; } function approveController(address _controller) external onlyOwner { require( !_controllers.contains(_controller), "Controller already added." ); _controllers.add(_controller); emit ApprovedController(_controller, msg.sender); } function revokeController(address _controller) external onlyOwner { require( _controllers.contains(_controller), "Controller do not hold admin rights." ); _controllers.remove(_controller); emit RevokedController(_controller, msg.sender); } function isController(address _controller) public view returns (bool) { return (owner() == _controller || _controllers.contains(_controller)); } function retrieveERC20(IERC20 _token) external onlyOwner { if (address(_token) == 0x0000000000000000000000000000000000000000) { payable(owner()).transfer(address(this).balance); } else { _token.transfer(owner(), _token.balanceOf(address(this))); } } function retrieve721(address _tracker, uint256 _id) external onlyOwner { IERC721(_tracker).transferFrom(address(this), msg.sender, _id); } }
//SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.0; interface IRNG { function requestRandomNumber() external returns (bytes32); function requestRandomNumberWithCallback() external returns (bytes32); function isRequestComplete(bytes32 requestId) external view returns (bool isCompleted); function randomNumber(bytes32 requestId) external view returns (uint256 randomNum); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// 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 v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "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":"address","name":"_lameloContractAddress","type":"address"},{"internalType":"address","name":"_ec_contract_address","type":"address"},{"internalType":"contract IRNG","name":"_rng","type":"address"}],"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":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"ApprovedController","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_offset","type":"uint256"}],"name":"RandomProcessed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RevokedController","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_buyer","type":"address"},{"indexed":false,"internalType":"uint8","name":"__amount","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"__ec_token_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"__melo_token_id","type":"uint256"}],"name":"buyWithDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_buyer","type":"address"},{"indexed":false,"internalType":"uint8","name":"__amount","type":"uint8"}],"name":"buyWithoutDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_Gold_Sun","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"_Silver_Moon","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"_Blue_Neptune","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"_Bronze_Saturn","type":"uint16"}],"name":"forgeWith","type":"event"},{"inputs":[],"name":"_iRnd","outputs":[{"internalType":"contract IRNG","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_randomReceived","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_reqID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenPreRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenRevealedBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint8","name":"loop","type":"uint8"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","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":"_controller","type":"address"}],"name":"approveController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableForge","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"availableSales","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"buyCard","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_amount","type":"uint8"},{"internalType":"uint256","name":"_ec_token_id","type":"uint256"},{"internalType":"uint256","name":"_melo_token_id","type":"uint256"}],"name":"buyCardWithDiscount","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cardPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creator_fee_percentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentIndex","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discount_end","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discount_start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ec_contract_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_discount_end","type":"uint256"},{"internalType":"uint256","name":"_sale_end","type":"uint256"},{"internalType":"uint256","name":"_forge_end","type":"uint256"}],"name":"extendTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"}],"name":"forge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forge_end","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"forge_start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getControllers","outputs":[{"internalType":"address[]","name":"_allowed","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getECDiscountPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getMeloDiscountPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint8","name":"_phase","type":"uint8"}],"name":"how_long_more","outputs":[{"internalType":"uint256","name":"Days","type":"uint256"},{"internalType":"uint256","name":"Hours","type":"uint256"},{"internalType":"uint256","name":"Minutes","type":"uint256"},{"internalType":"uint256","name":"Seconds","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"indexArray","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"isController","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_position","type":"uint16"}],"name":"isTokenUsed","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lameloContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxForge","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxForgeMinted","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSold","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"random","type":"uint256"},{"internalType":"bytes32","name":"reqID","type":"bytes32"}],"name":"process","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tracker","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"retrieve721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"retrieveERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"revokeController","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":[],"name":"sale_end","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sale_start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__tokenPreRevealURI","type":"string"},{"internalType":"bool","name":"_resetReveal","type":"bool"}],"name":"setDataFolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_discount_start","type":"uint256"},{"internalType":"uint256","name":"_sale_start","type":"uint256"},{"internalType":"uint256","name":"_forge_start","type":"uint256"},{"internalType":"address payable[]","name":"_wallets","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"name":"setTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable[]","name":"_wallets","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"name":"setWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setupTime","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"shares","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":"tellEverything","outputs":[{"components":[{"internalType":"uint256","name":"forge_start","type":"uint256"},{"internalType":"uint256","name":"forge_end","type":"uint256"},{"internalType":"uint256","name":"discount_start","type":"uint256"},{"internalType":"uint256","name":"discount_end","type":"uint256"},{"internalType":"uint256","name":"sale_start","type":"uint256"},{"internalType":"uint256","name":"sale_end","type":"uint256"},{"internalType":"uint256","name":"__availableSales","type":"uint256"},{"internalType":"uint256","name":"__availableForge","type":"uint256"}],"internalType":"struct LameloBallNFT.theKitchenSink","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"uri","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
67030d98d59a960000601055600a6012556000601955601a80546001600160801b03199081166083176001600160801b0316909155601b8054909116610d29179055601e805460ff19169055610100604052605660808181529062005ac760a03980516200007691602291602090910190620001d3565b503480156200008457600080fd5b5060405162005b1d38038062005b1d833981016040819052620000a79162000279565b604080518082018252601881527f4c614d656c6f2042616c6c20436f6c6c65637469626c657300000000000000006020808301918252835180850190945260038452624c424360e81b9084015281519192916200010791600091620001d3565b5080516200011d906001906020840190620001d3565b5050506200013a620001346200017d60201b60201c565b62000181565b600d80546001600160a01b039485166001600160a01b031991821617909155600e805493851693821693909317909255600f805491909316911617905562000322565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001e190620002cc565b90600052602060002090601f01602090048101928262000205576000855562000250565b82601f106200022057805160ff191683800117855562000250565b8280016001018555821562000250579182015b828111156200025057825182559160200191906001019062000233565b506200025e92915062000262565b5090565b5b808211156200025e576000815560010162000263565b6000806000606084860312156200028e578283fd5b83516200029b8162000309565b6020850151909350620002ae8162000309565b6040850151909250620002c18162000309565b809150509250925092565b600281046001821680620002e157607f821691505b602082108114156200030357634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03811681146200031f57600080fd5b50565b61579580620003326000396000f3fe6080604052600436106104335760003560e01c8063848628bf11610228578063b9b994d711610128578063d1be750b116100bb578063de34bacd1161008a578063e985e9c51161006f578063e985e9c514610b6f578063ece8ea4e14610b8f578063f2fde38b14610ba457610443565b8063de34bacd14610b45578063e895510d14610b5a57610443565b8063d1be750b14610ace578063d555654414610afb578063d5abeb0114610b10578063d7c48e7a14610b2557610443565b8063c87b56dd116100f7578063c87b56dd14610a64578063cd627ef514610a84578063ce3bca8514610aa4578063d18d325414610ab957610443565b8063b9b994d714610a05578063be2b089f14610a1a578063c094303914610a2f578063c2ef7f5414610a4f57610443565b8063a22cb465116101bb578063b103dd291161018a578063b46bc2691161016f578063b46bc269146109ae578063b4e8a6c4146109c3578063b88d4fde146109e557610443565b8063b103dd291461096e578063b429afeb1461098e57610443565b8063a22cb465146108f9578063a475b5dd14610919578063a5b3abfb1461092e578063b0c902e01461094e57610443565b8063917c6c68116101f7578063917c6c681461088f57806392ccacda146108af57806393647ecb146108c457806395d89b41146108e457610443565b8063848628bf146108305780638b3e76fd146108455780638da5cb5b146108655780638e74955b1461087a57610443565b806342842e0e1161033357806366232675116102c6578063715018a6116102955780637a7b81181161027a5780637a7b8118146107e65780637d212732146108065780637d8d91871461081b57610443565b8063715018a6146107b15780637275bcc1146107c657610443565b806366232675146107475780636d26620e1461076757806370a082311461077c578063713d7c351461079c57610443565b806357a858fc1161030257806357a858fc146106dd5780635873ce77146106fd5780635fcc5adf146107125780636352211e1461072757610443565b806342842e0e1461065a578063457a89911461067a5780634607fb66146106aa5780634f6ccce7146106bd57610443565b806323b872dd116103c65780632f745c591161039557806337dfcaac1161037a57806337dfcaac146106105780633b8b0b35146106255780633d64ac9b1461063a57610443565b80632f745c59146105db5780632feb9524146105fb57610443565b806323b872dd1461056257806326987b60146105825780632e5c0fe7146105a45780632f151b76146105b957610443565b80630ad2db6d116104025780630ad2db6d146104ed5780630d1bc631146105005780630e89341c1461052057806318160ddd1461054d57610443565b806301ffc9a71461044857806306fdde031461047e578063081812fc146104a0578063095ea7b3146104cd57610443565b366104435761044134610bc4565b005b600080fd5b34801561045457600080fd5b50610468610463366004614284565b610d1f565b60405161047591906145fc565b60405180910390f35b34801561048a57600080fd5b50610493610d65565b6040516104759190614610565b3480156104ac57600080fd5b506104c06104bb366004614336565b610df7565b60405161047591906144ea565b3480156104d957600080fd5b506104416104e8366004614121565b610e3a565b6104416104fb366004614418565b610ed2565b34801561050c57600080fd5b5061046861051b366004614314565b610f79565b34801561052c57600080fd5b5061054061053b366004614336565b611007565b6040516104759190614607565b34801561055957600080fd5b5061054061102e565b34801561056e57600080fd5b5061044161057d366004614037565b611034565b34801561058e57600080fd5b5061059761106c565b60405161047591906152ba565b3480156105b057600080fd5b5061054061107b565b3480156105c557600080fd5b506105ce611081565b6040516104759190615261565b3480156105e757600080fd5b506105406105f6366004614121565b6110f3565b34801561060757600080fd5b50610493611148565b34801561061c57600080fd5b506104686111d6565b34801561063157600080fd5b506105406111df565b34801561064657600080fd5b5061044161065536600461434e565b6111e5565b34801561066657600080fd5b50610441610675366004614037565b6112cf565b34801561068657600080fd5b5061069a610695366004614418565b6112ea565b6040516104759493929190615303565b6104416106b8366004614432565b6113d0565b3480156106c957600080fd5b506105406106d8366004614336565b61147e565b3480156106e957600080fd5b506105406106f8366004614336565b6114d9565b34801561070957600080fd5b506105406114fa565b34801561071e57600080fd5b50610468611500565b34801561073357600080fd5b506104c0610742366004614336565b611510565b34801561075357600080fd5b50610441610762366004613fc7565b611545565b34801561077357600080fd5b506104936115f1565b34801561078857600080fd5b50610540610797366004613fc7565b6115fe565b3480156107a857600080fd5b506104c0611642565b3480156107bd57600080fd5b50610441611651565b3480156107d257600080fd5b506104416107e136600461439a565b61169c565b3480156107f257600080fd5b506104416108013660046142bc565b61179a565b34801561081257600080fd5b50610540611814565b34801561082757600080fd5b5061059761181a565b34801561083c57600080fd5b50610597611829565b34801561085157600080fd5b50610441610860366004613fc7565b61183f565b34801561087157600080fd5b506104c06118ea565b34801561088657600080fd5b506104c06118f9565b34801561089b57600080fd5b506105406108aa366004614336565b611908565b3480156108bb57600080fd5b50610540611956565b3480156108d057600080fd5b506104416108df36600461414c565b61195c565b3480156108f057600080fd5b50610493611a0e565b34801561090557600080fd5b506104416109143660046140f4565b611a1d565b34801561092557600080fd5b50610441611a2f565b34801561093a57600080fd5b50610441610949366004614121565b611baf565b34801561095a57600080fd5b506104416109693660046141e1565b611c6d565b34801561097a57600080fd5b50610441610989366004613fc7565b6124fa565b34801561099a57600080fd5b506104686109a9366004613fc7565b612692565b3480156109ba57600080fd5b506105976126c1565b3480156109cf57600080fd5b506109d86126ec565b6040516104759190614577565b3480156109f157600080fd5b50610441610a00366004614077565b6127b7565b348015610a1157600080fd5b506105406127f0565b348015610a2657600080fd5b506104c06127f6565b348015610a3b57600080fd5b50610540610a4a366004614336565b612805565b348015610a5b57600080fd5b50610468612841565b348015610a7057600080fd5b50610493610a7f366004614336565b61284a565b348015610a9057600080fd5b50610441610a9f36600461436f565b612a3f565b348015610ab057600080fd5b50610597612a8e565b348015610ac557600080fd5b50610597612aa4565b348015610ada57600080fd5b50610aee610ae9366004613fc7565b612aca565b60405161047591906145c4565b348015610b0757600080fd5b50610540612c78565b348015610b1c57600080fd5b50610597612c7e565b348015610b3157600080fd5b50610441610b40366004614180565b612c8d565b348015610b5157600080fd5b50610540612d16565b348015610b6657600080fd5b50610540612d1c565b348015610b7b57600080fd5b50610468610b8a366004613fff565b612d22565b348015610b9b57600080fd5b50610540612d50565b348015610bb057600080fd5b50610441610bbf366004613fc7565b612d56565b60008060005b602454811015610d195760006103e860238381548110610bfa57634e487b7160e01b600052603260045260246000fd5b906000526020600020015486610c109190615546565b610c1a91906153f9565b602454909150610c2c906001906155a8565b821415610c4457610c3d83866155a8565b9050610c51565b610c4e81846153c0565b92505b60248281548110610c7257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546040516001600160a01b03909116908290610c98906144e7565b60006040518083038185875af1925050503d8060008114610cd5576040519150601f19603f3d011682016040523d82523d6000602084013e610cda565b606091505b50508094505083610d065760405162461bcd60e51b8152600401610cfd906148bb565b60405180910390fd5b5080610d1181615665565b915050610bca565b50505050565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610d5d5750610d5d82612dc4565b90505b919050565b606060008054610d74906155eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610da0906155eb565b8015610ded5780601f10610dc257610100808354040283529160200191610ded565b820191906000526020600020905b815481529060010190602001808311610dd057829003601f168201915b5050505050905090565b6000610e0282612e36565b610e1e5760405162461bcd60e51b8152600401610cfd90614cd6565b506000908152600460205260409020546001600160a01b031690565b6000610e4582611510565b9050806001600160a01b0316836001600160a01b03161415610e795760405162461bcd60e51b8152600401610cfd90614eb6565b806001600160a01b0316610e8b612e53565b6001600160a01b03161480610ea75750610ea781610b8a612e53565b610ec35760405162461bcd60e51b8152600401610cfd90614b53565b610ecd8383612e57565b505050565b601b54600160801b900460ff16610efb5760405162461bcd60e51b8152600401610cfd906149bd565b60175442118015610f0d575060185442105b610f295760405162461bcd60e51b8152600401610cfd9061504c565b610f3581600080612ec5565b336001600160a01b03167ffa7834a1093287aa2ad7d58c362e5c73de010ba8c4ff5a2e56443e9cd6d67e1e82604051610f6e919061531e565b60405180910390a250565b600080610f876008846153d8565b90506000610f96826008615525565b610fa0908561558d565b61ffff831660009081526011602052604090205460ff918216925016610fcb57600092505050610d60565b610fd6816002615453565b610fe1906001615546565b61ffff9092166000908152601160205260409020549190911660ff161515915050919050565b601b54601d546000916001600160801b03169061102490846153c0565b610d5d91906156a0565b60085490565b61104561103f612e53565b82613164565b6110615760405162461bcd60e51b8152600401610cfd90614f81565b610ecd8383836131e9565b6019546001600160801b031681565b60175481565b611089613d26565b6040518061010001604052806013548152602001601454815260200160155481526020016016548152602001601754815260200160185481526020016110cd6126c1565b6001600160801b031681526020016110e3612aa4565b6001600160801b03169052905090565b60006110fe836115fe565b821061111c5760405162461bcd60e51b8152600401610cfd906146ff565b506001600160a01b03821660009081526006602090815260408083208484529091529020545b92915050565b60228054611155906155eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611181906155eb565b80156111ce5780601f106111a3576101008083540402835291602001916111ce565b820191906000526020600020905b8154815290600101906020018083116111b157829003601f168201915b505050505081565b601e5460ff1681565b60125481565b600f546001600160a01b0316331461120f5760405162461bcd60e51b8152600401610cfd90615015565b8060205414156112b35760215460ff161561123c5760405162461bcd60e51b8152600401610cfd9061494f565b601b54611253906001600160801b03166001615395565b611266906001600160801b0316836156a0565b601d8190556040517fff74eb8ed2a85f7032abbd6ce624acfda4ace664c3cc8ad760c0fd30c9d7eed99161129991614607565b60405180910390a16021805460ff191660011790556112cb565b60405162461bcd60e51b8152600401610cfd9061484d565b5050565b610ecd838383604051806020016040528060008152506127b7565b60008060008060008560ff16600114156113075750601554611345565b8560ff166002141561131c5750601754611345565b8560ff16600314156113315750601354611345565b6000806000809450945094509450506113c9565b8042106113645760405162461bcd60e51b8152600401610cfd906151bc565b600061137042836155a8565b905061137f62015180826153f9565b955061138e62015180826156a0565b905061139c610e10826153f9565b94506113aa610e10826156a0565b90506113b7603c826153f9565b93506113c4603c826156a0565b925050505b9193509193565b601b54600160801b900460ff166113f95760405162461bcd60e51b8152600401610cfd906149bd565b601554421015801561140d57506016544211155b6114295760405162461bcd60e51b8152600401610cfd906149f4565b611434838383612ec5565b336001600160a01b03167fb87325fe1c40b5db2e3c6577b9ba5e63963112ed87b785bdbfd13ec8fd91521b8484846040516114719392919061532c565b60405180910390a2505050565b600061148861102e565b82106114a65760405162461bcd60e51b8152600401610cfd90615083565b600882815481106114c757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b602381815481106114e957600080fd5b600091825260209091200154905081565b60135481565b601b54600160801b900460ff1681565b6000818152600260205260408120546001600160a01b031680610d5d5760405162461bcd60e51b8152600401610cfd90614c44565b61154d612e53565b6001600160a01b031661155e6118ea565b6001600160a01b0316146115845760405162461bcd60e51b8152600401610cfd90614d22565b61158f600b82613316565b156115ac5760405162461bcd60e51b8152600401610cfd90614deb565b6115b7600b82613332565b5060405133906001600160a01b038316907fde4bbadbdbd1ed4cfc0454fa40ae242b7ef106adbe8466849ebf5cff831bc10590600090a350565b601f8054611155906155eb565b60006001600160a01b0382166116265760405162461bcd60e51b8152600401610cfd90614be7565b506001600160a01b031660009081526003602052604090205490565b600d546001600160a01b031681565b611659612e53565b6001600160a01b031661166a6118ea565b6001600160a01b0316146116905760405162461bcd60e51b8152600401610cfd90614d22565b61169a6000613347565b565b6116a7600b33613316565b806116c15750336116b66118ea565b6001600160a01b0316145b6116dd5760405162461bcd60e51b8152600401610cfd906146c8565b60158590556116ef856203f4806153c0565b601655601784905561170484620a8c006153c0565b6018556013839055611719836203f4806153c0565b601455805182511461173d5760405162461bcd60e51b8152600401610cfd90615185565b8151611750906024906020850190613d6b565b508051611764906023906020840190613dcc565b5050601b80547fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff16600160801b17905550505050565b6117a5600b33613316565b806117bf5750336117b46118ea565b6001600160a01b0316145b6117db5760405162461bcd60e51b8152600401610cfd906146c8565b81516117ee906022906020850190613e07565b5080156112cb576000601d556021805460ff19908116909155601e805490911690555050565b60155481565b601a546001600160801b031681565b601a54600160801b90046001600160801b031681565b611847612e53565b6001600160a01b03166118586118ea565b6001600160a01b03161461187e5760405162461bcd60e51b8152600401610cfd90614d22565b611889600b82613316565b6118a55760405162461bcd60e51b8152600401610cfd90614e59565b6118b0600b82613399565b5060405133906001600160a01b038316907f799caeba7dd7e8649fefe03dd79338a265cf8f9738da0cd834338f2cab9abd1c90600090a350565b600a546001600160a01b031690565b600f546001600160a01b031681565b60006101f4821161191b575060c8610d60565b6105dc821161192c57506096610d60565b610dac821161193d57506064610d60565b612710821161194e57506032610d60565b506000610d60565b60165481565b611967600b33613316565b806119815750336119766118ea565b6001600160a01b0316145b61199d5760405162461bcd60e51b8152600401610cfd906146c8565b601954610dac906119bb9060ff8416906001600160801b0316615395565b6001600160801b031611156119e25760405162461bcd60e51b8152600401610cfd90614fde565b60005b8160ff168160ff161015610ecd576119fc836133ae565b80611a0681615680565b9150506119e5565b606060018054610d74906155eb565b6112cb611a28612e53565b83836133f7565b601b54600160801b900460ff16611a585760405162461bcd60e51b8152600401610cfd906149bd565b601454421015611a7a5760405162461bcd60e51b8152600401610cfd90615117565b611a85600b33613316565b80611a9f575033611a946118ea565b6001600160a01b0316145b611abb5760405162461bcd60e51b8152600401610cfd906146c8565b601e5460ff1615611ade5760405162461bcd60e51b8152600401610cfd90614e22565b601e805460ff191660011790556040805160608101909152603080825261573060208301398051611b1791601f91602090910190613e07565b5060215460ff1661169a57600f60009054906101000a90046001600160a01b03166001600160a01b031663c532bbac6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611b7257600080fd5b505af1158015611b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611baa919061426c565b602055565b611bb7612e53565b6001600160a01b0316611bc86118ea565b6001600160a01b031614611bee5760405162461bcd60e51b8152600401610cfd90614d22565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b038316906323b872dd90611c37903090339086906004016144fe565b600060405180830381600087803b158015611c5157600080fd5b505af1158015611c65573d6000803e3d6000fd5b505050505050565b601b54600160801b900460ff16611c965760405162461bcd60e51b8152600401610cfd906149bd565b6013544210158015611caa57506014544211155b611cc65760405162461bcd60e51b8152600401610cfd906151f3565b60048114611ce65760405162461bcd60e51b8152600401610cfd9061465a565b81816000818110611d0757634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d1c9190614314565b61ffff16600111158015611d6b57506101f482826000818110611d4f57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d649190614314565b61ffff1611155b611d875760405162461bcd60e51b8152600401610cfd9061514e565b81816001818110611da857634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611dbd9190614314565b61ffff166101f511158015611e0d57506105dc82826001818110611df157634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611e069190614314565b61ffff1611155b611e295760405162461bcd60e51b8152600401610cfd90614ae5565b81816002818110611e4a57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611e5f9190614314565b61ffff166105dd11158015611eaf5750610dac82826002818110611e9357634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611ea89190614314565b61ffff1611155b611ecb5760405162461bcd60e51b8152600401610cfd90614f4a565b81816003818110611eec57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611f019190614314565b61ffff16610dad11158015611f51575061271082826003818110611f3557634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611f4a9190614314565b61ffff1611155b611f6d5760405162461bcd60e51b8152600401610cfd90614b1c565b600d5433906001600160a01b0316636352211e8484600081611f9f57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611fb49190614314565b6040518263ffffffff1660e01b8152600401611fd091906152ce565b60206040518083038186803b158015611fe857600080fd5b505afa158015611ffc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120209190613fe3565b6001600160a01b0316146120465760405162461bcd60e51b8152600401610cfd90614bb0565b600d5433906001600160a01b0316636352211e8484600181811061207a57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061208f9190614314565b6040518263ffffffff1660e01b81526004016120ab91906152ce565b60206040518083038186803b1580156120c357600080fd5b505afa1580156120d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fb9190613fe3565b6001600160a01b0316146121215760405162461bcd60e51b8152600401610cfd90614623565b600d5433906001600160a01b0316636352211e8484600281811061215557634e487b7160e01b600052603260045260246000fd5b905060200201602081019061216a9190614314565b6040518263ffffffff1660e01b815260040161218691906152ce565b60206040518083038186803b15801561219e57600080fd5b505afa1580156121b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d69190613fe3565b6001600160a01b0316146121fc5760405162461bcd60e51b8152600401610cfd90614691565b600d5433906001600160a01b0316636352211e8484600381811061223057634e487b7160e01b600052603260045260246000fd5b90506020020160208101906122459190614314565b6040518263ffffffff1660e01b815260040161226191906152ce565b60206040518083038186803b15801561227957600080fd5b505afa15801561228d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b19190613fe3565b6001600160a01b0316146122d75760405162461bcd60e51b8152600401610cfd9061522a565b60005b61ffff811682111561236557600083838361ffff1681811061230c57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906123219190614314565b905061232c81610f79565b156123495760405162461bcd60e51b8152600401610cfd90614f13565b6123528161349a565b508061235d8161564d565b9150506122da565b506001612370612aa4565b6001600160801b031610156123975760405162461bcd60e51b8152600401610cfd90614aae565b6123a0336133ae565b60198054600160801b90046001600160801b03169060106123c083615626565b91906101000a8154816001600160801b0302191690836001600160801b03160217905550507fd5ff426bb1a11b8cafacb08eaa380ef922959aab1c1b7ab1520128a08a22d4c18282600081811061242757634e487b7160e01b600052603260045260246000fd5b905060200201602081019061243c9190614314565b8383600181811061245d57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906124729190614314565b8484600281811061249357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906124a89190614314565b858560038181106124c957634e487b7160e01b600052603260045260246000fd5b90506020020160208101906124de9190614314565b6040516124ee94939291906152dd565b60405180910390a15050565b612502612e53565b6001600160a01b03166125136118ea565b6001600160a01b0316146125395760405162461bcd60e51b8152600401610cfd90614d22565b6001600160a01b03811661258d5761254f6118ea565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015612587573d6000803e3d6000fd5b5061268f565b806001600160a01b031663a9059cbb6125a46118ea565b6040516370a0823160e01b81526001600160a01b038516906370a08231906125d09030906004016144ea565b60206040518083038186803b1580156125e857600080fd5b505afa1580156125fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612620919061426c565b6040518363ffffffff1660e01b815260040161263d92919061455e565b602060405180830381600087803b15801561265757600080fd5b505af115801561266b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112cb9190614250565b50565b6000816001600160a01b03166126a66118ea565b6001600160a01b03161480610d5d5750610d5d600b83613316565b601a54601b546000916126e7916001600160801b03600160801b90920482169116615565565b905090565b60606126f8600b613500565b67ffffffffffffffff81111561271e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612747578160200160208202803683370190505b50905060005b612757600b613500565b8110156127b357612769600b8261350b565b82828151811061278957634e487b7160e01b600052603260045260246000fd5b6001600160a01b0390921660209283029190910190910152806127ab81615665565b91505061274d565b5090565b6127c86127c2612e53565b83613164565b6127e45760405162461bcd60e51b8152600401610cfd90614f81565b610d1984848484613517565b60185481565b600e546001600160a01b031681565b60006064821161281757506096610d60565b6103e8821161282857506064610d60565b612710821161283957506032610d60565b506000919050565b60215460ff1681565b606061285582612e36565b6128715760405162461bcd60e51b8152600401610cfd90614a2b565b6000601f8054612880906155eb565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac906155eb565b80156128f95780601f106128ce576101008083540402835291602001916128f9565b820191906000526020600020905b8154815290600101906020018083116128dc57829003601f168201915b50506021549394505060ff90921691506129a29050576022805461291c906155eb565b80601f0160208091040260200160405190810160405280929190818152602001828054612948906155eb565b80156129955780601f1061296a57610100808354040283529160200191612995565b820191906000526020600020905b81548152906001019060200180831161297857829003601f168201915b5050505050915050610d60565b60006129ad84611007565b905060006129c46129bf6064846156a0565b61354a565b905060006129d18361354a565b905060006040518060400160405280600181526020017f2f00000000000000000000000000000000000000000000000000000000000000815250905084838284604051602001612a249493929190614490565b60405160208183030381529060405295505050505050919050565b612a4a600b33613316565b80612a64575033612a596118ea565b6001600160a01b0316145b612a805760405162461bcd60e51b8152600401610cfd906146c8565b601692909255601855601455565b601954600160801b90046001600160801b031681565b601954601a546000916126e7916001600160801b03600160801b90920482169116615565565b6040516370a0823160e01b815260609060009030906370a0823190612af39086906004016144ea565b60206040518083038186803b158015612b0b57600080fd5b505afa158015612b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b43919061426c565b905060008167ffffffffffffffff811115612b6e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612b97578160200160208202803683370190505b50905060005b82811015612c70576040517f2f745c590000000000000000000000000000000000000000000000000000000081523090632f745c5990612be3908890859060040161455e565b60206040518083038186803b158015612bfb57600080fd5b505afa158015612c0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c33919061426c565b828281518110612c5357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280612c6881615665565b915050612b9d565b509392505050565b601d5481565b601b546001600160801b031681565b612c98600b33613316565b80612cb2575033612ca76118ea565b6001600160a01b0316145b612cce5760405162461bcd60e51b8152600401610cfd906146c8565b8051825114612cef5760405162461bcd60e51b8152600401610cfd90615185565b8151612d02906024906020850190613d6b565b508051610ecd906023906020840190613dcc565b60105481565b60145481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60205481565b612d5e612e53565b6001600160a01b0316612d6f6118ea565b6001600160a01b031614612d955760405162461bcd60e51b8152600401610cfd90614d22565b6001600160a01b038116612dbb5760405162461bcd60e51b8152600401610cfd906147b9565b61268f81613347565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480612e2757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610d5d5750610d5d82613699565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612e8c82611510565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008083118015612ed4575081155b15612f9257612ee283612805565b600e546040516331a9108f60e11b815291925033916001600160a01b0390911690636352211e90612f17908790600401614607565b60206040518083038186803b158015612f2f57600080fd5b505afa158015612f43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f679190613fe3565b6001600160a01b031614612f8d5760405162461bcd60e51b8152600401610cfd906150e0565b613059565b82158015612fa05750600082115b1561305957612fae82611908565b600d546040516331a9108f60e11b815291925033916001600160a01b0390911690636352211e90612fe3908690600401614607565b60206040518083038186803b158015612ffb57600080fd5b505afa15801561300f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130339190613fe3565b6001600160a01b0316146130595760405162461bcd60e51b8152600401610cfd90614884565b6000816103e860105461306c91906153f9565b6130769190615546565b60105461308391906155a8565b905060006130948260ff8816615546565b90508034146130b55760405162461bcd60e51b8152600401610cfd90614d57565b8560ff166130c16126c1565b6001600160801b031610156130e85760405162461bcd60e51b8152600401610cfd90614aae565b60005b8660ff168160ff16101561315a57613102336133ae565b601a8054600160801b90046001600160801b031690601061312283615626565b91906101000a8154816001600160801b0302191690836001600160801b0316021790555050808061315290615680565b9150506130eb565b50611c6534610bc4565b600061316f82612e36565b61318b5760405162461bcd60e51b8152600401610cfd90614a62565b600061319683611510565b9050806001600160a01b0316846001600160a01b031614806131d15750836001600160a01b03166131c684610df7565b6001600160a01b0316145b806131e157506131e18185612d22565b949350505050565b826001600160a01b03166131fc82611510565b6001600160a01b0316146132225760405162461bcd60e51b8152600401610cfd90614d8e565b6001600160a01b0382166132485760405162461bcd60e51b8152600401610cfd906148f2565b6132538383836136cb565b61325e600082612e57565b6001600160a01b03831660009081526003602052604081208054600192906132879084906155a8565b90915550506001600160a01b03821660009081526003602052604081208054600192906132b59084906153c0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061332b836001600160a01b038416613754565b9392505050565b600061332b836001600160a01b03841661376c565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061332b836001600160a01b0384166137b6565b601980546001600160801b03169060006133c783615626565b82546101009290920a6001600160801b0381810219909316918316021790915560195461268f92508391166138d3565b816001600160a01b0316836001600160a01b031614156134295760405162461bcd60e51b8152600401610cfd90614986565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061348d9085906145fc565b60405180910390a3505050565b60006134a76008836153d8565b905060006134b6826008615525565b6134c0908461558d565b60ff1690506134d0816002615453565b61ffff929092166000908152601160205260409020805460ff19811660ff91821690941716929092179091555050565b6000610d5d826139b2565b600061332b83836139b6565b6135228484846131e9565b61352e848484846139ee565b610d195760405162461bcd60e51b8152600401610cfd9061475c565b60608161358b575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610d60565b8160005b81156135b5578061359f81615665565b91506135ae9050600a836153f9565b915061358f565b60008167ffffffffffffffff8111156135de57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613608576020820181803683370190505b5090505b84156131e15761361d6001836155a8565b915061362a600a866156a0565b6136359060306153c0565b60f81b81838151811061365857634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613692600a866153f9565b945061360c565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b6136d6838383610ecd565b6001600160a01b0383166136f2576136ed81613b22565b613715565b816001600160a01b0316836001600160a01b031614613715576137158382613b66565b6001600160a01b0382166137315761372c81613c03565b610ecd565b826001600160a01b0316826001600160a01b031614610ecd57610ecd8282613cdc565b60009081526001919091016020526040902054151590565b60006137788383613754565b6137ae57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611142565b506000611142565b600081815260018301602052604081205480156138c95760006137da6001836155a8565b85549091506000906137ee906001906155a8565b905081811461386f57600086600001828154811061381c57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061384d57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061388e57634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050611142565b6000915050611142565b6001600160a01b0382166138f95760405162461bcd60e51b8152600401610cfd90614ca1565b61390281612e36565b1561391f5760405162461bcd60e51b8152600401610cfd90614816565b61392b600083836136cb565b6001600160a01b03821660009081526003602052604081208054600192906139549084906153c0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5490565b60008260000182815481106139db57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6000613a02846001600160a01b0316613d20565b15613b1757836001600160a01b031663150b7a02613a1e612e53565b8786866040518563ffffffff1660e01b8152600401613a409493929190614522565b602060405180830381600087803b158015613a5a57600080fd5b505af1925050508015613a8a575060408051601f3d908101601f19168201909252613a87918101906142a0565b60015b613ae4573d808015613ab8576040519150601f19603f3d011682016040523d82523d6000602084013e613abd565b606091505b508051613adc5760405162461bcd60e51b8152600401610cfd9061475c565b805181602001fd5b6001600160e01b0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506131e1565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001613b73846115fe565b613b7d91906155a8565b600083815260076020526040902054909150808214613bd0576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613c15906001906155a8565b60008381526009602052604081205460088054939450909284908110613c4b57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110613c7a57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613cc057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ce7836115fe565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b3b151590565b60405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b828054828255906000526020600020908101928215613dc0579160200282015b82811115613dc057825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190613d8b565b506127b3929150613e7a565b828054828255906000526020600020908101928215613dc0579160200282015b82811115613dc0578251825591602001919060010190613dec565b828054613e13906155eb565b90600052602060002090601f016020900481019282613e355760008555613dc0565b82601f10613e4e57805160ff1916838001178555613dc0565b82800160010185558215613dc05791820182811115613dc0578251825591602001919060010190613dec565b5b808211156127b35760008155600101613e7b565b600067ffffffffffffffff831115613ea957613ea96156e0565b613ebc601f8401601f1916602001615347565b9050828152838383011115613ed057600080fd5b828260208301376000602084830101529392505050565b600082601f830112613ef7578081fd5b81356020613f0c613f0783615371565b615347565b8281528181019085830183850287018401881015613f28578586fd5b855b85811015613f4f578135613f3d816156f6565b84529284019290840190600101613f2a565b5090979650505050505050565b600082601f830112613f6c578081fd5b81356020613f7c613f0783615371565b8281528181019085830183850287018401881015613f98578586fd5b855b85811015613f4f57813584529284019290840190600101613f9a565b803560ff81168114610d6057600080fd5b600060208284031215613fd8578081fd5b813561332b816156f6565b600060208284031215613ff4578081fd5b815161332b816156f6565b60008060408385031215614011578081fd5b823561401c816156f6565b9150602083013561402c816156f6565b809150509250929050565b60008060006060848603121561404b578081fd5b8335614056816156f6565b92506020840135614066816156f6565b929592945050506040919091013590565b6000806000806080858703121561408c578182fd5b8435614097816156f6565b935060208501356140a7816156f6565b925060408501359150606085013567ffffffffffffffff8111156140c9578182fd5b8501601f810187136140d9578182fd5b6140e887823560208401613e8f565b91505092959194509250565b60008060408385031215614106578182fd5b8235614111816156f6565b9150602083013561402c8161570b565b60008060408385031215614133578182fd5b823561413e816156f6565b946020939093013593505050565b6000806040838503121561415e578182fd5b8235614169816156f6565b915061417760208401613fb6565b90509250929050565b60008060408385031215614192578182fd5b823567ffffffffffffffff808211156141a9578384fd5b6141b586838701613ee7565b935060208501359150808211156141ca578283fd5b506141d785828601613f5c565b9150509250929050565b600080602083850312156141f3578182fd5b823567ffffffffffffffff8082111561420a578384fd5b818501915085601f83011261421d578384fd5b81358181111561422b578485fd5b866020808302850101111561423e578485fd5b60209290920196919550909350505050565b600060208284031215614261578081fd5b815161332b8161570b565b60006020828403121561427d578081fd5b5051919050565b600060208284031215614295578081fd5b813561332b81615719565b6000602082840312156142b1578081fd5b815161332b81615719565b600080604083850312156142ce578182fd5b823567ffffffffffffffff8111156142e4578283fd5b8301601f810185136142f4578283fd5b61430385823560208401613e8f565b925050602083013561402c8161570b565b600060208284031215614325578081fd5b813561ffff8116811461332b578182fd5b600060208284031215614347578081fd5b5035919050565b60008060408385031215614360578182fd5b50508035926020909101359150565b600080600060608486031215614383578081fd5b505081359360208301359350604090920135919050565b600080600080600060a086880312156143b1578283fd5b853594506020860135935060408601359250606086013567ffffffffffffffff808211156143dd578283fd5b6143e989838a01613ee7565b935060808801359150808211156143fe578283fd5b5061440b88828901613f5c565b9150509295509295909350565b600060208284031215614429578081fd5b61332b82613fb6565b600080600060608486031215614446578081fd5b61444f84613fb6565b95602085013595506040909401359392505050565b6000815180845261447c8160208601602086016155bf565b601f01601f19169290920160200192915050565b600085516144a2818460208a016155bf565b8551908301906144b6818360208a016155bf565b85519101906144c98183602089016155bf565b84519101906144dc8183602088016155bf565b019695505050505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526145546080830184614464565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b818110156145b85783516001600160a01b031683529284019291840191600101614593565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156145b8578351835292840192918401916001016145e0565b901515815260200190565b90815260200190565b60006020825261332b6020830184614464565b60208082526003908201527f326e640000000000000000000000000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f746f6b656e496420636f756e742e000000000000000000000000000000000000604082015260600190565b60208082526003908201527f3372640000000000000000000000000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f4e6f7420417574686f7269736564000000000000000000000000000000000000604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526019908201527f496e636f727265637420726571756573742049442073656e7400000000000000604082015260600190565b60208082526007908201527f214c616d656c6f00000000000000000000000000000000000000000000000000604082015260600190565b60208082526014908201527f4661696c656420746f2073656e64204574686572000000000000000000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f52616e646f6d204e6f2e20616c72656164792072656365697665640000000000604082015260600190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252600e908201527f6e6f74496e697469616c69736564000000000000000000000000000000000000604082015260600190565b60208082526002908201527f2144000000000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526014908201527f546f6b656e20646f6573206e6f74206578697374000000000000000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526008908201527f736f6c64206f7574000000000000000000000000000000000000000000000000604082015260600190565b60208082526004908201527f6572723100000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526004908201527f6572723300000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b60208082526003908201527f3173740000000000000000000000000000000000000000000000000000000000604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600d908201527f5072696365206e6f74206d657400000000000000000000000000000000000000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f436f6e74726f6c6c657220616c72656164792061646465642e00000000000000604082015260600190565b60208082526006908201527f6c6f636b65640000000000000000000000000000000000000000000000000000604082015260600190565b60208082526024908201527f436f6e74726f6c6c657220646f206e6f7420686f6c642061646d696e2072696760408201527f6874732e00000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526006908201527f466f726765640000000000000000000000000000000000000000000000000000604082015260600190565b60208082526004908201527f6572723200000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b60208082526008908201527f4f7665726d696e74000000000000000000000000000000000000000000000000604082015260600190565b60208082526010908201527f556e617574686f726973656420524e4700000000000000000000000000000000604082015260600190565b60208082526002908201527f2153000000000000000000000000000000000000000000000000000000000000604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201527f7574206f6620626f756e64730000000000000000000000000000000000000000606082015260800190565b60208082526003908201527f2145430000000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526003908201527f2146450000000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526004908201527f6572723000000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526007908201527f216c656e67746800000000000000000000000000000000000000000000000000604082015260600190565b60208082526007908201527f5374617274656400000000000000000000000000000000000000000000000000604082015260600190565b60208082526002908201527f2146000000000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526003908201527f3474680000000000000000000000000000000000000000000000000000000000604082015260600190565b600061010082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b6001600160801b0391909116815260200190565b61ffff91909116815260200190565b61ffff948516815292841660208401529083166040830152909116606082015260800190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60ff9390931683526020830191909152604082015260600190565b60405181810167ffffffffffffffff81118282101715615369576153696156e0565b604052919050565b600067ffffffffffffffff82111561538b5761538b6156e0565b5060209081020190565b60006001600160801b038083168185168083038211156153b7576153b76156b4565b01949350505050565b600082198211156153d3576153d36156b4565b500190565b600061ffff808416806153ed576153ed6156ca565b92169190910492915050565b600082615408576154086156ca565b500490565b80825b600180861161541f575061544a565b818704821115615431576154316156b4565b8086161561543e57918102915b9490941c938002615410565b94509492505050565b600061332b60001961ffff8516846000826154705750600161332b565b8161547d5750600061332b565b8160018114615493576002811461549d576154ca565b600191505061332b565b60ff8411156154ae576154ae6156b4565b6001841b9150848211156154c4576154c46156b4565b5061332b565b5060208310610133831016604e8410600b84101617156154fd575081810a838111156154f8576154f86156b4565b61332b565b61550a848484600161540d565b80860482111561551c5761551c6156b4565b02949350505050565b600061ffff8083168185168183048111821515161561551c5761551c6156b4565b6000816000190483118215151615615560576155606156b4565b500290565b60006001600160801b0383811690831681811015615585576155856156b4565b039392505050565b600061ffff83811690831681811015615585576155856156b4565b6000828210156155ba576155ba6156b4565b500390565b60005b838110156155da5781810151838201526020016155c2565b83811115610d195750506000910152565b6002810460018216806155ff57607f821691505b6020821081141561562057634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160801b0380831681811415615643576156436156b4565b6001019392505050565b600061ffff80831681811415615643576156436156b4565b6000600019821415615679576156796156b4565b5060010190565b600060ff821660ff811415615697576156976156b4565b60010192915050565b6000826156af576156af6156ca565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461268f57600080fd5b801515811461268f57600080fd5b6001600160e01b03198116811461268f57600080fdfe68747470733a2f2f636c69656e742d6d657461646174612e65746865722e63617264732f6170692f6c616d656c6f322fa26469706673582212202e630fbcb946d10aba7bfd11cfe64d861abd4f5cea9c362ae91e27f0a467f1eb64736f6c6343000800003368747470733a2f2f65746865722d63617264732e6d7970696e6174612e636c6f75642f697066732f516d626d6e4e7963774c314d46704a316e6a6175333331706e41524c6d77634157617a38676a434870785a587636000000000000000000000000139b522955d54482e7662927653abb0bfb6f19ba00000000000000000000000097ca7fe0b0288f5eb85f386fed876618fb9b8ab800000000000000000000000072170f577f3b221b3478e09ccd5323445a8460d7
Deployed Bytecode
0x6080604052600436106104335760003560e01c8063848628bf11610228578063b9b994d711610128578063d1be750b116100bb578063de34bacd1161008a578063e985e9c51161006f578063e985e9c514610b6f578063ece8ea4e14610b8f578063f2fde38b14610ba457610443565b8063de34bacd14610b45578063e895510d14610b5a57610443565b8063d1be750b14610ace578063d555654414610afb578063d5abeb0114610b10578063d7c48e7a14610b2557610443565b8063c87b56dd116100f7578063c87b56dd14610a64578063cd627ef514610a84578063ce3bca8514610aa4578063d18d325414610ab957610443565b8063b9b994d714610a05578063be2b089f14610a1a578063c094303914610a2f578063c2ef7f5414610a4f57610443565b8063a22cb465116101bb578063b103dd291161018a578063b46bc2691161016f578063b46bc269146109ae578063b4e8a6c4146109c3578063b88d4fde146109e557610443565b8063b103dd291461096e578063b429afeb1461098e57610443565b8063a22cb465146108f9578063a475b5dd14610919578063a5b3abfb1461092e578063b0c902e01461094e57610443565b8063917c6c68116101f7578063917c6c681461088f57806392ccacda146108af57806393647ecb146108c457806395d89b41146108e457610443565b8063848628bf146108305780638b3e76fd146108455780638da5cb5b146108655780638e74955b1461087a57610443565b806342842e0e1161033357806366232675116102c6578063715018a6116102955780637a7b81181161027a5780637a7b8118146107e65780637d212732146108065780637d8d91871461081b57610443565b8063715018a6146107b15780637275bcc1146107c657610443565b806366232675146107475780636d26620e1461076757806370a082311461077c578063713d7c351461079c57610443565b806357a858fc1161030257806357a858fc146106dd5780635873ce77146106fd5780635fcc5adf146107125780636352211e1461072757610443565b806342842e0e1461065a578063457a89911461067a5780634607fb66146106aa5780634f6ccce7146106bd57610443565b806323b872dd116103c65780632f745c591161039557806337dfcaac1161037a57806337dfcaac146106105780633b8b0b35146106255780633d64ac9b1461063a57610443565b80632f745c59146105db5780632feb9524146105fb57610443565b806323b872dd1461056257806326987b60146105825780632e5c0fe7146105a45780632f151b76146105b957610443565b80630ad2db6d116104025780630ad2db6d146104ed5780630d1bc631146105005780630e89341c1461052057806318160ddd1461054d57610443565b806301ffc9a71461044857806306fdde031461047e578063081812fc146104a0578063095ea7b3146104cd57610443565b366104435761044134610bc4565b005b600080fd5b34801561045457600080fd5b50610468610463366004614284565b610d1f565b60405161047591906145fc565b60405180910390f35b34801561048a57600080fd5b50610493610d65565b6040516104759190614610565b3480156104ac57600080fd5b506104c06104bb366004614336565b610df7565b60405161047591906144ea565b3480156104d957600080fd5b506104416104e8366004614121565b610e3a565b6104416104fb366004614418565b610ed2565b34801561050c57600080fd5b5061046861051b366004614314565b610f79565b34801561052c57600080fd5b5061054061053b366004614336565b611007565b6040516104759190614607565b34801561055957600080fd5b5061054061102e565b34801561056e57600080fd5b5061044161057d366004614037565b611034565b34801561058e57600080fd5b5061059761106c565b60405161047591906152ba565b3480156105b057600080fd5b5061054061107b565b3480156105c557600080fd5b506105ce611081565b6040516104759190615261565b3480156105e757600080fd5b506105406105f6366004614121565b6110f3565b34801561060757600080fd5b50610493611148565b34801561061c57600080fd5b506104686111d6565b34801561063157600080fd5b506105406111df565b34801561064657600080fd5b5061044161065536600461434e565b6111e5565b34801561066657600080fd5b50610441610675366004614037565b6112cf565b34801561068657600080fd5b5061069a610695366004614418565b6112ea565b6040516104759493929190615303565b6104416106b8366004614432565b6113d0565b3480156106c957600080fd5b506105406106d8366004614336565b61147e565b3480156106e957600080fd5b506105406106f8366004614336565b6114d9565b34801561070957600080fd5b506105406114fa565b34801561071e57600080fd5b50610468611500565b34801561073357600080fd5b506104c0610742366004614336565b611510565b34801561075357600080fd5b50610441610762366004613fc7565b611545565b34801561077357600080fd5b506104936115f1565b34801561078857600080fd5b50610540610797366004613fc7565b6115fe565b3480156107a857600080fd5b506104c0611642565b3480156107bd57600080fd5b50610441611651565b3480156107d257600080fd5b506104416107e136600461439a565b61169c565b3480156107f257600080fd5b506104416108013660046142bc565b61179a565b34801561081257600080fd5b50610540611814565b34801561082757600080fd5b5061059761181a565b34801561083c57600080fd5b50610597611829565b34801561085157600080fd5b50610441610860366004613fc7565b61183f565b34801561087157600080fd5b506104c06118ea565b34801561088657600080fd5b506104c06118f9565b34801561089b57600080fd5b506105406108aa366004614336565b611908565b3480156108bb57600080fd5b50610540611956565b3480156108d057600080fd5b506104416108df36600461414c565b61195c565b3480156108f057600080fd5b50610493611a0e565b34801561090557600080fd5b506104416109143660046140f4565b611a1d565b34801561092557600080fd5b50610441611a2f565b34801561093a57600080fd5b50610441610949366004614121565b611baf565b34801561095a57600080fd5b506104416109693660046141e1565b611c6d565b34801561097a57600080fd5b50610441610989366004613fc7565b6124fa565b34801561099a57600080fd5b506104686109a9366004613fc7565b612692565b3480156109ba57600080fd5b506105976126c1565b3480156109cf57600080fd5b506109d86126ec565b6040516104759190614577565b3480156109f157600080fd5b50610441610a00366004614077565b6127b7565b348015610a1157600080fd5b506105406127f0565b348015610a2657600080fd5b506104c06127f6565b348015610a3b57600080fd5b50610540610a4a366004614336565b612805565b348015610a5b57600080fd5b50610468612841565b348015610a7057600080fd5b50610493610a7f366004614336565b61284a565b348015610a9057600080fd5b50610441610a9f36600461436f565b612a3f565b348015610ab057600080fd5b50610597612a8e565b348015610ac557600080fd5b50610597612aa4565b348015610ada57600080fd5b50610aee610ae9366004613fc7565b612aca565b60405161047591906145c4565b348015610b0757600080fd5b50610540612c78565b348015610b1c57600080fd5b50610597612c7e565b348015610b3157600080fd5b50610441610b40366004614180565b612c8d565b348015610b5157600080fd5b50610540612d16565b348015610b6657600080fd5b50610540612d1c565b348015610b7b57600080fd5b50610468610b8a366004613fff565b612d22565b348015610b9b57600080fd5b50610540612d50565b348015610bb057600080fd5b50610441610bbf366004613fc7565b612d56565b60008060005b602454811015610d195760006103e860238381548110610bfa57634e487b7160e01b600052603260045260246000fd5b906000526020600020015486610c109190615546565b610c1a91906153f9565b602454909150610c2c906001906155a8565b821415610c4457610c3d83866155a8565b9050610c51565b610c4e81846153c0565b92505b60248281548110610c7257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546040516001600160a01b03909116908290610c98906144e7565b60006040518083038185875af1925050503d8060008114610cd5576040519150601f19603f3d011682016040523d82523d6000602084013e610cda565b606091505b50508094505083610d065760405162461bcd60e51b8152600401610cfd906148bb565b60405180910390fd5b5080610d1181615665565b915050610bca565b50505050565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610d5d5750610d5d82612dc4565b90505b919050565b606060008054610d74906155eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610da0906155eb565b8015610ded5780601f10610dc257610100808354040283529160200191610ded565b820191906000526020600020905b815481529060010190602001808311610dd057829003601f168201915b5050505050905090565b6000610e0282612e36565b610e1e5760405162461bcd60e51b8152600401610cfd90614cd6565b506000908152600460205260409020546001600160a01b031690565b6000610e4582611510565b9050806001600160a01b0316836001600160a01b03161415610e795760405162461bcd60e51b8152600401610cfd90614eb6565b806001600160a01b0316610e8b612e53565b6001600160a01b03161480610ea75750610ea781610b8a612e53565b610ec35760405162461bcd60e51b8152600401610cfd90614b53565b610ecd8383612e57565b505050565b601b54600160801b900460ff16610efb5760405162461bcd60e51b8152600401610cfd906149bd565b60175442118015610f0d575060185442105b610f295760405162461bcd60e51b8152600401610cfd9061504c565b610f3581600080612ec5565b336001600160a01b03167ffa7834a1093287aa2ad7d58c362e5c73de010ba8c4ff5a2e56443e9cd6d67e1e82604051610f6e919061531e565b60405180910390a250565b600080610f876008846153d8565b90506000610f96826008615525565b610fa0908561558d565b61ffff831660009081526011602052604090205460ff918216925016610fcb57600092505050610d60565b610fd6816002615453565b610fe1906001615546565b61ffff9092166000908152601160205260409020549190911660ff161515915050919050565b601b54601d546000916001600160801b03169061102490846153c0565b610d5d91906156a0565b60085490565b61104561103f612e53565b82613164565b6110615760405162461bcd60e51b8152600401610cfd90614f81565b610ecd8383836131e9565b6019546001600160801b031681565b60175481565b611089613d26565b6040518061010001604052806013548152602001601454815260200160155481526020016016548152602001601754815260200160185481526020016110cd6126c1565b6001600160801b031681526020016110e3612aa4565b6001600160801b03169052905090565b60006110fe836115fe565b821061111c5760405162461bcd60e51b8152600401610cfd906146ff565b506001600160a01b03821660009081526006602090815260408083208484529091529020545b92915050565b60228054611155906155eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611181906155eb565b80156111ce5780601f106111a3576101008083540402835291602001916111ce565b820191906000526020600020905b8154815290600101906020018083116111b157829003601f168201915b505050505081565b601e5460ff1681565b60125481565b600f546001600160a01b0316331461120f5760405162461bcd60e51b8152600401610cfd90615015565b8060205414156112b35760215460ff161561123c5760405162461bcd60e51b8152600401610cfd9061494f565b601b54611253906001600160801b03166001615395565b611266906001600160801b0316836156a0565b601d8190556040517fff74eb8ed2a85f7032abbd6ce624acfda4ace664c3cc8ad760c0fd30c9d7eed99161129991614607565b60405180910390a16021805460ff191660011790556112cb565b60405162461bcd60e51b8152600401610cfd9061484d565b5050565b610ecd838383604051806020016040528060008152506127b7565b60008060008060008560ff16600114156113075750601554611345565b8560ff166002141561131c5750601754611345565b8560ff16600314156113315750601354611345565b6000806000809450945094509450506113c9565b8042106113645760405162461bcd60e51b8152600401610cfd906151bc565b600061137042836155a8565b905061137f62015180826153f9565b955061138e62015180826156a0565b905061139c610e10826153f9565b94506113aa610e10826156a0565b90506113b7603c826153f9565b93506113c4603c826156a0565b925050505b9193509193565b601b54600160801b900460ff166113f95760405162461bcd60e51b8152600401610cfd906149bd565b601554421015801561140d57506016544211155b6114295760405162461bcd60e51b8152600401610cfd906149f4565b611434838383612ec5565b336001600160a01b03167fb87325fe1c40b5db2e3c6577b9ba5e63963112ed87b785bdbfd13ec8fd91521b8484846040516114719392919061532c565b60405180910390a2505050565b600061148861102e565b82106114a65760405162461bcd60e51b8152600401610cfd90615083565b600882815481106114c757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b602381815481106114e957600080fd5b600091825260209091200154905081565b60135481565b601b54600160801b900460ff1681565b6000818152600260205260408120546001600160a01b031680610d5d5760405162461bcd60e51b8152600401610cfd90614c44565b61154d612e53565b6001600160a01b031661155e6118ea565b6001600160a01b0316146115845760405162461bcd60e51b8152600401610cfd90614d22565b61158f600b82613316565b156115ac5760405162461bcd60e51b8152600401610cfd90614deb565b6115b7600b82613332565b5060405133906001600160a01b038316907fde4bbadbdbd1ed4cfc0454fa40ae242b7ef106adbe8466849ebf5cff831bc10590600090a350565b601f8054611155906155eb565b60006001600160a01b0382166116265760405162461bcd60e51b8152600401610cfd90614be7565b506001600160a01b031660009081526003602052604090205490565b600d546001600160a01b031681565b611659612e53565b6001600160a01b031661166a6118ea565b6001600160a01b0316146116905760405162461bcd60e51b8152600401610cfd90614d22565b61169a6000613347565b565b6116a7600b33613316565b806116c15750336116b66118ea565b6001600160a01b0316145b6116dd5760405162461bcd60e51b8152600401610cfd906146c8565b60158590556116ef856203f4806153c0565b601655601784905561170484620a8c006153c0565b6018556013839055611719836203f4806153c0565b601455805182511461173d5760405162461bcd60e51b8152600401610cfd90615185565b8151611750906024906020850190613d6b565b508051611764906023906020840190613dcc565b5050601b80547fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff16600160801b17905550505050565b6117a5600b33613316565b806117bf5750336117b46118ea565b6001600160a01b0316145b6117db5760405162461bcd60e51b8152600401610cfd906146c8565b81516117ee906022906020850190613e07565b5080156112cb576000601d556021805460ff19908116909155601e805490911690555050565b60155481565b601a546001600160801b031681565b601a54600160801b90046001600160801b031681565b611847612e53565b6001600160a01b03166118586118ea565b6001600160a01b03161461187e5760405162461bcd60e51b8152600401610cfd90614d22565b611889600b82613316565b6118a55760405162461bcd60e51b8152600401610cfd90614e59565b6118b0600b82613399565b5060405133906001600160a01b038316907f799caeba7dd7e8649fefe03dd79338a265cf8f9738da0cd834338f2cab9abd1c90600090a350565b600a546001600160a01b031690565b600f546001600160a01b031681565b60006101f4821161191b575060c8610d60565b6105dc821161192c57506096610d60565b610dac821161193d57506064610d60565b612710821161194e57506032610d60565b506000610d60565b60165481565b611967600b33613316565b806119815750336119766118ea565b6001600160a01b0316145b61199d5760405162461bcd60e51b8152600401610cfd906146c8565b601954610dac906119bb9060ff8416906001600160801b0316615395565b6001600160801b031611156119e25760405162461bcd60e51b8152600401610cfd90614fde565b60005b8160ff168160ff161015610ecd576119fc836133ae565b80611a0681615680565b9150506119e5565b606060018054610d74906155eb565b6112cb611a28612e53565b83836133f7565b601b54600160801b900460ff16611a585760405162461bcd60e51b8152600401610cfd906149bd565b601454421015611a7a5760405162461bcd60e51b8152600401610cfd90615117565b611a85600b33613316565b80611a9f575033611a946118ea565b6001600160a01b0316145b611abb5760405162461bcd60e51b8152600401610cfd906146c8565b601e5460ff1615611ade5760405162461bcd60e51b8152600401610cfd90614e22565b601e805460ff191660011790556040805160608101909152603080825261573060208301398051611b1791601f91602090910190613e07565b5060215460ff1661169a57600f60009054906101000a90046001600160a01b03166001600160a01b031663c532bbac6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611b7257600080fd5b505af1158015611b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611baa919061426c565b602055565b611bb7612e53565b6001600160a01b0316611bc86118ea565b6001600160a01b031614611bee5760405162461bcd60e51b8152600401610cfd90614d22565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b038316906323b872dd90611c37903090339086906004016144fe565b600060405180830381600087803b158015611c5157600080fd5b505af1158015611c65573d6000803e3d6000fd5b505050505050565b601b54600160801b900460ff16611c965760405162461bcd60e51b8152600401610cfd906149bd565b6013544210158015611caa57506014544211155b611cc65760405162461bcd60e51b8152600401610cfd906151f3565b60048114611ce65760405162461bcd60e51b8152600401610cfd9061465a565b81816000818110611d0757634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d1c9190614314565b61ffff16600111158015611d6b57506101f482826000818110611d4f57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d649190614314565b61ffff1611155b611d875760405162461bcd60e51b8152600401610cfd9061514e565b81816001818110611da857634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611dbd9190614314565b61ffff166101f511158015611e0d57506105dc82826001818110611df157634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611e069190614314565b61ffff1611155b611e295760405162461bcd60e51b8152600401610cfd90614ae5565b81816002818110611e4a57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611e5f9190614314565b61ffff166105dd11158015611eaf5750610dac82826002818110611e9357634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611ea89190614314565b61ffff1611155b611ecb5760405162461bcd60e51b8152600401610cfd90614f4a565b81816003818110611eec57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611f019190614314565b61ffff16610dad11158015611f51575061271082826003818110611f3557634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611f4a9190614314565b61ffff1611155b611f6d5760405162461bcd60e51b8152600401610cfd90614b1c565b600d5433906001600160a01b0316636352211e8484600081611f9f57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611fb49190614314565b6040518263ffffffff1660e01b8152600401611fd091906152ce565b60206040518083038186803b158015611fe857600080fd5b505afa158015611ffc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120209190613fe3565b6001600160a01b0316146120465760405162461bcd60e51b8152600401610cfd90614bb0565b600d5433906001600160a01b0316636352211e8484600181811061207a57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061208f9190614314565b6040518263ffffffff1660e01b81526004016120ab91906152ce565b60206040518083038186803b1580156120c357600080fd5b505afa1580156120d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fb9190613fe3565b6001600160a01b0316146121215760405162461bcd60e51b8152600401610cfd90614623565b600d5433906001600160a01b0316636352211e8484600281811061215557634e487b7160e01b600052603260045260246000fd5b905060200201602081019061216a9190614314565b6040518263ffffffff1660e01b815260040161218691906152ce565b60206040518083038186803b15801561219e57600080fd5b505afa1580156121b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d69190613fe3565b6001600160a01b0316146121fc5760405162461bcd60e51b8152600401610cfd90614691565b600d5433906001600160a01b0316636352211e8484600381811061223057634e487b7160e01b600052603260045260246000fd5b90506020020160208101906122459190614314565b6040518263ffffffff1660e01b815260040161226191906152ce565b60206040518083038186803b15801561227957600080fd5b505afa15801561228d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b19190613fe3565b6001600160a01b0316146122d75760405162461bcd60e51b8152600401610cfd9061522a565b60005b61ffff811682111561236557600083838361ffff1681811061230c57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906123219190614314565b905061232c81610f79565b156123495760405162461bcd60e51b8152600401610cfd90614f13565b6123528161349a565b508061235d8161564d565b9150506122da565b506001612370612aa4565b6001600160801b031610156123975760405162461bcd60e51b8152600401610cfd90614aae565b6123a0336133ae565b60198054600160801b90046001600160801b03169060106123c083615626565b91906101000a8154816001600160801b0302191690836001600160801b03160217905550507fd5ff426bb1a11b8cafacb08eaa380ef922959aab1c1b7ab1520128a08a22d4c18282600081811061242757634e487b7160e01b600052603260045260246000fd5b905060200201602081019061243c9190614314565b8383600181811061245d57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906124729190614314565b8484600281811061249357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906124a89190614314565b858560038181106124c957634e487b7160e01b600052603260045260246000fd5b90506020020160208101906124de9190614314565b6040516124ee94939291906152dd565b60405180910390a15050565b612502612e53565b6001600160a01b03166125136118ea565b6001600160a01b0316146125395760405162461bcd60e51b8152600401610cfd90614d22565b6001600160a01b03811661258d5761254f6118ea565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015612587573d6000803e3d6000fd5b5061268f565b806001600160a01b031663a9059cbb6125a46118ea565b6040516370a0823160e01b81526001600160a01b038516906370a08231906125d09030906004016144ea565b60206040518083038186803b1580156125e857600080fd5b505afa1580156125fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612620919061426c565b6040518363ffffffff1660e01b815260040161263d92919061455e565b602060405180830381600087803b15801561265757600080fd5b505af115801561266b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112cb9190614250565b50565b6000816001600160a01b03166126a66118ea565b6001600160a01b03161480610d5d5750610d5d600b83613316565b601a54601b546000916126e7916001600160801b03600160801b90920482169116615565565b905090565b60606126f8600b613500565b67ffffffffffffffff81111561271e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612747578160200160208202803683370190505b50905060005b612757600b613500565b8110156127b357612769600b8261350b565b82828151811061278957634e487b7160e01b600052603260045260246000fd5b6001600160a01b0390921660209283029190910190910152806127ab81615665565b91505061274d565b5090565b6127c86127c2612e53565b83613164565b6127e45760405162461bcd60e51b8152600401610cfd90614f81565b610d1984848484613517565b60185481565b600e546001600160a01b031681565b60006064821161281757506096610d60565b6103e8821161282857506064610d60565b612710821161283957506032610d60565b506000919050565b60215460ff1681565b606061285582612e36565b6128715760405162461bcd60e51b8152600401610cfd90614a2b565b6000601f8054612880906155eb565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac906155eb565b80156128f95780601f106128ce576101008083540402835291602001916128f9565b820191906000526020600020905b8154815290600101906020018083116128dc57829003601f168201915b50506021549394505060ff90921691506129a29050576022805461291c906155eb565b80601f0160208091040260200160405190810160405280929190818152602001828054612948906155eb565b80156129955780601f1061296a57610100808354040283529160200191612995565b820191906000526020600020905b81548152906001019060200180831161297857829003601f168201915b5050505050915050610d60565b60006129ad84611007565b905060006129c46129bf6064846156a0565b61354a565b905060006129d18361354a565b905060006040518060400160405280600181526020017f2f00000000000000000000000000000000000000000000000000000000000000815250905084838284604051602001612a249493929190614490565b60405160208183030381529060405295505050505050919050565b612a4a600b33613316565b80612a64575033612a596118ea565b6001600160a01b0316145b612a805760405162461bcd60e51b8152600401610cfd906146c8565b601692909255601855601455565b601954600160801b90046001600160801b031681565b601954601a546000916126e7916001600160801b03600160801b90920482169116615565565b6040516370a0823160e01b815260609060009030906370a0823190612af39086906004016144ea565b60206040518083038186803b158015612b0b57600080fd5b505afa158015612b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b43919061426c565b905060008167ffffffffffffffff811115612b6e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612b97578160200160208202803683370190505b50905060005b82811015612c70576040517f2f745c590000000000000000000000000000000000000000000000000000000081523090632f745c5990612be3908890859060040161455e565b60206040518083038186803b158015612bfb57600080fd5b505afa158015612c0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c33919061426c565b828281518110612c5357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280612c6881615665565b915050612b9d565b509392505050565b601d5481565b601b546001600160801b031681565b612c98600b33613316565b80612cb2575033612ca76118ea565b6001600160a01b0316145b612cce5760405162461bcd60e51b8152600401610cfd906146c8565b8051825114612cef5760405162461bcd60e51b8152600401610cfd90615185565b8151612d02906024906020850190613d6b565b508051610ecd906023906020840190613dcc565b60105481565b60145481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60205481565b612d5e612e53565b6001600160a01b0316612d6f6118ea565b6001600160a01b031614612d955760405162461bcd60e51b8152600401610cfd90614d22565b6001600160a01b038116612dbb5760405162461bcd60e51b8152600401610cfd906147b9565b61268f81613347565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480612e2757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610d5d5750610d5d82613699565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612e8c82611510565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008083118015612ed4575081155b15612f9257612ee283612805565b600e546040516331a9108f60e11b815291925033916001600160a01b0390911690636352211e90612f17908790600401614607565b60206040518083038186803b158015612f2f57600080fd5b505afa158015612f43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f679190613fe3565b6001600160a01b031614612f8d5760405162461bcd60e51b8152600401610cfd906150e0565b613059565b82158015612fa05750600082115b1561305957612fae82611908565b600d546040516331a9108f60e11b815291925033916001600160a01b0390911690636352211e90612fe3908690600401614607565b60206040518083038186803b158015612ffb57600080fd5b505afa15801561300f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130339190613fe3565b6001600160a01b0316146130595760405162461bcd60e51b8152600401610cfd90614884565b6000816103e860105461306c91906153f9565b6130769190615546565b60105461308391906155a8565b905060006130948260ff8816615546565b90508034146130b55760405162461bcd60e51b8152600401610cfd90614d57565b8560ff166130c16126c1565b6001600160801b031610156130e85760405162461bcd60e51b8152600401610cfd90614aae565b60005b8660ff168160ff16101561315a57613102336133ae565b601a8054600160801b90046001600160801b031690601061312283615626565b91906101000a8154816001600160801b0302191690836001600160801b0316021790555050808061315290615680565b9150506130eb565b50611c6534610bc4565b600061316f82612e36565b61318b5760405162461bcd60e51b8152600401610cfd90614a62565b600061319683611510565b9050806001600160a01b0316846001600160a01b031614806131d15750836001600160a01b03166131c684610df7565b6001600160a01b0316145b806131e157506131e18185612d22565b949350505050565b826001600160a01b03166131fc82611510565b6001600160a01b0316146132225760405162461bcd60e51b8152600401610cfd90614d8e565b6001600160a01b0382166132485760405162461bcd60e51b8152600401610cfd906148f2565b6132538383836136cb565b61325e600082612e57565b6001600160a01b03831660009081526003602052604081208054600192906132879084906155a8565b90915550506001600160a01b03821660009081526003602052604081208054600192906132b59084906153c0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061332b836001600160a01b038416613754565b9392505050565b600061332b836001600160a01b03841661376c565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061332b836001600160a01b0384166137b6565b601980546001600160801b03169060006133c783615626565b82546101009290920a6001600160801b0381810219909316918316021790915560195461268f92508391166138d3565b816001600160a01b0316836001600160a01b031614156134295760405162461bcd60e51b8152600401610cfd90614986565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061348d9085906145fc565b60405180910390a3505050565b60006134a76008836153d8565b905060006134b6826008615525565b6134c0908461558d565b60ff1690506134d0816002615453565b61ffff929092166000908152601160205260409020805460ff19811660ff91821690941716929092179091555050565b6000610d5d826139b2565b600061332b83836139b6565b6135228484846131e9565b61352e848484846139ee565b610d195760405162461bcd60e51b8152600401610cfd9061475c565b60608161358b575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610d60565b8160005b81156135b5578061359f81615665565b91506135ae9050600a836153f9565b915061358f565b60008167ffffffffffffffff8111156135de57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613608576020820181803683370190505b5090505b84156131e15761361d6001836155a8565b915061362a600a866156a0565b6136359060306153c0565b60f81b81838151811061365857634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613692600a866153f9565b945061360c565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b6136d6838383610ecd565b6001600160a01b0383166136f2576136ed81613b22565b613715565b816001600160a01b0316836001600160a01b031614613715576137158382613b66565b6001600160a01b0382166137315761372c81613c03565b610ecd565b826001600160a01b0316826001600160a01b031614610ecd57610ecd8282613cdc565b60009081526001919091016020526040902054151590565b60006137788383613754565b6137ae57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611142565b506000611142565b600081815260018301602052604081205480156138c95760006137da6001836155a8565b85549091506000906137ee906001906155a8565b905081811461386f57600086600001828154811061381c57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061384d57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061388e57634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050611142565b6000915050611142565b6001600160a01b0382166138f95760405162461bcd60e51b8152600401610cfd90614ca1565b61390281612e36565b1561391f5760405162461bcd60e51b8152600401610cfd90614816565b61392b600083836136cb565b6001600160a01b03821660009081526003602052604081208054600192906139549084906153c0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5490565b60008260000182815481106139db57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6000613a02846001600160a01b0316613d20565b15613b1757836001600160a01b031663150b7a02613a1e612e53565b8786866040518563ffffffff1660e01b8152600401613a409493929190614522565b602060405180830381600087803b158015613a5a57600080fd5b505af1925050508015613a8a575060408051601f3d908101601f19168201909252613a87918101906142a0565b60015b613ae4573d808015613ab8576040519150601f19603f3d011682016040523d82523d6000602084013e613abd565b606091505b508051613adc5760405162461bcd60e51b8152600401610cfd9061475c565b805181602001fd5b6001600160e01b0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506131e1565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001613b73846115fe565b613b7d91906155a8565b600083815260076020526040902054909150808214613bd0576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613c15906001906155a8565b60008381526009602052604081205460088054939450909284908110613c4b57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110613c7a57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613cc057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ce7836115fe565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b3b151590565b60405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b828054828255906000526020600020908101928215613dc0579160200282015b82811115613dc057825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190613d8b565b506127b3929150613e7a565b828054828255906000526020600020908101928215613dc0579160200282015b82811115613dc0578251825591602001919060010190613dec565b828054613e13906155eb565b90600052602060002090601f016020900481019282613e355760008555613dc0565b82601f10613e4e57805160ff1916838001178555613dc0565b82800160010185558215613dc05791820182811115613dc0578251825591602001919060010190613dec565b5b808211156127b35760008155600101613e7b565b600067ffffffffffffffff831115613ea957613ea96156e0565b613ebc601f8401601f1916602001615347565b9050828152838383011115613ed057600080fd5b828260208301376000602084830101529392505050565b600082601f830112613ef7578081fd5b81356020613f0c613f0783615371565b615347565b8281528181019085830183850287018401881015613f28578586fd5b855b85811015613f4f578135613f3d816156f6565b84529284019290840190600101613f2a565b5090979650505050505050565b600082601f830112613f6c578081fd5b81356020613f7c613f0783615371565b8281528181019085830183850287018401881015613f98578586fd5b855b85811015613f4f57813584529284019290840190600101613f9a565b803560ff81168114610d6057600080fd5b600060208284031215613fd8578081fd5b813561332b816156f6565b600060208284031215613ff4578081fd5b815161332b816156f6565b60008060408385031215614011578081fd5b823561401c816156f6565b9150602083013561402c816156f6565b809150509250929050565b60008060006060848603121561404b578081fd5b8335614056816156f6565b92506020840135614066816156f6565b929592945050506040919091013590565b6000806000806080858703121561408c578182fd5b8435614097816156f6565b935060208501356140a7816156f6565b925060408501359150606085013567ffffffffffffffff8111156140c9578182fd5b8501601f810187136140d9578182fd5b6140e887823560208401613e8f565b91505092959194509250565b60008060408385031215614106578182fd5b8235614111816156f6565b9150602083013561402c8161570b565b60008060408385031215614133578182fd5b823561413e816156f6565b946020939093013593505050565b6000806040838503121561415e578182fd5b8235614169816156f6565b915061417760208401613fb6565b90509250929050565b60008060408385031215614192578182fd5b823567ffffffffffffffff808211156141a9578384fd5b6141b586838701613ee7565b935060208501359150808211156141ca578283fd5b506141d785828601613f5c565b9150509250929050565b600080602083850312156141f3578182fd5b823567ffffffffffffffff8082111561420a578384fd5b818501915085601f83011261421d578384fd5b81358181111561422b578485fd5b866020808302850101111561423e578485fd5b60209290920196919550909350505050565b600060208284031215614261578081fd5b815161332b8161570b565b60006020828403121561427d578081fd5b5051919050565b600060208284031215614295578081fd5b813561332b81615719565b6000602082840312156142b1578081fd5b815161332b81615719565b600080604083850312156142ce578182fd5b823567ffffffffffffffff8111156142e4578283fd5b8301601f810185136142f4578283fd5b61430385823560208401613e8f565b925050602083013561402c8161570b565b600060208284031215614325578081fd5b813561ffff8116811461332b578182fd5b600060208284031215614347578081fd5b5035919050565b60008060408385031215614360578182fd5b50508035926020909101359150565b600080600060608486031215614383578081fd5b505081359360208301359350604090920135919050565b600080600080600060a086880312156143b1578283fd5b853594506020860135935060408601359250606086013567ffffffffffffffff808211156143dd578283fd5b6143e989838a01613ee7565b935060808801359150808211156143fe578283fd5b5061440b88828901613f5c565b9150509295509295909350565b600060208284031215614429578081fd5b61332b82613fb6565b600080600060608486031215614446578081fd5b61444f84613fb6565b95602085013595506040909401359392505050565b6000815180845261447c8160208601602086016155bf565b601f01601f19169290920160200192915050565b600085516144a2818460208a016155bf565b8551908301906144b6818360208a016155bf565b85519101906144c98183602089016155bf565b84519101906144dc8183602088016155bf565b019695505050505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526145546080830184614464565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b818110156145b85783516001600160a01b031683529284019291840191600101614593565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156145b8578351835292840192918401916001016145e0565b901515815260200190565b90815260200190565b60006020825261332b6020830184614464565b60208082526003908201527f326e640000000000000000000000000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f746f6b656e496420636f756e742e000000000000000000000000000000000000604082015260600190565b60208082526003908201527f3372640000000000000000000000000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f4e6f7420417574686f7269736564000000000000000000000000000000000000604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526019908201527f496e636f727265637420726571756573742049442073656e7400000000000000604082015260600190565b60208082526007908201527f214c616d656c6f00000000000000000000000000000000000000000000000000604082015260600190565b60208082526014908201527f4661696c656420746f2073656e64204574686572000000000000000000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f52616e646f6d204e6f2e20616c72656164792072656365697665640000000000604082015260600190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252600e908201527f6e6f74496e697469616c69736564000000000000000000000000000000000000604082015260600190565b60208082526002908201527f2144000000000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526014908201527f546f6b656e20646f6573206e6f74206578697374000000000000000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526008908201527f736f6c64206f7574000000000000000000000000000000000000000000000000604082015260600190565b60208082526004908201527f6572723100000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526004908201527f6572723300000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b60208082526003908201527f3173740000000000000000000000000000000000000000000000000000000000604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600d908201527f5072696365206e6f74206d657400000000000000000000000000000000000000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f436f6e74726f6c6c657220616c72656164792061646465642e00000000000000604082015260600190565b60208082526006908201527f6c6f636b65640000000000000000000000000000000000000000000000000000604082015260600190565b60208082526024908201527f436f6e74726f6c6c657220646f206e6f7420686f6c642061646d696e2072696760408201527f6874732e00000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526006908201527f466f726765640000000000000000000000000000000000000000000000000000604082015260600190565b60208082526004908201527f6572723200000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b60208082526008908201527f4f7665726d696e74000000000000000000000000000000000000000000000000604082015260600190565b60208082526010908201527f556e617574686f726973656420524e4700000000000000000000000000000000604082015260600190565b60208082526002908201527f2153000000000000000000000000000000000000000000000000000000000000604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201527f7574206f6620626f756e64730000000000000000000000000000000000000000606082015260800190565b60208082526003908201527f2145430000000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526003908201527f2146450000000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526004908201527f6572723000000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526007908201527f216c656e67746800000000000000000000000000000000000000000000000000604082015260600190565b60208082526007908201527f5374617274656400000000000000000000000000000000000000000000000000604082015260600190565b60208082526002908201527f2146000000000000000000000000000000000000000000000000000000000000604082015260600190565b60208082526003908201527f3474680000000000000000000000000000000000000000000000000000000000604082015260600190565b600061010082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b6001600160801b0391909116815260200190565b61ffff91909116815260200190565b61ffff948516815292841660208401529083166040830152909116606082015260800190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60ff9390931683526020830191909152604082015260600190565b60405181810167ffffffffffffffff81118282101715615369576153696156e0565b604052919050565b600067ffffffffffffffff82111561538b5761538b6156e0565b5060209081020190565b60006001600160801b038083168185168083038211156153b7576153b76156b4565b01949350505050565b600082198211156153d3576153d36156b4565b500190565b600061ffff808416806153ed576153ed6156ca565b92169190910492915050565b600082615408576154086156ca565b500490565b80825b600180861161541f575061544a565b818704821115615431576154316156b4565b8086161561543e57918102915b9490941c938002615410565b94509492505050565b600061332b60001961ffff8516846000826154705750600161332b565b8161547d5750600061332b565b8160018114615493576002811461549d576154ca565b600191505061332b565b60ff8411156154ae576154ae6156b4565b6001841b9150848211156154c4576154c46156b4565b5061332b565b5060208310610133831016604e8410600b84101617156154fd575081810a838111156154f8576154f86156b4565b61332b565b61550a848484600161540d565b80860482111561551c5761551c6156b4565b02949350505050565b600061ffff8083168185168183048111821515161561551c5761551c6156b4565b6000816000190483118215151615615560576155606156b4565b500290565b60006001600160801b0383811690831681811015615585576155856156b4565b039392505050565b600061ffff83811690831681811015615585576155856156b4565b6000828210156155ba576155ba6156b4565b500390565b60005b838110156155da5781810151838201526020016155c2565b83811115610d195750506000910152565b6002810460018216806155ff57607f821691505b6020821081141561562057634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160801b0380831681811415615643576156436156b4565b6001019392505050565b600061ffff80831681811415615643576156436156b4565b6000600019821415615679576156796156b4565b5060010190565b600060ff821660ff811415615697576156976156b4565b60010192915050565b6000826156af576156af6156ca565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461268f57600080fd5b801515811461268f57600080fd5b6001600160e01b03198116811461268f57600080fdfe68747470733a2f2f636c69656e742d6d657461646174612e65746865722e63617264732f6170692f6c616d656c6f322fa26469706673582212202e630fbcb946d10aba7bfd11cfe64d861abd4f5cea9c362ae91e27f0a467f1eb64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000139b522955d54482e7662927653abb0bfb6f19ba00000000000000000000000097ca7fe0b0288f5eb85f386fed876618fb9b8ab800000000000000000000000072170f577f3b221b3478e09ccd5323445a8460d7
-----Decoded View---------------
Arg [0] : _lameloContractAddress (address): 0x139B522955D54482E7662927653ABb0bFB6F19BA
Arg [1] : _ec_contract_address (address): 0x97CA7FE0b0288f5EB85F386FeD876618FB9b8Ab8
Arg [2] : _rng (address): 0x72170F577F3B221b3478E09ccD5323445a8460d7
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000139b522955d54482e7662927653abb0bfb6f19ba
Arg [1] : 00000000000000000000000097ca7fe0b0288f5eb85f386fed876618fb9b8ab8
Arg [2] : 00000000000000000000000072170f577f3b221b3478e09ccd5323445a8460d7
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.