ERC-721
Overview
Max Total Supply
145 RAAS
Holders
97
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 RAASLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RAAS
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 10 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT LICENSE // introduction: https://mirror.xyz/0x5301c4ae977126DB7f96F0CBE076606eEE2C2E08/xTp5t1u8W1MQotMNQSeXOcZ1bnEYxrr5_YPTKxcLM94 // Identify RAAS team leader by 55c43f7971252f59a1ad8405b2031350 pragma solidity 0.8.9; import '@openzeppelin/contracts/utils/Counters.sol'; import 'erc721a/contracts/ERC721A.sol'; interface contractModal { function owner() external view returns (address); function balanceOf(address account) external view returns (uint256); function transfer(address to, uint256 amount) external returns (bool); function transferFrom(address from,address to, uint256 tokenId) external; function transferOwnership(address _newOwner) external; } contract RAAS is ERC721A{ using Counters for Counters.Counter; address public owner; uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private reentrantStatus = _NOT_ENTERED; uint256 private constant MAX_INT = 115792089237316195423570985008687907853269984665640564039457584007913129639935; uint256 private constant minBuyPriceGlobalMin = 0.1 ether; uint256 private constant minBuyPriceGlobalMax = 1 ether; uint256 public currentMinBuyPrice = 0.1 ether; uint256 private constant minPlatformFee = 1; uint256 private constant maxPlatformFee = 10; uint256 public currentPlatformFee = 1; uint256 private constant durationUint = 1 days; uint256 private constant minDurationDays = 1 * durationUint; uint256 private constant maxDurationDays = 30 * durationUint; mapping(address => bool) private destroyContractMapping; mapping (address => DepositedOwnershipStruct) private depositedOwnershipMapping; uint256 public totalDepositsCount = 0; mapping (address => SoldRecordStruct) private SoldRecordMapping; uint256 public totalSoldCount = 0; string public baseTokenURI; uint256 public constant MAX_SUPPLY = 10000; uint256 public AdminMinted = 0; uint256 private constant AdminMaxReserved = 200; uint256 public GiveawaysMinted = 0; uint256 private constant GiveawaysMaxReserved = 300; uint256 public constant walletMaxMinted = 3; mapping(address => uint256) private allowedMintCountMapping; enum ExpireOperations{ TransferToSeller, Destroy, StayInRaasForever } struct DepositedOwnershipStruct{ address callerAddress; address receiveETHAddress; address targetContract; uint256 minBuyPrice; uint256 maxBuyPrice; uint256 platformFee; uint256 durationDays; uint256 depositedTime; ExpireOperations expireOperation; } struct SoldRecordStruct{ address sellerAddress; address receiveETHAddress; address buyerAddress; address targetContract; uint256 finalBuyPrice; uint256 platformFee; uint256 depositedTime; uint256 durationDays; uint256 soledTime; ExpireOperations expireOperation; } event transferETHLog(address indexed _from, address indexed _to, uint256 amount); event depositedOwnershipLog(address indexed seller, address indexed targetContract, uint256 durationDays); event buyOwnershipLog(address indexed seller, address indexed buyer, address indexed targetContract, uint256 buyPrice); event retrieveOwnershipLog(address indexed seller, address indexed targetContract, uint256 retrieveTime); event destroyOwnershipLog(address indexed seller, address indexed targetContract, uint256 destoryTime); constructor() ERC721A ("RescueProjectAsAService", "RAAS"){ owner = msg.sender; baseTokenURI = "https://gateway.pinata.cloud/ipfs/QmdtfBhk5WHck3gS7XW115VTh4JvRQMWgt5P6RYnvJAMY2/"; } modifier onlyOwner() { require(owner == msg.sender, "Ownable: caller is not raas owner"); _; } modifier nonReentrant() { require(reentrantStatus != _ENTERED, "forbidden reentrant call"); reentrantStatus = _ENTERED; _; reentrantStatus = _NOT_ENTERED; } // Override so the openzeppelin tokenURI() method will use this method to create the full tokenURI instead // Reemplazar URI function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function ownershipInRaas(address _targetContract) public view returns(bool){ address _targetContractCurrentOwner = contractModal(_targetContract).owner(); if(_targetContractCurrentOwner == address(this)){ return true; }else{ return false; } } function isTradeTimeout(DepositedOwnershipStruct memory dos) private view returns(bool){ if(dos.depositedTime + dos.durationDays * durationUint >= block.timestamp){ return false; }else{ return true; } } function existsValidOwnershipTrade(address _targetContract) public view returns(bool){ if(ownershipInRaas(_targetContract)){ if(isTradeTimeout(depositedOwnershipMapping[_targetContract])){ return false; }else{ return true; } }else{ return false; } } function isOwnershipTradeTimeout(address _targetContract) external view returns(bool){ if(existsValidOwnershipTrade(_targetContract)){ return isTradeTimeout(depositedOwnershipMapping[_targetContract]); }else{ return true; } } function getTradeTimeLeft(address _targetContract) external view returns(uint256){ if(existsValidOwnershipTrade(_targetContract)){ DepositedOwnershipStruct memory dos = depositedOwnershipMapping[_targetContract]; if(isTradeTimeout(dos)){ return 0; }else{ return (dos.depositedTime + dos.durationDays * durationUint) - block.timestamp; } }else{ return 0; } } function getCurrentOwnershipPrice(address _targetContract) public view returns(uint256){ if(existsValidOwnershipTrade(_targetContract)){ DepositedOwnershipStruct memory dos = depositedOwnershipMapping[_targetContract]; if(!isTradeTimeout(dos)){ if(dos.minBuyPrice == dos.maxBuyPrice){ return dos.minBuyPrice; }else{ uint256 reducedPrice = ((block.timestamp - dos.depositedTime) * (dos.maxBuyPrice - dos.minBuyPrice)) / (dos.durationDays * durationUint); return dos.maxBuyPrice - reducedPrice; } } } return MAX_INT; } function getDepositedOwnershipDetails(address _targetContract) external view returns(DepositedOwnershipStruct memory){ return depositedOwnershipMapping[_targetContract]; } function getSoldRecordDetails(address _targetContract) external view returns(SoldRecordStruct memory){ return SoldRecordMapping[_targetContract]; } function depositedOwnershipWithFixPrice(address _receiveETHAddress, address _targetContract, uint256 _fixBuyPrice, uint256 _durationDays, uint256 _expireOperation) external { depositedFullOwnershipInformation(_receiveETHAddress, _targetContract, _fixBuyPrice, _fixBuyPrice, _durationDays, _expireOperation); } function depositedOwnershipWithDutchAuction(address _receiveETHAddress, address _targetContract, uint256 _minBuyPrice, uint256 _maxBuyPrice, uint256 _durationDays, uint256 _expireOperation) external { depositedFullOwnershipInformation(_receiveETHAddress, _targetContract, _minBuyPrice, _maxBuyPrice, _durationDays, _expireOperation); } function depositedFullOwnershipInformation(address _receiveETHAddress, address _targetContract, uint256 _minBuyPrice, uint256 _maxBuyPrice, uint256 _durationDays, uint256 _expireOperation) nonReentrant private { address _currentTargetContractOwner = contractModal(_targetContract).owner(); require(_currentTargetContractOwner == msg.sender, "you are not the target contract owner !"); require(_targetContract != address(0x0), "target contract address cannot be 0x0 address !"); require(_receiveETHAddress != address(0x0), "receive the ETH address cannot be 0x0 address !"); require(_maxBuyPrice >= _minBuyPrice, "maxBuyPrice must greater or equal to minBuyPrice !"); require(_minBuyPrice >= currentMinBuyPrice, "initial buy price too low !"); require(_durationDays * durationUint >= minDurationDays && _durationDays * durationUint <= maxDurationDays, "durationDays must between 1 days and 30 days !"); ExpireOperations _operation; if(_expireOperation == 0){ _operation = ExpireOperations.TransferToSeller; }else if(_expireOperation == 1){ _operation = ExpireOperations.Destroy; }else if(_expireOperation == 2){ _operation = ExpireOperations.StayInRaasForever; }else{ revert("expireOperation must between 0,1,2 !"); } if(depositedOwnershipMapping[_targetContract].callerAddress == address(0x0)){ totalDepositsCount += 1; } DepositedOwnershipStruct memory dos = DepositedOwnershipStruct({ callerAddress: msg.sender, receiveETHAddress: _receiveETHAddress, targetContract: _targetContract, minBuyPrice: _minBuyPrice, maxBuyPrice: _maxBuyPrice, platformFee: currentPlatformFee, depositedTime: block.timestamp, durationDays: _durationDays, expireOperation: _operation }); depositedOwnershipMapping[_targetContract] = dos; emit depositedOwnershipLog(msg.sender, _targetContract, _durationDays); } function sellerRetrieveOwnership(address _targetContract) nonReentrant external returns(bool){ if(ownershipInRaas(_targetContract)){ DepositedOwnershipStruct memory dos = depositedOwnershipMapping[_targetContract]; require(msg.sender == dos.callerAddress, "caller is not original seller user !"); if(isTradeTimeout(dos)){ if(dos.expireOperation == ExpireOperations.TransferToSeller){ contractModal(_targetContract).transferOwnership(msg.sender); emit retrieveOwnershipLog(msg.sender, _targetContract, block.timestamp); return true; }else if(dos.expireOperation == ExpireOperations.Destroy){ contractModal(_targetContract).transferOwnership(0x000000000000000000000000000000000000dEaD); emit destroyOwnershipLog(msg.sender, _targetContract, block.timestamp); if(!destroyContractMapping[_targetContract]){ destroyContractMapping[_targetContract] = true; raasUserMint(msg.sender); } return false; }else{ return false; } }else{ revert("trade is not timeout yet !"); } }else{ revert("target contract Ownership not controlled by RAAS !"); } } function buyOwnership(address _targetContract) nonReentrant payable external returns(bool){ require(!isContract(msg.sender), "caller cannot be contract !"); if(existsValidOwnershipTrade(_targetContract)){ uint256 currentPrice = getCurrentOwnershipPrice(_targetContract); require(msg.value >= currentPrice, "buyer send ETH is not enough."); contractModal(_targetContract).transferOwnership(msg.sender); address _targetContractCurrentOwner = contractModal(_targetContract).owner(); require(_targetContractCurrentOwner == msg.sender, "transfer Ownership to buyer failed."); DepositedOwnershipStruct memory dos = depositedOwnershipMapping[_targetContract]; uint256 receiveETHValue = (currentPrice * (100 - dos.platformFee)) / 100; (bool s1, ) = payable(dos.receiveETHAddress).call{value: receiveETHValue}(""); require(s1, "transfer ETH to seller failed."); emit transferETHLog(address(this), dos.receiveETHAddress, receiveETHValue); uint256 extraETH = msg.value - currentPrice; if(extraETH > 0){ (bool s2, ) = payable(msg.sender).call{value: extraETH}(""); require(s2, "transfer extra ETH to buyer failed."); emit transferETHLog(address(this), msg.sender, extraETH); } SoldRecordStruct memory sr = SoldRecordStruct({ sellerAddress: dos.callerAddress, receiveETHAddress: dos.receiveETHAddress, buyerAddress: msg.sender, targetContract: _targetContract, finalBuyPrice: currentPrice, platformFee: dos.platformFee, depositedTime: dos.depositedTime, durationDays: dos.durationDays, soledTime: block.timestamp, expireOperation: dos.expireOperation }); SoldRecordMapping[_targetContract] = sr; totalSoldCount += 1; raasUserMint(msg.sender); emit buyOwnershipLog(dos.callerAddress, msg.sender, _targetContract, currentPrice); return true; }else{ revert("no valid ownership trade exists."); } } function isContract(address account) internal view returns (bool) { bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly {codehash := extcodehash(account)} return (codehash != accountHash && codehash != 0x0); } function raasUserMint(address mintWallet) private{ uint256 supply = totalSupply(); if(supply + 1 <= MAX_SUPPLY){ uint256 mintCount = allowedMintCountMapping[mintWallet]; if(mintCount + 1 <= walletMaxMinted){ allowedMintCountMapping[mintWallet] = mintCount + 1; _safeMint(mintWallet, 1); } } } function raasGiveawaysAirdrop(address[] calldata addresses) external onlyOwner{ uint256 amount = addresses.length; uint256 supply = totalSupply(); require(supply + amount <= MAX_SUPPLY, "Can't mint more than max supply !"); require(GiveawaysMinted + amount <= GiveawaysMaxReserved, "Giveaways Can't mint more than Max Giveaways Reserved !"); GiveawaysMinted += amount; for (uint i = 0; i < amount; i++) { _safeMint(addresses[i], 1); } } function raasAdminMint(uint amount) external onlyOwner { uint256 supply = totalSupply(); require(supply + amount <= MAX_SUPPLY, "Can't mint more than max supply !"); require(AdminMinted + amount <= AdminMaxReserved, "Admin Can't mint more than Max Admin Reserved !"); AdminMinted += amount; _safeMint(msg.sender, amount); } function transferOwnership(address _newOwner) external onlyOwner { require(_newOwner != address(0x0)); owner = _newOwner; } function revelRAASNFT(string calldata baseURI) public onlyOwner { baseTokenURI = baseURI; } function raasSetPlatformFee(uint256 _platformFee) external onlyOwner { require(_platformFee >= minPlatformFee && _platformFee <= maxPlatformFee, "platform fee not in scope !"); currentPlatformFee = _platformFee; } function raasSetMinBuyPrice(uint256 _minBuyPrice) external onlyOwner { require(_minBuyPrice >= minBuyPriceGlobalMin && _minBuyPrice <= minBuyPriceGlobalMax, "minBuyPrice not in scope!"); currentMinBuyPrice = _minBuyPrice; } function raasWithdrawERC20(address tokenAddress) external onlyOwner{ uint256 amount = contractModal(tokenAddress).balanceOf(address(this)); contractModal(tokenAddress).transfer(msg.sender, amount); } function raasWithdrawNFT(address nftAddress, uint256[] calldata tokenIds) external onlyOwner{ for (uint i = 0; i < tokenIds.length; i++) { contractModal(nftAddress).transferFrom(address(this), msg.sender, tokenIds[i]); } } function raasWithdrawETH() external onlyOwner{ (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); require(success, "withdraw ETH failed."); emit transferETHLog(address(this), msg.sender, address(this).balance); } receive() external payable { } fallback() external payable { } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 10 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"address","name":"targetContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"buyPrice","type":"uint256"}],"name":"buyOwnershipLog","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"address","name":"targetContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"durationDays","type":"uint256"}],"name":"depositedOwnershipLog","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"address","name":"targetContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"destoryTime","type":"uint256"}],"name":"destroyOwnershipLog","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"address","name":"targetContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"retrieveTime","type":"uint256"}],"name":"retrieveOwnershipLog","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferETHLog","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"AdminMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GiveawaysMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_targetContract","type":"address"}],"name":"buyOwnership","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"currentMinBuyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPlatformFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_receiveETHAddress","type":"address"},{"internalType":"address","name":"_targetContract","type":"address"},{"internalType":"uint256","name":"_minBuyPrice","type":"uint256"},{"internalType":"uint256","name":"_maxBuyPrice","type":"uint256"},{"internalType":"uint256","name":"_durationDays","type":"uint256"},{"internalType":"uint256","name":"_expireOperation","type":"uint256"}],"name":"depositedOwnershipWithDutchAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiveETHAddress","type":"address"},{"internalType":"address","name":"_targetContract","type":"address"},{"internalType":"uint256","name":"_fixBuyPrice","type":"uint256"},{"internalType":"uint256","name":"_durationDays","type":"uint256"},{"internalType":"uint256","name":"_expireOperation","type":"uint256"}],"name":"depositedOwnershipWithFixPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_targetContract","type":"address"}],"name":"existsValidOwnershipTrade","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_targetContract","type":"address"}],"name":"getCurrentOwnershipPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_targetContract","type":"address"}],"name":"getDepositedOwnershipDetails","outputs":[{"components":[{"internalType":"address","name":"callerAddress","type":"address"},{"internalType":"address","name":"receiveETHAddress","type":"address"},{"internalType":"address","name":"targetContract","type":"address"},{"internalType":"uint256","name":"minBuyPrice","type":"uint256"},{"internalType":"uint256","name":"maxBuyPrice","type":"uint256"},{"internalType":"uint256","name":"platformFee","type":"uint256"},{"internalType":"uint256","name":"durationDays","type":"uint256"},{"internalType":"uint256","name":"depositedTime","type":"uint256"},{"internalType":"enum RAAS.ExpireOperations","name":"expireOperation","type":"uint8"}],"internalType":"struct RAAS.DepositedOwnershipStruct","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_targetContract","type":"address"}],"name":"getSoldRecordDetails","outputs":[{"components":[{"internalType":"address","name":"sellerAddress","type":"address"},{"internalType":"address","name":"receiveETHAddress","type":"address"},{"internalType":"address","name":"buyerAddress","type":"address"},{"internalType":"address","name":"targetContract","type":"address"},{"internalType":"uint256","name":"finalBuyPrice","type":"uint256"},{"internalType":"uint256","name":"platformFee","type":"uint256"},{"internalType":"uint256","name":"depositedTime","type":"uint256"},{"internalType":"uint256","name":"durationDays","type":"uint256"},{"internalType":"uint256","name":"soledTime","type":"uint256"},{"internalType":"enum RAAS.ExpireOperations","name":"expireOperation","type":"uint8"}],"internalType":"struct RAAS.SoldRecordStruct","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_targetContract","type":"address"}],"name":"getTradeTimeLeft","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":"_targetContract","type":"address"}],"name":"isOwnershipTradeTimeout","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_targetContract","type":"address"}],"name":"ownershipInRaas","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"raasAdminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"raasGiveawaysAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minBuyPrice","type":"uint256"}],"name":"raasSetMinBuyPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_platformFee","type":"uint256"}],"name":"raasSetPlatformFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"raasWithdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"raasWithdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"raasWithdrawNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"revelRAASNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_targetContract","type":"address"}],"name":"sellerRetrieveOwnership","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDepositsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSoldCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"walletMaxMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600160095567016345785d8a0000600a556001600b556000600e556000601055600060125560006013553480156200003b57600080fd5b50604080518082018252601781527f52657363756550726f6a656374417341536572766963650000000000000000006020808301918252835180850190945260048452635241415360e01b9084015281519192916200009d9160029162000102565b508051620000b390600390602084019062000102565b50600080555050600880546001600160a01b031916331790556040805160808101909152605180825262003e2660208301398051620000fb9160119160209091019062000102565b50620001e5565b8280546200011090620001a8565b90600052602060002090601f0160209004810192826200013457600085556200017f565b82601f106200014f57805160ff19168380011785556200017f565b828001600101855582156200017f579182015b828111156200017f57825182559160200191906001019062000162565b506200018d92915062000191565b5090565b5b808211156200018d576000815560010162000192565b600181811c90821680620001bd57607f821691505b60208210811415620001df57634e487b7160e01b600052602260045260246000fd5b50919050565b613c3180620001f56000396000f3fe6080604052600436106101f85760003560e01c806301ffc9a714610201578063039d71fc1461023657806306fdde0314610259578063081812fc1461027b578063095ea7b3146102a85780630cbb388f146102c857806310167a8c146102e857806317d26821146102fe57806318160ddd1461031e578063206b5efd1461033757806323b872dd146103645780632611b8b9146103845780632d0944b3146103a457806332cb6b0c146103c4578063348deb1c146103da57806340b3161f146103f057806342842e0e146104105780634b408f861461043057806350edc6721461045057806353f581dc1461047057806358479908146104905780636352211e146104bd57806370a08231146104dd5780638da5cb5b146104fd57806395d89b411461051d578063a22cb46514610532578063ac5e983914610552578063b88d4fde14610572578063bb06012314610592578063bfc15845146105b2578063c847119d146105d2578063c87b56dd146105e8578063d20595b214610608578063d547cfb714610628578063e1ec51871461063d578063e72ef1201461065d578063e985e9c514610670578063efb6d42c146106b9578063f2fde38b146106d9578063f43e90b2146106f9578063f56255181461070e578063f6f608cd1461072e578063f73052e814610744578063fac0d4911461075a57005b366101ff57005b005b34801561020d57600080fd5b5061022161021c36600461330f565b610770565b60405190151581526020015b60405180910390f35b34801561024257600080fd5b5061024b600381565b60405190815260200161022d565b34801561026557600080fd5b5061026e6107c2565b60405161022d9190613384565b34801561028757600080fd5b5061029b610296366004613397565b610854565b60405161022d91906133bd565b3480156102b457600080fd5b506101ff6102c33660046133e6565b610898565b3480156102d457600080fd5b506101ff6102e3366004613412565b610926565b3480156102f457600080fd5b5061024b60135481565b34801561030a57600080fd5b506101ff610319366004613397565b61093b565b34801561032a57600080fd5b506001546000540361024b565b34801561034357600080fd5b50610357610352366004613463565b6109db565b60405161022d91906134b8565b34801561037057600080fd5b506101ff61037f36600461353a565b610a99565b34801561039057600080fd5b5061022161039f366004613463565b610aa4565b3480156103b057600080fd5b506102216103bf366004613463565b610b43565b3480156103d057600080fd5b5061024b61271081565b3480156103e657600080fd5b5061024b60125481565b3480156103fc57600080fd5b506101ff61040b366004613463565b610c2a565b34801561041c57600080fd5b506101ff61042b36600461353a565b610d56565b34801561043c57600080fd5b506101ff61044b3660046135c6565b610d71565b34801561045c57600080fd5b506101ff61046b366004613397565b610e51565b34801561047c57600080fd5b5061024b61048b366004613463565b610f53565b34801561049c57600080fd5b506104b06104ab366004613463565b611063565b60405161022d919061361a565b3480156104c957600080fd5b5061029b6104d8366004613397565b611162565b3480156104e957600080fd5b5061024b6104f8366004613463565b611174565b34801561050957600080fd5b5060085461029b906001600160a01b031681565b34801561052957600080fd5b5061026e6111c2565b34801561053e57600080fd5b506101ff61054d3660046136bc565b6111d1565b34801561055e57600080fd5b506101ff61056d3660046136f5565b611267565b34801561057e57600080fd5b506101ff61058d366004613764565b61127d565b34801561059e57600080fd5b5061024b6105ad366004613463565b6112cd565b3480156105be57600080fd5b506101ff6105cd366004613397565b61142a565b3480156105de57600080fd5b5061024b600e5481565b3480156105f457600080fd5b5061026e610603366004613397565b6114b5565b34801561061457600080fd5b50610221610623366004613463565b611539565b34801561063457600080fd5b5061026e6115ea565b34801561064957600080fd5b50610221610658366004613463565b611678565b61022161066b366004613463565b611a67565b34801561067c57600080fd5b5061022161068b366004613843565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106c557600080fd5b506101ff6106d4366004613871565b612165565b3480156106e557600080fd5b506101ff6106f4366004613463565b6122b1565b34801561070557600080fd5b506101ff612310565b34801561071a57600080fd5b506101ff6107293660046138b2565b6123f1565b34801561073a57600080fd5b5061024b600a5481565b34801561075057600080fd5b5061024b60105481565b34801561076657600080fd5b5061024b600b5481565b60006001600160e01b031982166380ac58cd60e01b14806107a157506001600160e01b03198216635b5e139f60e01b145b806107bc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107d190613923565b80601f01602080910402602001604051908101604052809291908181526020018280546107fd90613923565b801561084a5780601f1061081f5761010080835404028352916020019161084a565b820191906000526020600020905b81548152906001019060200180831161082d57829003601f168201915b5050505050905090565b600061085f82612427565b61087c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108a382611162565b9050806001600160a01b0316836001600160a01b031614156108d85760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906108f857506108f6813361068b565b155b15610916576040516367d9dca160e11b815260040160405180910390fd5b610921838383612452565b505050565b6109348585858686866124ae565b5050505050565b6008546001600160a01b0316331461096e5760405162461bcd60e51b815260040161096590613958565b60405180910390fd5b67016345785d8a0000811015801561098e5750670de0b6b3a76400008111155b6109d65760405162461bcd60e51b81526020600482015260196024820152786d696e4275795072696365206e6f7420696e2073636f70652160381b6044820152606401610965565b600a55565b6109e36131e6565b6001600160a01b038083166000908152600d60209081526040918290208251610120810184528154851681526001820154851692810192909252600280820154909416928201929092526003820154606082015260048201546080820152600582015460a0820152600682015460c0820152600782015460e08201526008820154909261010084019160ff1690811115610a7f57610a7f613480565b6002811115610a9057610a90613480565b90525092915050565b610921838383612a36565b600080826001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ae057600080fd5b505afa158015610af4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b189190613999565b90506001600160a01b038116301415610b345750600192915050565b50600092915050565b50919050565b6000610b4e82610aa4565b15610c22576001600160a01b038083166000908152600d60209081526040918290208251610120810184528154851681526001820154851692810192909252600280820154909416928201929092526003820154606082015260048201546080820152600582015460a0820152600682015460c0820152600782015460e08201526008820154610c0d9391929161010084019160ff1690811115610bf457610bf4613480565b6002811115610c0557610c05613480565b905250612c0e565b15610c1a57506000919050565b506001919050565b506000919050565b6008546001600160a01b03163314610c545760405162461bcd60e51b815260040161096590613958565b6040516370a0823160e01b81526000906001600160a01b038316906370a0823190610c839030906004016133bd565b60206040518083038186803b158015610c9b57600080fd5b505afa158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd391906139b6565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610d1e57600080fd5b505af1158015610d32573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092191906139cf565b6109218383836040518060200160405280600081525061127d565b6008546001600160a01b03163314610d9b5760405162461bcd60e51b815260040161096590613958565b60005b81811015610e4b57836001600160a01b03166323b872dd3033868686818110610dc957610dc96139ec565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b158015610e2057600080fd5b505af1158015610e34573d6000803e3d6000fd5b505050508080610e4390613a18565b915050610d9e565b50505050565b6008546001600160a01b03163314610e7b5760405162461bcd60e51b815260040161096590613958565b6000610e8a6001546000540390565b9050612710610e998383613a33565b1115610eb75760405162461bcd60e51b815260040161096590613a4b565b60c882601254610ec79190613a33565b1115610f2d5760405162461bcd60e51b815260206004820152602f60248201527f41646d696e2043616e2774206d696e74206d6f7265207468616e204d6178204160448201526e646d696e205265736572766564202160881b6064820152608401610965565b8160126000828254610f3f9190613a33565b90915550610f4f90503383612c40565b5050565b6000610f5e82610b43565b15610c22576001600160a01b038083166000908152600d602090815260408083208151610120810183528154861681526001820154861693810193909352600280820154909516918301919091526003810154606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e0830152600881015492939192909161010084019160ff169081111561100257611002613480565b600281111561101357611013613480565b905250905061102181612c0e565b1561102f5750600092915050565b42620151808260c001516110439190613a8c565b8260e001516110529190613a33565b61105c9190613aab565b9392505050565b6110b86040805161014081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081018290529061012082015290565b6001600160a01b038083166000908152600f602090815260409182902082516101408101845281548516815260018201548516928101929092526002808201548516938301939093526003810154909316606082015260048301546080820152600583015460a0820152600683015460c0820152600783015460e08201526008830154610100820152600983015490929161012084019160ff1690811115610a7f57610a7f613480565b600061116d82612c5a565b5192915050565b60006001600160a01b03821661119d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6060600380546107d190613923565b6001600160a01b0382163314156111fb5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112758686868686866124ae565b505050505050565b611288848484612a36565b61129a836001600160a01b0316612d74565b80156112af57506112ad84848484612d83565b155b15610e4b576040516368d2bf6b60e11b815260040160405180910390fd5b60006112d882610b43565b15611421576001600160a01b038083166000908152600d602090815260408083208151610120810183528154861681526001820154861693810193909352600280820154909516918301919091526003810154606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e0830152600881015492939192909161010084019160ff169081111561137c5761137c613480565b600281111561138d5761138d613480565b905250905061139b81612c0e565b61141f578060800151816060015114156113b9576060015192915050565b6000620151808260c001516113ce9190613a8c565b826060015183608001516113e29190613aab565b60e08401516113f19042613aab565b6113fb9190613a8c565b6114059190613ad8565b90508082608001516114179190613aab565b949350505050565b505b50600019919050565b6008546001600160a01b031633146114545760405162461bcd60e51b815260040161096590613958565b600181101580156114665750600a8111155b6114b05760405162461bcd60e51b815260206004820152601b60248201527a706c6174666f726d20666565206e6f7420696e2073636f7065202160281b6044820152606401610965565b600b55565b60606114c082612427565b6114dd57604051630a14c4b560e41b815260040160405180910390fd5b60006114e7612e7a565b9050805160001415611508576040518060200160405280600081525061105c565b8061151284612e89565b604051602001611523929190613aec565b6040516020818303038152906040529392505050565b600061154482610b43565b15610c1a576001600160a01b038083166000908152600d60209081526040918290208251610120810184528154851681526001820154851692810192909252600280820154909416928201929092526003820154606082015260048201546080820152600582015460a0820152600682015460c0820152600782015460e082015260088201546107bc9391929161010084019160ff1690811115610bf457610bf4613480565b601180546115f790613923565b80601f016020809104026020016040519081016040528092919081815260200182805461162390613923565b80156116705780601f1061164557610100808354040283529160200191611670565b820191906000526020600020905b81548152906001019060200180831161165357829003601f168201915b505050505081565b60006002600954141561169d5760405162461bcd60e51b815260040161096590613b1b565b60026009556116ab82610aa4565b156119fa576001600160a01b038083166000908152600d602090815260408083208151610120810183528154861681526001820154861693810193909352600280820154909516918301919091526003810154606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e0830152600881015492939192909161010084019160ff169081111561174f5761174f613480565b600281111561176057611760613480565b90525080519091506001600160a01b031633146117cb5760405162461bcd60e51b8152602060048201526024808201527f63616c6c6572206973206e6f74206f726967696e616c2073656c6c65722075736044820152636572202160e01b6064820152608401610965565b6117d481612c0e565b156119b557600081610100015160028111156117f2576117f2613480565b14156118a05760405163f2fde38b60e01b81526001600160a01b0384169063f2fde38b906118249033906004016133bd565b600060405180830381600087803b15801561183e57600080fd5b505af1158015611852573d6000803e3d6000fd5b50506040514281526001600160a01b03861692503391507fc326e278da366e844a1d902a8469b40ad473d2d4785d22336f4a4ed05bb48ad49060200160405180910390a36001915050611a5d565b600181610100015160028111156118b9576118b9613480565b14156119ab5760405163f2fde38b60e01b81526001600160a01b0384169063f2fde38b906118ed9061dead906004016133bd565b600060405180830381600087803b15801561190757600080fd5b505af115801561191b573d6000803e3d6000fd5b50506040514281526001600160a01b03861692503391507fefe6049457de2ef268bcdb231a51edddb9f7fa07e04d98322371364c13cfb4eb9060200160405180910390a36001600160a01b0383166000908152600c602052604090205460ff166119ab576001600160a01b0383166000908152600c60205260409020805460ff191660011790556119ab33612f86565b6000915050611a5d565b60405162461bcd60e51b815260206004820152601a6024820152797472616465206973206e6f742074696d656f757420796574202160301b6044820152606401610965565b60405162461bcd60e51b815260206004820152603260248201527f74617267657420636f6e7472616374204f776e657273686970206e6f7420636f6044820152716e74726f6c6c65642062792052414153202160701b6064820152608401610965565b6001600955919050565b600060026009541415611a8c5760405162461bcd60e51b815260040161096590613b1b565b6002600955611a9a33613004565b15611ae55760405162461bcd60e51b815260206004820152601b60248201527a63616c6c65722063616e6e6f7420626520636f6e7472616374202160281b6044820152606401610965565b611aee82610b43565b1561211d576000611afe836112cd565b905080341015611b505760405162461bcd60e51b815260206004820152601d60248201527f62757965722073656e6420455448206973206e6f7420656e6f7567682e0000006044820152606401610965565b60405163f2fde38b60e01b81526001600160a01b0384169063f2fde38b90611b7c9033906004016133bd565b600060405180830381600087803b158015611b9657600080fd5b505af1158015611baa573d6000803e3d6000fd5b505050506000836001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611be957600080fd5b505afa158015611bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c219190613999565b90506001600160a01b0381163314611c875760405162461bcd60e51b815260206004820152602360248201527f7472616e73666572204f776e65727368697020746f206275796572206661696c60448201526232b21760e91b6064820152608401610965565b6001600160a01b038085166000908152600d602090815260408083208151610120810183528154861681526001820154861693810193909352600280820154909516918301919091526003810154606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e0830152600881015492939192909161010084019160ff1690811115611d2657611d26613480565b6002811115611d3757611d37613480565b815250509050600060648260a001516064611d529190613aab565b611d5c9086613a8c565b611d669190613ad8565b9050600082602001516001600160a01b03168260405160006040518083038185875af1925050503d8060008114611db9576040519150601f19603f3d011682016040523d82523d6000602084013e611dbe565b606091505b5050905080611e0f5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722045544820746f2073656c6c6572206661696c65642e00006044820152606401610965565b82602001516001600160a01b0316306001600160a01b0316600080516020613bdc83398151915284604051611e4691815260200190565b60405180910390a36000611e5a8634613aab565b90508015611f2d57604051600090339083908381818185875af1925050503d8060008114611ea4576040519150601f19603f3d011682016040523d82523d6000602084013e611ea9565b606091505b5050905080611f065760405162461bcd60e51b815260206004820152602360248201527f7472616e736665722065787472612045544820746f206275796572206661696c60448201526232b21760e91b6064820152608401610965565b60405182815233903090600080516020613bdc8339815191529060200160405180910390a3505b600060405180610140016040528086600001516001600160a01b0316815260200186602001516001600160a01b03168152602001336001600160a01b031681526020018a6001600160a01b031681526020018881526020018660a0015181526020018660e0015181526020018660c0015181526020014281526020018661010001516002811115611fc057611fc0613480565b90526001600160a01b03808b166000908152600f6020908152604091829020845181549085166001600160a01b03199182161782559185015160018083018054928716928516929092179091559285015160028083018054928716928516929092179091556060860151600383018054919096169316929092179093556080840151600484015560a0840151600584015560c0840151600684015560e08401516007840155610100840151600884015561012084015160098401805495965086959193909260ff1990921691849081111561209d5761209d613480565b02179055509050506001601060008282546120b89190613a33565b909155506120c7905033612f86565b84516040518881526001600160a01b03808c169233929116907ff73c18868e34357d0a57d2f9e168ae36aa615b42297900ce935b42c0d533459d9060200160405180910390a46001975050505050505050611a5d565b60405162461bcd60e51b815260206004820181905260248201527f6e6f2076616c6964206f776e657273686970207472616465206578697374732e6044820152606401610965565b6008546001600160a01b0316331461218f5760405162461bcd60e51b815260040161096590613958565b80600061219f6001546000540390565b90506127106121ae8383613a33565b11156121cc5760405162461bcd60e51b815260040161096590613a4b565b61012c826013546121dd9190613a33565b111561224b5760405162461bcd60e51b815260206004820152603760248201527f4769766561776179732043616e2774206d696e74206d6f7265207468616e204d604482015276617820476976656177617973205265736572766564202160481b6064820152608401610965565b816013600082825461225d9190613a33565b90915550600090505b828110156109345761229f858583818110612283576122836139ec565b90506020020160208101906122989190613463565b6001612c40565b806122a981613a18565b915050612266565b6008546001600160a01b031633146122db5760405162461bcd60e51b815260040161096590613958565b6001600160a01b0381166122ee57600080fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461233a5760405162461bcd60e51b815260040161096590613958565b604051600090339047908381818185875af1925050503d806000811461237c576040519150601f19603f3d011682016040523d82523d6000602084013e612381565b606091505b50509050806123c95760405162461bcd60e51b81526020600482015260146024820152733bb4ba34323930bb9022aa24103330b4b632b21760611b6044820152606401610965565b60405147815233903090600080516020613bdc8339815191529060200160405180910390a350565b6008546001600160a01b0316331461241b5760405162461bcd60e51b815260040161096590613958565b6109216011838361325d565b60008054821080156107bc575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600260095414156124d15760405162461bcd60e51b815260040161096590613b1b565b60026009819055506000856001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561251457600080fd5b505afa158015612528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254c9190613999565b90506001600160a01b03811633146125b65760405162461bcd60e51b815260206004820152602760248201527f796f7520617265206e6f74207468652074617267657420636f6e7472616374206044820152666f776e6572202160c81b6064820152608401610965565b6001600160a01b0386166126245760405162461bcd60e51b815260206004820152602f60248201527f74617267657420636f6e747261637420616464726573732063616e6e6f74206260448201526e65203078302061646472657373202160881b6064820152608401610965565b6001600160a01b0387166126925760405162461bcd60e51b815260206004820152602f60248201527f72656365697665207468652045544820616464726573732063616e6e6f74206260448201526e65203078302061646472657373202160881b6064820152608401610965565b848410156126fd5760405162461bcd60e51b815260206004820152603260248201527f6d61784275795072696365206d7573742067726561746572206f7220657175616044820152716c20746f206d696e4275795072696365202160701b6064820152608401610965565b600a5485101561274d5760405162461bcd60e51b815260206004820152601b60248201527a696e697469616c2062757920707269636520746f6f206c6f77202160281b6044820152606401610965565b61275b620151806001613a8c565b6127686201518085613a8c565b1015801561278f575061277f62015180601e613a8c565b61278c6201518085613a8c565b11155b6127f25760405162461bcd60e51b815260206004820152602e60248201527f6475726174696f6e44617973206d757374206265747765656e2031206461797360448201526d20616e642033302064617973202160901b6064820152608401610965565b60008261280157506000612877565b826001141561281257506001612877565b826002141561282357506002612877565b60405162461bcd60e51b8152602060048201526024808201527f6578706972654f7065726174696f6e206d757374206265747765656e20302c316044820152632c32202160e01b6064820152608401610965565b6001600160a01b038781166000908152600d6020526040902054166128af576001600e60008282546128a99190613a33565b90915550505b6000604051806101200160405280336001600160a01b031681526020018a6001600160a01b03168152602001896001600160a01b03168152602001888152602001878152602001600b54815260200186815260200142815260200183600281111561291c5761291c613480565b90526001600160a01b03808a166000908152600d6020908152604091829020845181549085166001600160a01b03199182161782559185015160018083018054928716928516929092179091559285015160028083018054929096169190931617909355606084015160038401556080840151600484015560a0840151600584015560c0840151600684015560e0840151600784015561010084015160088401805495965086959193909260ff199092169184908111156129df576129df613480565b0217905550506040518681526001600160a01b038a16915033907f5b6cf44bdf00f43186da1c41958490bd6265cede126d33b49e2bb5b08d5303f79060200160405180910390a35050600160095550505050505050565b6000612a4182612c5a565b9050836001600160a01b031681600001516001600160a01b031614612a785760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480612a965750612a96853361068b565b80612ab1575033612aa684610854565b6001600160a01b0316145b905080612ad157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416612af857604051633a954ecd60e21b815260040160405180910390fd5b612b0460008487612452565b6001600160a01b03858116600090815260056020908152604080832080546001600160401b03198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116612bd7576000548214612bd757805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b0316600080516020613bbc83398151915260405160405180910390a4610934565b600042620151808360c00151612c249190613a8c565b8360e00151612c339190613a33565b10610c1a57506000919050565b610f4f82826040518060200160405280600081525061303d565b604080516060810182526000808252602082018190529181019190915281600054811015612d5b57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290612d595780516001600160a01b031615612cf0579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612d54579392505050565b612cf0565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612db8903390899088908890600401613b4d565b602060405180830381600087803b158015612dd257600080fd5b505af1925050508015612e02575060408051601f3d908101601f19168201909252612dff91810190613b8a565b60015b612e5d573d808015612e30576040519150601f19603f3d011682016040523d82523d6000602084013e612e35565b606091505b508051612e55576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060601180546107d190613923565b606081612ead5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612ed75780612ec181613a18565b9150612ed09050600a83613ad8565b9150612eb1565b6000816001600160401b03811115612ef157612ef161374e565b6040519080825280601f01601f191660200182016040528015612f1b576020820181803683370190505b5090505b841561141757612f30600183613aab565b9150612f3d600a86613ba7565b612f48906030613a33565b60f81b818381518110612f5d57612f5d6139ec565b60200101906001600160f81b031916908160001a905350612f7f600a86613ad8565b9450612f1f565b6000612f956001546000540390565b9050612710612fa5826001613a33565b11610f4f576001600160a01b0382166000908152601460205260409020546003612fd0826001613a33565b1161092157612fe0816001613a33565b6001600160a01b038416600090815260146020526040902055610921836001612c40565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611417575050151592915050565b61092183838360016000546001600160a01b03851661306e57604051622e076360e81b815260040160405180910390fd5b8361308c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217600160401b6001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156131325750613132876001600160a01b0316612d74565b156131a9575b60405182906001600160a01b03891690600090600080516020613bbc833981519152908290a46131716000888480600101955088612d83565b61318e576040516368d2bf6b60e11b815260040160405180910390fd5b808214156131385782600054146131a457600080fd5b6131dd565b5b6040516001830192906001600160a01b03891690600090600080516020613bbc833981519152908290a4808214156131aa575b50600055610934565b60405180610120016040528060006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081526020016000600281111561325857613258613480565b905290565b82805461326990613923565b90600052602060002090601f01602090048101928261328b57600085556132d1565b82601f106132a45782800160ff198235161785556132d1565b828001600101855582156132d1579182015b828111156132d15782358255916020019190600101906132b6565b506132dd9291506132e1565b5090565b5b808211156132dd57600081556001016132e2565b6001600160e01b03198116811461330c57600080fd5b50565b60006020828403121561332157600080fd5b813561105c816132f6565b60005b8381101561334757818101518382015260200161332f565b83811115610e4b5750506000910152565b6000815180845261337081602086016020860161332c565b601f01601f19169290920160200192915050565b60208152600061105c6020830184613358565b6000602082840312156133a957600080fd5b5035919050565b6001600160a01b03169052565b6001600160a01b0391909116815260200190565b6001600160a01b038116811461330c57600080fd5b600080604083850312156133f957600080fd5b8235613404816133d1565b946020939093013593505050565b600080600080600060a0868803121561342a57600080fd5b8535613435816133d1565b94506020860135613445816133d1565b94979496505050506040830135926060810135926080909101359150565b60006020828403121561347557600080fd5b813561105c816133d1565b634e487b7160e01b600052602160045260246000fd5b600381106134b457634e487b7160e01b600052602160045260246000fd5b9052565b81516001600160a01b039081168252602080840151909116908201526040808301516101208301916134ec908401826133b0565b50606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e08301526101008084015161353282850182613496565b505092915050565b60008060006060848603121561354f57600080fd5b833561355a816133d1565b9250602084013561356a816133d1565b929592945050506040919091013590565b60008083601f84011261358d57600080fd5b5081356001600160401b038111156135a457600080fd5b6020830191508360208260051b85010111156135bf57600080fd5b9250929050565b6000806000604084860312156135db57600080fd5b83356135e6816133d1565b925060208401356001600160401b0381111561360157600080fd5b61360d8682870161357b565b9497909650939450505050565b60006101408201905061362e8284516133b0565b602083015161364060208401826133b0565b50604083015161365360408401826133b0565b50606083015161366660608401826133b0565b506080830151608083015260a083015160a083015260c083015160c083015260e083015160e08301526101008084015181840152506101208084015161353282850182613496565b801515811461330c57600080fd5b600080604083850312156136cf57600080fd5b82356136da816133d1565b915060208301356136ea816136ae565b809150509250929050565b60008060008060008060c0878903121561370e57600080fd5b8635613719816133d1565b95506020870135613729816133d1565b95989597505050506040840135936060810135936080820135935060a0909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561377a57600080fd5b8435613785816133d1565b93506020850135613795816133d1565b92506040850135915060608501356001600160401b03808211156137b857600080fd5b818701915087601f8301126137cc57600080fd5b8135818111156137de576137de61374e565b604051601f8201601f19908116603f011681019083821181831017156138065761380661374e565b816040528281528a602084870101111561381f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561385657600080fd5b8235613861816133d1565b915060208301356136ea816133d1565b6000806020838503121561388457600080fd5b82356001600160401b0381111561389a57600080fd5b6138a68582860161357b565b90969095509350505050565b600080602083850312156138c557600080fd5b82356001600160401b03808211156138dc57600080fd5b818501915085601f8301126138f057600080fd5b8135818111156138ff57600080fd5b86602082850101111561391157600080fd5b60209290920196919550909350505050565b600181811c9082168061393757607f821691505b60208210811415610b3d57634e487b7160e01b600052602260045260246000fd5b60208082526021908201527f4f776e61626c653a2063616c6c6572206973206e6f742072616173206f776e656040820152603960f91b606082015260800190565b6000602082840312156139ab57600080fd5b815161105c816133d1565b6000602082840312156139c857600080fd5b5051919050565b6000602082840312156139e157600080fd5b815161105c816136ae565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415613a2c57613a2c613a02565b5060010190565b60008219821115613a4657613a46613a02565b500190565b60208082526021908201527f43616e2774206d696e74206d6f7265207468616e206d617820737570706c79206040820152602160f81b606082015260800190565b6000816000190483118215151615613aa657613aa6613a02565b500290565b600082821015613abd57613abd613a02565b500390565b634e487b7160e01b600052601260045260246000fd5b600082613ae757613ae7613ac2565b500490565b60008351613afe81846020880161332c565b835190830190613b1281836020880161332c565b01949350505050565b602080825260189082015277199bdc989a5919195b881c99595b9d1c985b9d0818d85b1b60421b604082015260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b8090830184613358565b9695505050505050565b600060208284031215613b9c57600080fd5b815161105c816132f6565b600082613bb657613bb6613ac2565b50069056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef1dd4314b1f50b150714ce8a340339c4e7d341da5aff2d0301387c8e25e07113ba2646970667358221220780feca233ffd42ed966230e44e62443eee458d2110503966e70f169ca1a41b364736f6c6343000809003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d64746642686b355748636b336753375857313135565468344a7652514d57677435503652596e764a414d59322f
Deployed Bytecode
0x6080604052600436106101f85760003560e01c806301ffc9a714610201578063039d71fc1461023657806306fdde0314610259578063081812fc1461027b578063095ea7b3146102a85780630cbb388f146102c857806310167a8c146102e857806317d26821146102fe57806318160ddd1461031e578063206b5efd1461033757806323b872dd146103645780632611b8b9146103845780632d0944b3146103a457806332cb6b0c146103c4578063348deb1c146103da57806340b3161f146103f057806342842e0e146104105780634b408f861461043057806350edc6721461045057806353f581dc1461047057806358479908146104905780636352211e146104bd57806370a08231146104dd5780638da5cb5b146104fd57806395d89b411461051d578063a22cb46514610532578063ac5e983914610552578063b88d4fde14610572578063bb06012314610592578063bfc15845146105b2578063c847119d146105d2578063c87b56dd146105e8578063d20595b214610608578063d547cfb714610628578063e1ec51871461063d578063e72ef1201461065d578063e985e9c514610670578063efb6d42c146106b9578063f2fde38b146106d9578063f43e90b2146106f9578063f56255181461070e578063f6f608cd1461072e578063f73052e814610744578063fac0d4911461075a57005b366101ff57005b005b34801561020d57600080fd5b5061022161021c36600461330f565b610770565b60405190151581526020015b60405180910390f35b34801561024257600080fd5b5061024b600381565b60405190815260200161022d565b34801561026557600080fd5b5061026e6107c2565b60405161022d9190613384565b34801561028757600080fd5b5061029b610296366004613397565b610854565b60405161022d91906133bd565b3480156102b457600080fd5b506101ff6102c33660046133e6565b610898565b3480156102d457600080fd5b506101ff6102e3366004613412565b610926565b3480156102f457600080fd5b5061024b60135481565b34801561030a57600080fd5b506101ff610319366004613397565b61093b565b34801561032a57600080fd5b506001546000540361024b565b34801561034357600080fd5b50610357610352366004613463565b6109db565b60405161022d91906134b8565b34801561037057600080fd5b506101ff61037f36600461353a565b610a99565b34801561039057600080fd5b5061022161039f366004613463565b610aa4565b3480156103b057600080fd5b506102216103bf366004613463565b610b43565b3480156103d057600080fd5b5061024b61271081565b3480156103e657600080fd5b5061024b60125481565b3480156103fc57600080fd5b506101ff61040b366004613463565b610c2a565b34801561041c57600080fd5b506101ff61042b36600461353a565b610d56565b34801561043c57600080fd5b506101ff61044b3660046135c6565b610d71565b34801561045c57600080fd5b506101ff61046b366004613397565b610e51565b34801561047c57600080fd5b5061024b61048b366004613463565b610f53565b34801561049c57600080fd5b506104b06104ab366004613463565b611063565b60405161022d919061361a565b3480156104c957600080fd5b5061029b6104d8366004613397565b611162565b3480156104e957600080fd5b5061024b6104f8366004613463565b611174565b34801561050957600080fd5b5060085461029b906001600160a01b031681565b34801561052957600080fd5b5061026e6111c2565b34801561053e57600080fd5b506101ff61054d3660046136bc565b6111d1565b34801561055e57600080fd5b506101ff61056d3660046136f5565b611267565b34801561057e57600080fd5b506101ff61058d366004613764565b61127d565b34801561059e57600080fd5b5061024b6105ad366004613463565b6112cd565b3480156105be57600080fd5b506101ff6105cd366004613397565b61142a565b3480156105de57600080fd5b5061024b600e5481565b3480156105f457600080fd5b5061026e610603366004613397565b6114b5565b34801561061457600080fd5b50610221610623366004613463565b611539565b34801561063457600080fd5b5061026e6115ea565b34801561064957600080fd5b50610221610658366004613463565b611678565b61022161066b366004613463565b611a67565b34801561067c57600080fd5b5061022161068b366004613843565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106c557600080fd5b506101ff6106d4366004613871565b612165565b3480156106e557600080fd5b506101ff6106f4366004613463565b6122b1565b34801561070557600080fd5b506101ff612310565b34801561071a57600080fd5b506101ff6107293660046138b2565b6123f1565b34801561073a57600080fd5b5061024b600a5481565b34801561075057600080fd5b5061024b60105481565b34801561076657600080fd5b5061024b600b5481565b60006001600160e01b031982166380ac58cd60e01b14806107a157506001600160e01b03198216635b5e139f60e01b145b806107bc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107d190613923565b80601f01602080910402602001604051908101604052809291908181526020018280546107fd90613923565b801561084a5780601f1061081f5761010080835404028352916020019161084a565b820191906000526020600020905b81548152906001019060200180831161082d57829003601f168201915b5050505050905090565b600061085f82612427565b61087c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108a382611162565b9050806001600160a01b0316836001600160a01b031614156108d85760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906108f857506108f6813361068b565b155b15610916576040516367d9dca160e11b815260040160405180910390fd5b610921838383612452565b505050565b6109348585858686866124ae565b5050505050565b6008546001600160a01b0316331461096e5760405162461bcd60e51b815260040161096590613958565b60405180910390fd5b67016345785d8a0000811015801561098e5750670de0b6b3a76400008111155b6109d65760405162461bcd60e51b81526020600482015260196024820152786d696e4275795072696365206e6f7420696e2073636f70652160381b6044820152606401610965565b600a55565b6109e36131e6565b6001600160a01b038083166000908152600d60209081526040918290208251610120810184528154851681526001820154851692810192909252600280820154909416928201929092526003820154606082015260048201546080820152600582015460a0820152600682015460c0820152600782015460e08201526008820154909261010084019160ff1690811115610a7f57610a7f613480565b6002811115610a9057610a90613480565b90525092915050565b610921838383612a36565b600080826001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ae057600080fd5b505afa158015610af4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b189190613999565b90506001600160a01b038116301415610b345750600192915050565b50600092915050565b50919050565b6000610b4e82610aa4565b15610c22576001600160a01b038083166000908152600d60209081526040918290208251610120810184528154851681526001820154851692810192909252600280820154909416928201929092526003820154606082015260048201546080820152600582015460a0820152600682015460c0820152600782015460e08201526008820154610c0d9391929161010084019160ff1690811115610bf457610bf4613480565b6002811115610c0557610c05613480565b905250612c0e565b15610c1a57506000919050565b506001919050565b506000919050565b6008546001600160a01b03163314610c545760405162461bcd60e51b815260040161096590613958565b6040516370a0823160e01b81526000906001600160a01b038316906370a0823190610c839030906004016133bd565b60206040518083038186803b158015610c9b57600080fd5b505afa158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd391906139b6565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610d1e57600080fd5b505af1158015610d32573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092191906139cf565b6109218383836040518060200160405280600081525061127d565b6008546001600160a01b03163314610d9b5760405162461bcd60e51b815260040161096590613958565b60005b81811015610e4b57836001600160a01b03166323b872dd3033868686818110610dc957610dc96139ec565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b158015610e2057600080fd5b505af1158015610e34573d6000803e3d6000fd5b505050508080610e4390613a18565b915050610d9e565b50505050565b6008546001600160a01b03163314610e7b5760405162461bcd60e51b815260040161096590613958565b6000610e8a6001546000540390565b9050612710610e998383613a33565b1115610eb75760405162461bcd60e51b815260040161096590613a4b565b60c882601254610ec79190613a33565b1115610f2d5760405162461bcd60e51b815260206004820152602f60248201527f41646d696e2043616e2774206d696e74206d6f7265207468616e204d6178204160448201526e646d696e205265736572766564202160881b6064820152608401610965565b8160126000828254610f3f9190613a33565b90915550610f4f90503383612c40565b5050565b6000610f5e82610b43565b15610c22576001600160a01b038083166000908152600d602090815260408083208151610120810183528154861681526001820154861693810193909352600280820154909516918301919091526003810154606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e0830152600881015492939192909161010084019160ff169081111561100257611002613480565b600281111561101357611013613480565b905250905061102181612c0e565b1561102f5750600092915050565b42620151808260c001516110439190613a8c565b8260e001516110529190613a33565b61105c9190613aab565b9392505050565b6110b86040805161014081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081018290529061012082015290565b6001600160a01b038083166000908152600f602090815260409182902082516101408101845281548516815260018201548516928101929092526002808201548516938301939093526003810154909316606082015260048301546080820152600583015460a0820152600683015460c0820152600783015460e08201526008830154610100820152600983015490929161012084019160ff1690811115610a7f57610a7f613480565b600061116d82612c5a565b5192915050565b60006001600160a01b03821661119d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6060600380546107d190613923565b6001600160a01b0382163314156111fb5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112758686868686866124ae565b505050505050565b611288848484612a36565b61129a836001600160a01b0316612d74565b80156112af57506112ad84848484612d83565b155b15610e4b576040516368d2bf6b60e11b815260040160405180910390fd5b60006112d882610b43565b15611421576001600160a01b038083166000908152600d602090815260408083208151610120810183528154861681526001820154861693810193909352600280820154909516918301919091526003810154606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e0830152600881015492939192909161010084019160ff169081111561137c5761137c613480565b600281111561138d5761138d613480565b905250905061139b81612c0e565b61141f578060800151816060015114156113b9576060015192915050565b6000620151808260c001516113ce9190613a8c565b826060015183608001516113e29190613aab565b60e08401516113f19042613aab565b6113fb9190613a8c565b6114059190613ad8565b90508082608001516114179190613aab565b949350505050565b505b50600019919050565b6008546001600160a01b031633146114545760405162461bcd60e51b815260040161096590613958565b600181101580156114665750600a8111155b6114b05760405162461bcd60e51b815260206004820152601b60248201527a706c6174666f726d20666565206e6f7420696e2073636f7065202160281b6044820152606401610965565b600b55565b60606114c082612427565b6114dd57604051630a14c4b560e41b815260040160405180910390fd5b60006114e7612e7a565b9050805160001415611508576040518060200160405280600081525061105c565b8061151284612e89565b604051602001611523929190613aec565b6040516020818303038152906040529392505050565b600061154482610b43565b15610c1a576001600160a01b038083166000908152600d60209081526040918290208251610120810184528154851681526001820154851692810192909252600280820154909416928201929092526003820154606082015260048201546080820152600582015460a0820152600682015460c0820152600782015460e082015260088201546107bc9391929161010084019160ff1690811115610bf457610bf4613480565b601180546115f790613923565b80601f016020809104026020016040519081016040528092919081815260200182805461162390613923565b80156116705780601f1061164557610100808354040283529160200191611670565b820191906000526020600020905b81548152906001019060200180831161165357829003601f168201915b505050505081565b60006002600954141561169d5760405162461bcd60e51b815260040161096590613b1b565b60026009556116ab82610aa4565b156119fa576001600160a01b038083166000908152600d602090815260408083208151610120810183528154861681526001820154861693810193909352600280820154909516918301919091526003810154606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e0830152600881015492939192909161010084019160ff169081111561174f5761174f613480565b600281111561176057611760613480565b90525080519091506001600160a01b031633146117cb5760405162461bcd60e51b8152602060048201526024808201527f63616c6c6572206973206e6f74206f726967696e616c2073656c6c65722075736044820152636572202160e01b6064820152608401610965565b6117d481612c0e565b156119b557600081610100015160028111156117f2576117f2613480565b14156118a05760405163f2fde38b60e01b81526001600160a01b0384169063f2fde38b906118249033906004016133bd565b600060405180830381600087803b15801561183e57600080fd5b505af1158015611852573d6000803e3d6000fd5b50506040514281526001600160a01b03861692503391507fc326e278da366e844a1d902a8469b40ad473d2d4785d22336f4a4ed05bb48ad49060200160405180910390a36001915050611a5d565b600181610100015160028111156118b9576118b9613480565b14156119ab5760405163f2fde38b60e01b81526001600160a01b0384169063f2fde38b906118ed9061dead906004016133bd565b600060405180830381600087803b15801561190757600080fd5b505af115801561191b573d6000803e3d6000fd5b50506040514281526001600160a01b03861692503391507fefe6049457de2ef268bcdb231a51edddb9f7fa07e04d98322371364c13cfb4eb9060200160405180910390a36001600160a01b0383166000908152600c602052604090205460ff166119ab576001600160a01b0383166000908152600c60205260409020805460ff191660011790556119ab33612f86565b6000915050611a5d565b60405162461bcd60e51b815260206004820152601a6024820152797472616465206973206e6f742074696d656f757420796574202160301b6044820152606401610965565b60405162461bcd60e51b815260206004820152603260248201527f74617267657420636f6e7472616374204f776e657273686970206e6f7420636f6044820152716e74726f6c6c65642062792052414153202160701b6064820152608401610965565b6001600955919050565b600060026009541415611a8c5760405162461bcd60e51b815260040161096590613b1b565b6002600955611a9a33613004565b15611ae55760405162461bcd60e51b815260206004820152601b60248201527a63616c6c65722063616e6e6f7420626520636f6e7472616374202160281b6044820152606401610965565b611aee82610b43565b1561211d576000611afe836112cd565b905080341015611b505760405162461bcd60e51b815260206004820152601d60248201527f62757965722073656e6420455448206973206e6f7420656e6f7567682e0000006044820152606401610965565b60405163f2fde38b60e01b81526001600160a01b0384169063f2fde38b90611b7c9033906004016133bd565b600060405180830381600087803b158015611b9657600080fd5b505af1158015611baa573d6000803e3d6000fd5b505050506000836001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611be957600080fd5b505afa158015611bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c219190613999565b90506001600160a01b0381163314611c875760405162461bcd60e51b815260206004820152602360248201527f7472616e73666572204f776e65727368697020746f206275796572206661696c60448201526232b21760e91b6064820152608401610965565b6001600160a01b038085166000908152600d602090815260408083208151610120810183528154861681526001820154861693810193909352600280820154909516918301919091526003810154606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e0830152600881015492939192909161010084019160ff1690811115611d2657611d26613480565b6002811115611d3757611d37613480565b815250509050600060648260a001516064611d529190613aab565b611d5c9086613a8c565b611d669190613ad8565b9050600082602001516001600160a01b03168260405160006040518083038185875af1925050503d8060008114611db9576040519150601f19603f3d011682016040523d82523d6000602084013e611dbe565b606091505b5050905080611e0f5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722045544820746f2073656c6c6572206661696c65642e00006044820152606401610965565b82602001516001600160a01b0316306001600160a01b0316600080516020613bdc83398151915284604051611e4691815260200190565b60405180910390a36000611e5a8634613aab565b90508015611f2d57604051600090339083908381818185875af1925050503d8060008114611ea4576040519150601f19603f3d011682016040523d82523d6000602084013e611ea9565b606091505b5050905080611f065760405162461bcd60e51b815260206004820152602360248201527f7472616e736665722065787472612045544820746f206275796572206661696c60448201526232b21760e91b6064820152608401610965565b60405182815233903090600080516020613bdc8339815191529060200160405180910390a3505b600060405180610140016040528086600001516001600160a01b0316815260200186602001516001600160a01b03168152602001336001600160a01b031681526020018a6001600160a01b031681526020018881526020018660a0015181526020018660e0015181526020018660c0015181526020014281526020018661010001516002811115611fc057611fc0613480565b90526001600160a01b03808b166000908152600f6020908152604091829020845181549085166001600160a01b03199182161782559185015160018083018054928716928516929092179091559285015160028083018054928716928516929092179091556060860151600383018054919096169316929092179093556080840151600484015560a0840151600584015560c0840151600684015560e08401516007840155610100840151600884015561012084015160098401805495965086959193909260ff1990921691849081111561209d5761209d613480565b02179055509050506001601060008282546120b89190613a33565b909155506120c7905033612f86565b84516040518881526001600160a01b03808c169233929116907ff73c18868e34357d0a57d2f9e168ae36aa615b42297900ce935b42c0d533459d9060200160405180910390a46001975050505050505050611a5d565b60405162461bcd60e51b815260206004820181905260248201527f6e6f2076616c6964206f776e657273686970207472616465206578697374732e6044820152606401610965565b6008546001600160a01b0316331461218f5760405162461bcd60e51b815260040161096590613958565b80600061219f6001546000540390565b90506127106121ae8383613a33565b11156121cc5760405162461bcd60e51b815260040161096590613a4b565b61012c826013546121dd9190613a33565b111561224b5760405162461bcd60e51b815260206004820152603760248201527f4769766561776179732043616e2774206d696e74206d6f7265207468616e204d604482015276617820476976656177617973205265736572766564202160481b6064820152608401610965565b816013600082825461225d9190613a33565b90915550600090505b828110156109345761229f858583818110612283576122836139ec565b90506020020160208101906122989190613463565b6001612c40565b806122a981613a18565b915050612266565b6008546001600160a01b031633146122db5760405162461bcd60e51b815260040161096590613958565b6001600160a01b0381166122ee57600080fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461233a5760405162461bcd60e51b815260040161096590613958565b604051600090339047908381818185875af1925050503d806000811461237c576040519150601f19603f3d011682016040523d82523d6000602084013e612381565b606091505b50509050806123c95760405162461bcd60e51b81526020600482015260146024820152733bb4ba34323930bb9022aa24103330b4b632b21760611b6044820152606401610965565b60405147815233903090600080516020613bdc8339815191529060200160405180910390a350565b6008546001600160a01b0316331461241b5760405162461bcd60e51b815260040161096590613958565b6109216011838361325d565b60008054821080156107bc575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600260095414156124d15760405162461bcd60e51b815260040161096590613b1b565b60026009819055506000856001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561251457600080fd5b505afa158015612528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254c9190613999565b90506001600160a01b03811633146125b65760405162461bcd60e51b815260206004820152602760248201527f796f7520617265206e6f74207468652074617267657420636f6e7472616374206044820152666f776e6572202160c81b6064820152608401610965565b6001600160a01b0386166126245760405162461bcd60e51b815260206004820152602f60248201527f74617267657420636f6e747261637420616464726573732063616e6e6f74206260448201526e65203078302061646472657373202160881b6064820152608401610965565b6001600160a01b0387166126925760405162461bcd60e51b815260206004820152602f60248201527f72656365697665207468652045544820616464726573732063616e6e6f74206260448201526e65203078302061646472657373202160881b6064820152608401610965565b848410156126fd5760405162461bcd60e51b815260206004820152603260248201527f6d61784275795072696365206d7573742067726561746572206f7220657175616044820152716c20746f206d696e4275795072696365202160701b6064820152608401610965565b600a5485101561274d5760405162461bcd60e51b815260206004820152601b60248201527a696e697469616c2062757920707269636520746f6f206c6f77202160281b6044820152606401610965565b61275b620151806001613a8c565b6127686201518085613a8c565b1015801561278f575061277f62015180601e613a8c565b61278c6201518085613a8c565b11155b6127f25760405162461bcd60e51b815260206004820152602e60248201527f6475726174696f6e44617973206d757374206265747765656e2031206461797360448201526d20616e642033302064617973202160901b6064820152608401610965565b60008261280157506000612877565b826001141561281257506001612877565b826002141561282357506002612877565b60405162461bcd60e51b8152602060048201526024808201527f6578706972654f7065726174696f6e206d757374206265747765656e20302c316044820152632c32202160e01b6064820152608401610965565b6001600160a01b038781166000908152600d6020526040902054166128af576001600e60008282546128a99190613a33565b90915550505b6000604051806101200160405280336001600160a01b031681526020018a6001600160a01b03168152602001896001600160a01b03168152602001888152602001878152602001600b54815260200186815260200142815260200183600281111561291c5761291c613480565b90526001600160a01b03808a166000908152600d6020908152604091829020845181549085166001600160a01b03199182161782559185015160018083018054928716928516929092179091559285015160028083018054929096169190931617909355606084015160038401556080840151600484015560a0840151600584015560c0840151600684015560e0840151600784015561010084015160088401805495965086959193909260ff199092169184908111156129df576129df613480565b0217905550506040518681526001600160a01b038a16915033907f5b6cf44bdf00f43186da1c41958490bd6265cede126d33b49e2bb5b08d5303f79060200160405180910390a35050600160095550505050505050565b6000612a4182612c5a565b9050836001600160a01b031681600001516001600160a01b031614612a785760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480612a965750612a96853361068b565b80612ab1575033612aa684610854565b6001600160a01b0316145b905080612ad157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416612af857604051633a954ecd60e21b815260040160405180910390fd5b612b0460008487612452565b6001600160a01b03858116600090815260056020908152604080832080546001600160401b03198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116612bd7576000548214612bd757805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b0316600080516020613bbc83398151915260405160405180910390a4610934565b600042620151808360c00151612c249190613a8c565b8360e00151612c339190613a33565b10610c1a57506000919050565b610f4f82826040518060200160405280600081525061303d565b604080516060810182526000808252602082018190529181019190915281600054811015612d5b57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290612d595780516001600160a01b031615612cf0579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612d54579392505050565b612cf0565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612db8903390899088908890600401613b4d565b602060405180830381600087803b158015612dd257600080fd5b505af1925050508015612e02575060408051601f3d908101601f19168201909252612dff91810190613b8a565b60015b612e5d573d808015612e30576040519150601f19603f3d011682016040523d82523d6000602084013e612e35565b606091505b508051612e55576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060601180546107d190613923565b606081612ead5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612ed75780612ec181613a18565b9150612ed09050600a83613ad8565b9150612eb1565b6000816001600160401b03811115612ef157612ef161374e565b6040519080825280601f01601f191660200182016040528015612f1b576020820181803683370190505b5090505b841561141757612f30600183613aab565b9150612f3d600a86613ba7565b612f48906030613a33565b60f81b818381518110612f5d57612f5d6139ec565b60200101906001600160f81b031916908160001a905350612f7f600a86613ad8565b9450612f1f565b6000612f956001546000540390565b9050612710612fa5826001613a33565b11610f4f576001600160a01b0382166000908152601460205260409020546003612fd0826001613a33565b1161092157612fe0816001613a33565b6001600160a01b038416600090815260146020526040902055610921836001612c40565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611417575050151592915050565b61092183838360016000546001600160a01b03851661306e57604051622e076360e81b815260040160405180910390fd5b8361308c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217600160401b6001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156131325750613132876001600160a01b0316612d74565b156131a9575b60405182906001600160a01b03891690600090600080516020613bbc833981519152908290a46131716000888480600101955088612d83565b61318e576040516368d2bf6b60e11b815260040160405180910390fd5b808214156131385782600054146131a457600080fd5b6131dd565b5b6040516001830192906001600160a01b03891690600090600080516020613bbc833981519152908290a4808214156131aa575b50600055610934565b60405180610120016040528060006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081526020016000600281111561325857613258613480565b905290565b82805461326990613923565b90600052602060002090601f01602090048101928261328b57600085556132d1565b82601f106132a45782800160ff198235161785556132d1565b828001600101855582156132d1579182015b828111156132d15782358255916020019190600101906132b6565b506132dd9291506132e1565b5090565b5b808211156132dd57600081556001016132e2565b6001600160e01b03198116811461330c57600080fd5b50565b60006020828403121561332157600080fd5b813561105c816132f6565b60005b8381101561334757818101518382015260200161332f565b83811115610e4b5750506000910152565b6000815180845261337081602086016020860161332c565b601f01601f19169290920160200192915050565b60208152600061105c6020830184613358565b6000602082840312156133a957600080fd5b5035919050565b6001600160a01b03169052565b6001600160a01b0391909116815260200190565b6001600160a01b038116811461330c57600080fd5b600080604083850312156133f957600080fd5b8235613404816133d1565b946020939093013593505050565b600080600080600060a0868803121561342a57600080fd5b8535613435816133d1565b94506020860135613445816133d1565b94979496505050506040830135926060810135926080909101359150565b60006020828403121561347557600080fd5b813561105c816133d1565b634e487b7160e01b600052602160045260246000fd5b600381106134b457634e487b7160e01b600052602160045260246000fd5b9052565b81516001600160a01b039081168252602080840151909116908201526040808301516101208301916134ec908401826133b0565b50606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e08301526101008084015161353282850182613496565b505092915050565b60008060006060848603121561354f57600080fd5b833561355a816133d1565b9250602084013561356a816133d1565b929592945050506040919091013590565b60008083601f84011261358d57600080fd5b5081356001600160401b038111156135a457600080fd5b6020830191508360208260051b85010111156135bf57600080fd5b9250929050565b6000806000604084860312156135db57600080fd5b83356135e6816133d1565b925060208401356001600160401b0381111561360157600080fd5b61360d8682870161357b565b9497909650939450505050565b60006101408201905061362e8284516133b0565b602083015161364060208401826133b0565b50604083015161365360408401826133b0565b50606083015161366660608401826133b0565b506080830151608083015260a083015160a083015260c083015160c083015260e083015160e08301526101008084015181840152506101208084015161353282850182613496565b801515811461330c57600080fd5b600080604083850312156136cf57600080fd5b82356136da816133d1565b915060208301356136ea816136ae565b809150509250929050565b60008060008060008060c0878903121561370e57600080fd5b8635613719816133d1565b95506020870135613729816133d1565b95989597505050506040840135936060810135936080820135935060a0909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561377a57600080fd5b8435613785816133d1565b93506020850135613795816133d1565b92506040850135915060608501356001600160401b03808211156137b857600080fd5b818701915087601f8301126137cc57600080fd5b8135818111156137de576137de61374e565b604051601f8201601f19908116603f011681019083821181831017156138065761380661374e565b816040528281528a602084870101111561381f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561385657600080fd5b8235613861816133d1565b915060208301356136ea816133d1565b6000806020838503121561388457600080fd5b82356001600160401b0381111561389a57600080fd5b6138a68582860161357b565b90969095509350505050565b600080602083850312156138c557600080fd5b82356001600160401b03808211156138dc57600080fd5b818501915085601f8301126138f057600080fd5b8135818111156138ff57600080fd5b86602082850101111561391157600080fd5b60209290920196919550909350505050565b600181811c9082168061393757607f821691505b60208210811415610b3d57634e487b7160e01b600052602260045260246000fd5b60208082526021908201527f4f776e61626c653a2063616c6c6572206973206e6f742072616173206f776e656040820152603960f91b606082015260800190565b6000602082840312156139ab57600080fd5b815161105c816133d1565b6000602082840312156139c857600080fd5b5051919050565b6000602082840312156139e157600080fd5b815161105c816136ae565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415613a2c57613a2c613a02565b5060010190565b60008219821115613a4657613a46613a02565b500190565b60208082526021908201527f43616e2774206d696e74206d6f7265207468616e206d617820737570706c79206040820152602160f81b606082015260800190565b6000816000190483118215151615613aa657613aa6613a02565b500290565b600082821015613abd57613abd613a02565b500390565b634e487b7160e01b600052601260045260246000fd5b600082613ae757613ae7613ac2565b500490565b60008351613afe81846020880161332c565b835190830190613b1281836020880161332c565b01949350505050565b602080825260189082015277199bdc989a5919195b881c99595b9d1c985b9d0818d85b1b60421b604082015260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b8090830184613358565b9695505050505050565b600060208284031215613b9c57600080fd5b815161105c816132f6565b600082613bb657613bb6613ac2565b50069056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef1dd4314b1f50b150714ce8a340339c4e7d341da5aff2d0301387c8e25e07113ba2646970667358221220780feca233ffd42ed966230e44e62443eee458d2110503966e70f169ca1a41b364736f6c63430008090033
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.