ERC-721
Overview
Max Total Supply
1,377 SL
Holders
305
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SupLadies
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ import './Blimpie/Delegated.sol'; import './Blimpie/ERC721EnumerableB.sol'; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; interface IERC721Proxy{ function balanceOf( address account ) external view returns ( uint quantity ); function ownerOf( uint tokenId ) external view returns ( address owner ); } interface IPPL20{ function burnFromAccount( address account, uint pineapples ) external; function burnFromTokens( address[] calldata tokenContracts, uint[] calldata tokenIds, uint pineapples ) external; } contract SupLadies is Delegated, ERC721EnumerableB, PaymentSplitter { using Strings for uint; uint public MAX_ORDER = 19; uint public MAX_SUPPLY = 3914; uint public MAX_VOUCHERS = 1957; uint public ETH_PRICE = 0.1957 ether; uint public PPL_PRICE = 19.57 ether; bool public isMintActive = false; bool public isPineapplesActive = false; bool public isVoucherMintActive = false; bool public isVoucherUseActive = false; address public ahmcAddress = 0x61DB9Dde04F78fD55B0B4331a3d148073A101850; address public artwAddress = 0x22d202872950782012baC53346EE3DaE3D78E0CB; address public pineapplesAddress = 0x3e51F6422e41915e96A0808d21Babb83bcd278e5; mapping(address => uint) public vouchers; uint public voucherCount; string private _tokenURIPrefix; string private _tokenURISuffix; address[] private addressList = [ 0x934ad0fd85899FdDadECA9773B629A80663fdC92, 0x3E802B9534b40064332AC7e4682bEF01FEdB2C44, 0xB7edf3Cbb58ecb74BdE6298294c7AAb339F3cE4a ]; uint[] private shareList = [ 58, 35, 7 ]; constructor() Delegated() ERC721B("SupLadies", "SL", 0) PaymentSplitter( addressList, shareList ){ } //external function tokenURI(uint tokenId) external view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(_tokenURIPrefix, tokenId.toString(), _tokenURISuffix)); } fallback() external payable {} function mint( uint quantity ) external payable { require( isMintActive, "ETH sale is not active" ); require( quantity <= MAX_ORDER, "Order too big" ); require( msg.value >= ETH_PRICE * quantity, "Ether sent is not correct" ); uint256 supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "Mint/order exceeds supply" ); for(uint i; i < quantity; ++i){ _safeMint( msg.sender, supply++, "" ); } } function mintWithPineapplesAccount( uint quantity ) external { require( isPineapplesActive, "Pineapple sale is not active" ); require( quantity <= MAX_ORDER, "Order too big" ); uint256 supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "Order exceeds supply" ); _requireBalances(); uint totalPineapples = PPL_PRICE * quantity; IPPL20( pineapplesAddress ).burnFromAccount( msg.sender, totalPineapples); for(uint i; i < quantity; ++i){ _safeMint( msg.sender, supply++, "" ); } } function mintWithPineapplesTokens( uint quantity, address[] calldata tokenContracts, uint[] calldata tokenIds ) external { require( isPineapplesActive, "Pineapple sale is not active" ); require( quantity <= MAX_ORDER, "Order too big" ); uint256 supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "Order exceeds supply" ); _requireBalances(); _requireOwnership( tokenContracts, tokenIds ); uint totalPineapples = PPL_PRICE * quantity; IPPL20( pineapplesAddress ).burnFromTokens(tokenContracts, tokenIds, totalPineapples); for(uint i; i < quantity; ++i){ _safeMint( msg.sender, supply++, "" ); } } function mintVouchersFromAccount( uint quantity ) external { require( isVoucherMintActive, "Voucher sale is not active" ); require( quantity <= MAX_ORDER, "Order too big" ); uint256 supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "Order exceeds supply" ); require( voucherCount + quantity <= MAX_VOUCHERS, "Order exceeds supply" ); _requireBalances(); uint totalPineapples = PPL_PRICE * quantity; IPPL20( pineapplesAddress ).burnFromAccount( msg.sender, totalPineapples); voucherCount += quantity; vouchers[ msg.sender ] += quantity; } function mintVouchersFromTokens( uint quantity, address[] calldata tokenContracts, uint[] calldata tokenIds ) external { require( isVoucherMintActive, "Voucher sale is not active" ); require( quantity <= MAX_ORDER, "Order too big" ); uint256 supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "Order exceeds supply" ); require( voucherCount + quantity <= MAX_VOUCHERS, "Order exceeds supply" ); _requireBalances(); _requireOwnership( tokenContracts, tokenIds ); uint totalPineapples = PPL_PRICE * quantity; IPPL20( pineapplesAddress ).burnFromTokens(tokenContracts, tokenIds, totalPineapples); voucherCount += quantity; vouchers[ msg.sender ] += quantity; } function useVouchers( uint quantity ) external { require( isVoucherUseActive, "Voucher mint is not active" ); require( quantity <= MAX_ORDER, "Order too big" ); uint256 supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "Order exceeds supply" ); require( quantity <= vouchers[ msg.sender ], "Order exceeds vouchers" ); voucherCount -= quantity; vouchers[ msg.sender ] -= quantity; for(uint i = 0; i < quantity; ++i){ _safeMint( msg.sender, supply++, "" ); } } //onlyDelegates function mintTo(uint[] calldata quantity, address[] calldata recipient) external payable onlyDelegates{ require(quantity.length == recipient.length, "Must provide equal quantities and recipients" ); uint totalQuantity = 0; uint256 supply = totalSupply(); for(uint i = 0; i < quantity.length; ++i){ totalQuantity += quantity[i]; } require( supply + totalQuantity < MAX_SUPPLY, "Mint/order exceeds supply" ); for(uint i; i < recipient.length; ++i){ for(uint j; j < quantity[i]; ++j){ _safeMint( recipient[i], supply++, "" ); } } } function mintVouchersTo(uint[] calldata quantity, address[] calldata recipient) external payable onlyDelegates{ require(quantity.length == recipient.length, "Must provide equal quantities and recipients" ); uint totalQuantity = 0; uint256 supply = totalSupply(); for(uint i = 0; i < quantity.length; ++i){ totalQuantity += quantity[i]; } require( supply + totalQuantity < MAX_VOUCHERS, "Vouchers exceeds supply" ); for(uint i; i < recipient.length; ++i){ voucherCount += quantity[i]; vouchers[ recipient[i] ] += quantity[i]; } } function setActive(bool isActive_, bool isPineapplesActive_, bool isVoucherMintActive_, bool isVoucherUseActive_) external onlyDelegates{ require( isMintActive != isActive_ || isPineapplesActive != isPineapplesActive_ || isVoucherMintActive != isVoucherMintActive_ || isVoucherUseActive != isVoucherUseActive_, "New value matches old" ); isMintActive = isActive_; isPineapplesActive = isPineapplesActive_; isVoucherMintActive = isVoucherMintActive_; isVoucherUseActive = isVoucherUseActive_; } function setBaseURI(string calldata prefix, string calldata suffix) external onlyDelegates{ _tokenURIPrefix = prefix; _tokenURISuffix = suffix; } function setContracts(address pineapplesAddress_, address ahmcAddress_, address artwAddress_ ) external onlyDelegates { pineapplesAddress = pineapplesAddress_; ahmcAddress = ahmcAddress_; artwAddress = artwAddress_; } function setMaxSupply(uint maxOrder, uint maxSupply, uint maxVouchers) external onlyDelegates{ require( MAX_ORDER != maxOrder || MAX_SUPPLY != maxSupply || MAX_VOUCHERS != maxVouchers, "New value matches old" ); require( maxSupply >= totalSupply(), "Specified supply is lower than current balance" ); MAX_ORDER = maxOrder; MAX_SUPPLY = maxSupply; MAX_VOUCHERS = maxVouchers; } function setPrice(uint ethPrice, uint pplPrice ) external onlyDelegates{ require( ETH_PRICE != ethPrice || PPL_PRICE != pplPrice, "New value matches old" ); ETH_PRICE = ethPrice; PPL_PRICE = pplPrice; } //private function _requireBalances() private view { uint ahmc = IERC721( ahmcAddress ).balanceOf( msg.sender ); if( ahmc >= 2 ) return; uint artw = IERC721( artwAddress ).balanceOf( msg.sender ); if( artw >= 11 ) return; if( ahmc > 0 && artw >= 5 ) return; revert( "Not enough AHMC/ARTW tokens" ); } function _requireOwnership( address[] calldata tokenContracts, uint[] calldata tokenIds ) private view { for( uint i; i < tokenContracts.length; ++i ){ require( msg.sender == IERC721( tokenContracts[i] ).ownerOf( tokenIds[i] ), "Invalid owner of token" ); } } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; interface IBatch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool ); function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external; function walletOfOwner( address account ) external view returns( uint[] memory ); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; import "./ERC721B.sol"; import "./IBatch.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721EnumerableB is ERC721B, IBatch, IERC721Enumerable { mapping(address => uint[]) internal _balances; function balanceOf(address owner) public view virtual override(ERC721B,IERC721) returns (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner].length; } function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){ for(uint i; i < tokenIds.length; ++i ){ if( _owners[ tokenIds[i] ] != account ) return false; } return true; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721B) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint index) public view virtual override returns (uint tokenId) { require(index < ERC721B.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _balances[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint) { return _owners.length - _offset; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint index) public view virtual override returns (uint) { require(index < totalSupply(), "ERC721Enumerable: global index out of bounds"); return index + _offset; } function walletOfOwner( address account ) external view override returns( uint[] memory ){ return _balances[ account ]; } function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{ for(uint i; i < tokenIds.length; ++i ){ safeTransferFrom( from, to, tokenIds[i], data ); } } //internal function _beforeTokenTransfer( address from, address to, uint tokenId ) internal override virtual { address zero = address(0); if( from != zero ){ //find this token and remove it uint length = _balances[from].length; for( uint i; i < length; ++i ){ if( _balances[from][i] == tokenId ){ _balances[from][i] = _balances[from][length - 1]; _balances[from].pop(); break; } } } if( to != zero ) _balances[to].push( tokenId ); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /******************** * @author: Squeebo * ********************/ 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/introspection/ERC165.sol"; abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata { using Address for address; string private _name; string private _symbol; uint internal _offset; // Mapping from token ID to owner address address[] internal _owners; // Mapping from token ID to approved address mapping(uint => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_, uint offset) { _name = name_; _symbol = symbol_; _offset = offset; for(uint i; i < _offset; ++i ){ _owners.push(address(0)); } } //public function balanceOf(address owner) public view virtual override returns (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count = 0; uint length = _owners.length; for( uint i = 0; i < length; ++i ){ if( owner == _owners[i] ) ++count; } return count; } function name() public view virtual override returns (string memory) { return _name; } function next() public view returns( uint ){ return _owners.length; } function ownerOf(uint tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function symbol() public view virtual override returns (string memory) { return _symbol; } function approve(address to, uint tokenId) public virtual override { address owner = ERC721B.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom( address from, address to, uint tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } //internal function _safeTransfer( address from, address to, uint tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } function _exists(uint tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } function _isApprovedOrOwner(address spender, uint tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721B.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeMint(address to, uint tokenId) internal virtual { _safeMint(to, tokenId, ""); } function _safeMint( address to, uint tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } function _mint(address to, uint tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _owners.push(to); emit Transfer(address(0), to, tokenId); } function _burn(uint tokenId) internal virtual { address owner = ERC721B.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } function _transfer( address from, address to, uint tokenId ) internal virtual { require(ERC721B.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721B.ownerOf(tokenId), to, tokenId); } function _checkOnERC721Received( address from, address to, uint tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _beforeTokenTransfer( address from, address to, uint tokenId ) internal virtual {} }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /******************** * @author: Squeebo * ********************/ import "@openzeppelin/contracts/access/Ownable.sol"; contract Delegated is Ownable{ mapping(address => bool) internal _delegates; constructor(){ _delegates[owner()] = true; } modifier onlyDelegates { require(_delegates[msg.sender], "Invalid delegate" ); _; } //onlyOwner function isDelegate( address addr ) external view onlyOwner returns ( bool ){ return _delegates[addr]; } function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{ _delegates[addr] = isDelegate_; } function transferOwnership(address newOwner) public virtual override onlyOwner { _delegates[newOwner] = true; super.transferOwnership( newOwner ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT 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 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 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"ETH_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ORDER","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":[],"name":"MAX_VOUCHERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PPL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ahmcAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artwAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPineapplesActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isVoucherMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isVoucherUseActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintVouchersFromAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address[]","name":"tokenContracts","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintVouchersFromTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"mintVouchersTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintWithPineapplesAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address[]","name":"tokenContracts","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintWithPineapplesTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"next","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pineapplesAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive_","type":"bool"},{"internalType":"bool","name":"isPineapplesActive_","type":"bool"},{"internalType":"bool","name":"isVoucherMintActive_","type":"bool"},{"internalType":"bool","name":"isVoucherUseActive_","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"prefix","type":"string"},{"internalType":"string","name":"suffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pineapplesAddress_","type":"address"},{"internalType":"address","name":"ahmcAddress_","type":"address"},{"internalType":"address","name":"artwAddress_","type":"address"}],"name":"setContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxOrder","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxVouchers","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethPrice","type":"uint256"},{"internalType":"uint256","name":"pplPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"useVouchers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"voucherCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vouchers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6013600e819055610f4a600f556107a56010556702b7441cf68b400060115568010f969b504e65000060125580547761db9dde04f78fd55b0b4331a3d148073a101850000000006001600160c01b0319909116179055601480546001600160a01b03199081167322d202872950782012bac53346ee3dae3d78e0cb1790915560158054909116733e51f6422e41915e96a0808d21babb83bcd278e517905560e060405273934ad0fd85899fddadeca9773b629a80663fdc926080908152733e802b9534b40064332ac7e4682bef01fedb2c4460a05273b7edf3cbb58ecb74bde6298294c7aab339f3ce4a60c052620000fc90601a90600362000696565b5060408051606081018252603a8152602360208201526007918101919091526200012b90601b90600362000700565b503480156200013957600080fd5b50601a8054806020026020016040519081016040528092919081815260200182805480156200019257602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000173575b5050505050601b805480602002602001604051908101604052809291908181526020018280548015620001e557602002820191906000526020600020905b815481526020019060010190808311620001d0575b5050505050604051806040016040528060098152602001685375704c616469657360b81b8152506040518060400160405280600281526020016114d360f21b8152506000620002436200023d6200045460201b60201c565b62000458565b60018060006200025b6000546001600160a01b031690565b6001600160a01b03168152602080820192909252604001600020805460ff191692151592909217909155835162000299916002919086019062000743565b508151620002af90600390602085019062000743565b50600481905560005b6004548110156200031657600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690556200030e81620007ed565b9050620002b8565b5050505080518251146200038c5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620003df5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000383565b60005b82518110156200044b57620004368382815181106200040557620004056200080b565b60200260200101518383815181106200042257620004226200080b565b6020026020010151620004a860201b60201c565b806200044281620007ed565b915050620003e2565b50505062000879565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620005155760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000383565b60008111620005675760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000383565b6001600160a01b0382166000908152600b602052604090205415620005e35760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000383565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b602052604090208190556009546200064d90829062000821565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054828255906000526020600020908101928215620006ee579160200282015b82811115620006ee57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620006b7565b50620006fc929150620007c0565b5090565b828054828255906000526020600020908101928215620006ee579160200282015b82811115620006ee578251829060ff1690559160200191906001019062000721565b82805462000751906200083c565b90600052602060002090601f016020900481019282620007755760008555620006ee565b82601f106200079057805160ff1916838001178555620006ee565b82800160010185558215620006ee579182015b82811115620006ee578251825591602001919060010190620007a3565b5b80821115620006fc5760008155600101620007c1565b634e487b7160e01b600052601160045260246000fd5b6000600019821415620008045762000804620007d7565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008219821115620008375762000837620007d7565b500190565b600181811c908216806200085157607f821691505b602082108114156200087357634e487b7160e01b600052602260045260246000fd5b50919050565b613f8a80620008896000396000f3fe6080604052600436106103555760003560e01c80638832bc29116101b9578063c32f7d96116100f6578063e8232b5c1161009a578063f02985d11161006c578063f02985d114610a67578063f2fde38b14610a87578063f7d9757714610aa7578063fe0efa1614610ac757005b8063e8232b5c146109d8578063e89e7e44146109eb578063e966d51214610a0b578063e985e9c514610a1e57005b8063d180d1ef116100d3578063d180d1ef14610962578063d30cfcc014610983578063da7945ed146109a3578063e33b7de3146109c357005b8063c32f7d96146108f6578063c87b56dd1461090c578063ce7c2ac21461092c57005b80639852595c1161015d578063a88147a71161013a578063a88147a714610876578063b3066d4914610896578063b534a5c4146108b6578063b88d4fde146108d657005b80639852595c1461080d578063a0712d6814610843578063a22cb4651461085657005b80638ca9833d116101965780638ca9833d1461079a5780638da5cb5b146107ba57806392eee758146107d857806395d89b41146107f857005b80638832bc291461074457806389857e081461075a5780638b83209b1461077a57005b806342842e0e116102925780634f6ccce7116102365780636790a9de116102085780636790a9de146106cf5780636ec3c071146106ef57806370a082311461070f578063715018a61461072f57005b80634f6ccce71461065f57806350c5a00c1461067f5780635b92ac0d146106955780636352211e146106af57005b80634830f9bd1161026f5780634830f9bd146105f45780634a994eef1461060a5780634c8fe5261461062a5780634d44660c1461063f57005b806342842e0e1461057a578063438b63001461059a578063450b9743146105c757005b806318160ddd116102f95780632f745c59116102d65780632f745c5914610519578063312c06121461053957806332cb6b0c1461054f5780633a98ef391461056557005b806318160ddd146104b657806319165587146104d957806323b872dd146104f957005b806307779627116103325780630777962714610416578063081812fc14610436578063095ea7b31461046e5780630c24e7661461048e57005b806301ffc9a7146103a057806306e8377e146103d557806306fdde03146103f457005b3661039e577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156103ac57600080fd5b506103c06103bb366004613387565b610ae7565b60405190151581526020015b60405180910390f35b3480156103e157600080fd5b506013546103c090610100900460ff1681565b34801561040057600080fd5b50610409610b12565b6040516103cc91906133fc565b34801561042257600080fd5b506103c0610431366004613424565b610ba4565b34801561044257600080fd5b50610456610451366004613441565b610bfb565b6040516001600160a01b0390911681526020016103cc565b34801561047a57600080fd5b5061039e61048936600461345a565b610c83565b34801561049a57600080fd5b506013546104569064010000000090046001600160a01b031681565b3480156104c257600080fd5b506104cb610d99565b6040519081526020016103cc565b3480156104e557600080fd5b5061039e6104f4366004613424565b610db0565b34801561050557600080fd5b5061039e610514366004613486565b610f81565b34801561052557600080fd5b506104cb61053436600461345a565b610fb2565b34801561054557600080fd5b506104cb60175481565b34801561055b57600080fd5b506104cb600f5481565b34801561057157600080fd5b506009546104cb565b34801561058657600080fd5b5061039e610595366004613486565b61105c565b3480156105a657600080fd5b506105ba6105b5366004613424565b611077565b6040516103cc91906134c7565b3480156105d357600080fd5b506104cb6105e2366004613424565b60166020526000908152604090205481565b34801561060057600080fd5b506104cb60125481565b34801561061657600080fd5b5061039e61062536600461351b565b6110e3565b34801561063657600080fd5b506005546104cb565b34801561064b57600080fd5b506103c061065a36600461359c565b611138565b34801561066b57600080fd5b506104cb61067a366004613441565b6111ba565b34801561068b57600080fd5b506104cb600e5481565b3480156106a157600080fd5b506013546103c09060ff1681565b3480156106bb57600080fd5b506104566106ca366004613441565b611234565b3480156106db57600080fd5b5061039e6106ea366004613633565b6112c0565b3480156106fb57600080fd5b5061039e61070a366004613441565b61130f565b34801561071b57600080fd5b506104cb61072a366004613424565b611496565b34801561073b57600080fd5b5061039e6114da565b34801561075057600080fd5b506104cb60115481565b34801561076657600080fd5b506013546103c09062010000900460ff1681565b34801561078657600080fd5b50610456610795366004613441565b611510565b3480156107a657600080fd5b50601454610456906001600160a01b031681565b3480156107c657600080fd5b506000546001600160a01b0316610456565b3480156107e457600080fd5b5061039e6107f3366004613441565b611540565b34801561080457600080fd5b506104096116b4565b34801561081957600080fd5b506104cb610828366004613424565b6001600160a01b03166000908152600c602052604090205490565b61039e610851366004613441565b6116c3565b34801561086257600080fd5b5061039e61087136600461351b565b61181a565b34801561088257600080fd5b5061039e61089136600461369f565b6118df565b3480156108a257600080fd5b5061039e6108b13660046136cb565b6119c6565b3480156108c257600080fd5b5061039e6108d1366004613716565b611a48565b3480156108e257600080fd5b5061039e6108f13660046137c1565b611ac6565b34801561090257600080fd5b506104cb60105481565b34801561091857600080fd5b50610409610927366004613441565b611af8565b34801561093857600080fd5b506104cb610947366004613424565b6001600160a01b03166000908152600b602052604090205490565b34801561096e57600080fd5b506013546103c0906301000000900460ff1681565b34801561098f57600080fd5b5061039e61099e366004613441565b611b9c565b3480156109af57600080fd5b5061039e6109be3660046138a1565b611d3a565b3480156109cf57600080fd5b50600a546104cb565b61039e6109e636600461391b565b611eee565b3480156109f757600080fd5b50601554610456906001600160a01b031681565b61039e610a1936600461391b565b6120a9565b348015610a2a57600080fd5b506103c0610a3936600461397b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a7357600080fd5b5061039e610a823660046138a1565b61221f565b348015610a9357600080fd5b5061039e610aa2366004613424565b612392565b348015610ab357600080fd5b5061039e610ac23660046139b4565b6123ee565b348015610ad357600080fd5b5061039e610ae23660046139d6565b612457565b60006001600160e01b0319821663780e9d6360e01b1480610b0c5750610b0c8261254e565b92915050565b606060028054610b2190613a2a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4d90613a2a565b8015610b9a5780601f10610b6f57610100808354040283529160200191610b9a565b820191906000526020600020905b815481529060010190602001808311610b7d57829003601f168201915b5050505050905090565b600080546001600160a01b03163314610bd85760405162461bcd60e51b8152600401610bcf90613a65565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b6000610c068261259e565b610c675760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bcf565b506000908152600660205260409020546001600160a01b031690565b6000610c8e82611234565b9050806001600160a01b0316836001600160a01b03161415610cfc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bcf565b336001600160a01b0382161480610d185750610d188133610a39565b610d8a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bcf565b610d9483836125e8565b505050565b600454600554600091610dab91613ab0565b905090565b6001600160a01b0381166000908152600b6020526040902054610e245760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610bcf565b6000600a5447610e349190613ac7565b6001600160a01b0383166000908152600c6020908152604080832054600954600b909352908320549394509192610e6b9085613adf565b610e759190613b14565b610e7f9190613ab0565b905080610ee25760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610bcf565b6001600160a01b0383166000908152600c6020526040902054610f06908290613ac7565b6001600160a01b0384166000908152600c6020526040902055600a54610f2d908290613ac7565b600a55610f3a8382612656565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610f8b338261276f565b610fa75760405162461bcd60e51b8152600401610bcf90613b28565b610d94838383612859565b6000610fbd836129ba565b821061101f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610bcf565b6001600160a01b038316600090815260086020526040902080548390811061104957611049613b79565b9060005260206000200154905092915050565b610d9483838360405180602001604052806000815250611ac6565b6001600160a01b0381166000908152600860209081526040918290208054835181840281018401909452808452606093928301828280156110d757602002820191906000526020600020905b8154815260200190600101908083116110c3575b50505050509050919050565b6000546001600160a01b0316331461110d5760405162461bcd60e51b8152600401610bcf90613a65565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b828110156111ad57846001600160a01b0316600585858481811061116257611162613b79565b905060200201358154811061117957611179613b79565b6000918252602090912001546001600160a01b03161461119d5760009150506111b3565b6111a681613b8f565b905061113c565b50600190505b9392505050565b60006111c4610d99565b82106112275760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610bcf565b600454610b0c9083613ac7565b6000806005838154811061124a5761124a613b79565b6000918252602090912001546001600160a01b0316905080610b0c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610bcf565b3360009081526001602052604090205460ff166112ef5760405162461bcd60e51b8152600401610bcf90613baa565b6112fb601885856132d8565b50611308601983836132d8565b5050505050565b6013546301000000900460ff166113685760405162461bcd60e51b815260206004820152601a60248201527f566f7563686572206d696e74206973206e6f74206163746976650000000000006044820152606401610bcf565b600e5481111561138a5760405162461bcd60e51b8152600401610bcf90613bd4565b6000611394610d99565b600f549091506113a48383613ac7565b11156113c25760405162461bcd60e51b8152600401610bcf90613bfb565b3360009081526016602052604090205482111561141a5760405162461bcd60e51b81526020600482015260166024820152754f72646572206578636565647320766f75636865727360501b6044820152606401610bcf565b816017600082825461142c9190613ab0565b90915550503360009081526016602052604081208054849290611450908490613ab0565b90915550600090505b82811015610d9457611486338361146f81613b8f565b945060405180602001604052806000815250612a49565b61148f81613b8f565b9050611459565b60006001600160a01b0382166114be5760405162461bcd60e51b8152600401610bcf90613c29565b506001600160a01b031660009081526008602052604090205490565b6000546001600160a01b031633146115045760405162461bcd60e51b8152600401610bcf90613a65565b61150e6000612a7c565b565b6000600d828154811061152557611525613b79565b6000918252602090912001546001600160a01b031692915050565b601354610100900460ff166115975760405162461bcd60e51b815260206004820152601c60248201527f50696e656170706c652073616c65206973206e6f7420616374697665000000006044820152606401610bcf565b600e548111156115b95760405162461bcd60e51b8152600401610bcf90613bd4565b60006115c3610d99565b600f549091506115d38383613ac7565b11156115f15760405162461bcd60e51b8152600401610bcf90613bfb565b6115f9612acc565b6000826012546116099190613adf565b601554604051632cee16e960e11b8152336004820152602481018390529192506001600160a01b0316906359dc2dd290604401600060405180830381600087803b15801561165657600080fd5b505af115801561166a573d6000803e3d6000fd5b5050505060005b838110156116ae5761169e338461168781613b8f565b955060405180602001604052806000815250612a49565b6116a781613b8f565b9050611671565b50505050565b606060038054610b2190613a2a565b60135460ff1661170e5760405162461bcd60e51b81526020600482015260166024820152754554482073616c65206973206e6f742061637469766560501b6044820152606401610bcf565b600e548111156117305760405162461bcd60e51b8152600401610bcf90613bd4565b8060115461173e9190613adf565b34101561178d5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610bcf565b6000611797610d99565b600f549091506117a78383613ac7565b11156117f15760405162461bcd60e51b81526020600482015260196024820152784d696e742f6f72646572206578636565647320737570706c7960381b6044820152606401610bcf565b60005b82811015610d945761180a338361146f81613b8f565b61181381613b8f565b90506117f4565b6001600160a01b0382163314156118735760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bcf565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff1661190e5760405162461bcd60e51b8152600401610bcf90613baa565b82600e54141580611921575081600f5414155b8061192e57508060105414155b61194a5760405162461bcd60e51b8152600401610bcf90613c73565b611952610d99565b8210156119b85760405162461bcd60e51b815260206004820152602e60248201527f53706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b6064820152608401610bcf565b600e92909255600f55601055565b3360009081526001602052604090205460ff166119f55760405162461bcd60e51b8152600401610bcf90613baa565b601580546001600160a01b039485166001600160a01b0319918216179091556013805493851664010000000002640100000000600160c01b03199094169390931790925560148054919093169116179055565b60005b83811015611abd57611aad8787878785818110611a6a57611a6a613b79565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ac692505050565b611ab681613b8f565b9050611a4b565b50505050505050565b611ad0338361276f565b611aec5760405162461bcd60e51b8152600401610bcf90613b28565b6116ae84848484612c2b565b6060611b038261259e565b611b675760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bcf565b6018611b7283612c5e565b6019604051602001611b8693929190613d3c565b6040516020818303038152906040529050919050565b60135462010000900460ff16611bf45760405162461bcd60e51b815260206004820152601a60248201527f566f75636865722073616c65206973206e6f74206163746976650000000000006044820152606401610bcf565b600e54811115611c165760405162461bcd60e51b8152600401610bcf90613bd4565b6000611c20610d99565b600f54909150611c308383613ac7565b1115611c4e5760405162461bcd60e51b8152600401610bcf90613bfb565b60105482601754611c5f9190613ac7565b1115611c7d5760405162461bcd60e51b8152600401610bcf90613bfb565b611c85612acc565b600082601254611c959190613adf565b601554604051632cee16e960e11b8152336004820152602481018390529192506001600160a01b0316906359dc2dd290604401600060405180830381600087803b158015611ce257600080fd5b505af1158015611cf6573d6000803e3d6000fd5b505050508260176000828254611d0c9190613ac7565b90915550503360009081526016602052604081208054859290611d30908490613ac7565b9091555050505050565b60135462010000900460ff16611d925760405162461bcd60e51b815260206004820152601a60248201527f566f75636865722073616c65206973206e6f74206163746976650000000000006044820152606401610bcf565b600e54851115611db45760405162461bcd60e51b8152600401610bcf90613bd4565b6000611dbe610d99565b600f54909150611dce8783613ac7565b1115611dec5760405162461bcd60e51b8152600401610bcf90613bfb565b60105486601754611dfd9190613ac7565b1115611e1b5760405162461bcd60e51b8152600401610bcf90613bfb565b611e23612acc565b611e2f85858585612d5c565b600086601254611e3f9190613adf565b60155460405163a1d4871360e01b81529192506001600160a01b03169063a1d4871390611e789089908990899089908890600401613d6f565b600060405180830381600087803b158015611e9257600080fd5b505af1158015611ea6573d6000803e3d6000fd5b505050508660176000828254611ebc9190613ac7565b90915550503360009081526016602052604081208054899290611ee0908490613ac7565b909155505050505050505050565b3360009081526001602052604090205460ff16611f1d5760405162461bcd60e51b8152600401610bcf90613baa565b828114611f3c5760405162461bcd60e51b8152600401610bcf90613dfc565b600080611f47610d99565b905060005b85811015611f8a57868682818110611f6657611f66613b79565b9050602002013583611f789190613ac7565b9250611f8381613b8f565b9050611f4c565b50601054611f988383613ac7565b10611fe55760405162461bcd60e51b815260206004820152601760248201527f566f756368657273206578636565647320737570706c790000000000000000006044820152606401610bcf565b60005b83811015611abd5786868281811061200257612002613b79565b905060200201356017600082825461201a9190613ac7565b90915550879050868281811061203257612032613b79565b905060200201356016600087878581811061204f5761204f613b79565b90506020020160208101906120649190613424565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546120939190613ac7565b909155506120a2905081613b8f565b9050611fe8565b3360009081526001602052604090205460ff166120d85760405162461bcd60e51b8152600401610bcf90613baa565b8281146120f75760405162461bcd60e51b8152600401610bcf90613dfc565b600080612102610d99565b905060005b858110156121455786868281811061212157612121613b79565b90506020020135836121339190613ac7565b925061213e81613b8f565b9050612107565b50600f546121538383613ac7565b1061219c5760405162461bcd60e51b81526020600482015260196024820152784d696e742f6f72646572206578636565647320737570706c7960381b6044820152606401610bcf565b60005b83811015611abd5760005b8787838181106121bc576121bc613b79565b9050602002013581101561220e576121fe8686848181106121df576121df613b79565b90506020020160208101906121f49190613424565b8461168781613b8f565b61220781613b8f565b90506121aa565b5061221881613b8f565b905061219f565b601354610100900460ff166122765760405162461bcd60e51b815260206004820152601c60248201527f50696e656170706c652073616c65206973206e6f7420616374697665000000006044820152606401610bcf565b600e548511156122985760405162461bcd60e51b8152600401610bcf90613bd4565b60006122a2610d99565b600f549091506122b28783613ac7565b11156122d05760405162461bcd60e51b8152600401610bcf90613bfb565b6122d8612acc565b6122e485858585612d5c565b6000866012546122f49190613adf565b60155460405163a1d4871360e01b81529192506001600160a01b03169063a1d487139061232d9089908990899089908890600401613d6f565b600060405180830381600087803b15801561234757600080fd5b505af115801561235b573d6000803e3d6000fd5b5050505060005b8781101561238857612378338461168781613b8f565b61238181613b8f565b9050612362565b5050505050505050565b6000546001600160a01b031633146123bc5760405162461bcd60e51b8152600401610bcf90613a65565b6001600160a01b0381166000908152600160208190526040909120805460ff191690911790556123eb81612e7d565b50565b3360009081526001602052604090205460ff1661241d5760405162461bcd60e51b8152600401610bcf90613baa565b8160115414158061243057508060125414155b61244c5760405162461bcd60e51b8152600401610bcf90613c73565b601191909155601255565b3360009081526001602052604090205460ff166124865760405162461bcd60e51b8152600401610bcf90613baa565b60135460ff1615158415151415806124ad575060135460ff61010090910416151583151514155b806124c8575060135460ff6201000090910416151582151514155b806124e4575060135460ff630100000090910416151581151514155b6125005760405162461bcd60e51b8152600401610bcf90613c73565b6013805461ffff191694151561ff00191694909417610100931515939093029290921763ffff00001916620100009115159190910263ff000000191617630100000091151591909102179055565b60006001600160e01b031982166380ac58cd60e01b148061257f57506001600160e01b03198216635b5e139f60e01b145b80610b0c57506301ffc9a760e01b6001600160e01b0319831614610b0c565b60055460009082108015610b0c575060006001600160a01b0316600583815481106125cb576125cb613b79565b6000918252602090912001546001600160a01b0316141592915050565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061261d82611234565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156126a65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bcf565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146126f3576040519150601f19603f3d011682016040523d82523d6000602084013e6126f8565b606091505b5050905080610d945760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bcf565b600061277a8261259e565b6127db5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bcf565b60006127e683611234565b9050806001600160a01b0316846001600160a01b031614806128215750836001600160a01b031661281684610bfb565b6001600160a01b0316145b8061285157506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661286c82611234565b6001600160a01b0316146128d45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610bcf565b6001600160a01b0382166129365760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bcf565b612941838383612f15565b61294c6000826125e8565b816005828154811061296057612960613b79565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60006001600160a01b0382166129e25760405162461bcd60e51b8152600401610bcf90613c29565b600554600090815b81811015612a405760058181548110612a0557612a05613b79565b6000918252602090912001546001600160a01b0386811691161415612a3057612a2d83613b8f565b92505b612a3981613b8f565b90506129ea565b50909392505050565b612a5383836130a6565b612a6060008484846131da565b610d945760405162461bcd60e51b8152600401610bcf90613e48565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6013546040516370a0823160e01b815233600482015260009164010000000090046001600160a01b0316906370a0823190602401602060405180830381865afa158015612b1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b419190613e9a565b905060028110612b4e5750565b6014546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612b97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbb9190613e9a565b9050600b8110612bc9575050565b600082118015612bda575060058110155b15612be3575050565b60405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f7567682041484d432f4152545720746f6b656e7300000000006044820152606401610bcf565b612c36848484612859565b612c42848484846131da565b6116ae5760405162461bcd60e51b8152600401610bcf90613e48565b606081612c825750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612cac5780612c9681613b8f565b9150612ca59050600a83613b14565b9150612c86565b60008167ffffffffffffffff811115612cc757612cc76137ab565b6040519080825280601f01601f191660200182016040528015612cf1576020820181803683370190505b5090505b841561285157612d06600183613ab0565b9150612d13600a86613eb3565b612d1e906030613ac7565b60f81b818381518110612d3357612d33613b79565b60200101906001600160f81b031916908160001a905350612d55600a86613b14565b9450612cf5565b60005b8381101561130857848482818110612d7957612d79613b79565b9050602002016020810190612d8e9190613424565b6001600160a01b0316636352211e848484818110612dae57612dae613b79565b905060200201356040518263ffffffff1660e01b8152600401612dd391815260200190565b602060405180830381865afa158015612df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e149190613ec7565b6001600160a01b0316336001600160a01b031614612e6d5760405162461bcd60e51b815260206004820152601660248201527524b73b30b634b21037bbb732b91037b3103a37b5b2b760511b6044820152606401610bcf565b612e7681613b8f565b9050612d5f565b6000546001600160a01b03163314612ea75760405162461bcd60e51b8152600401610bcf90613a65565b6001600160a01b038116612f0c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bcf565b6123eb81612a7c565b60006001600160a01b0384161561305e576001600160a01b038416600090815260086020526040812054905b8181101561305b576001600160a01b0386166000908152600860205260409020805485919083908110612f7657612f76613b79565b9060005260206000200154141561304b576001600160a01b0386166000908152600860205260409020612faa600184613ab0565b81548110612fba57612fba613b79565b906000526020600020015460086000886001600160a01b03166001600160a01b031681526020019081526020016000208281548110612ffb57612ffb613b79565b60009182526020808320909101929092556001600160a01b038816815260089091526040902080548061303057613030613ee4565b6001900381819060005260206000200160009055905561305b565b61305481613b8f565b9050612f41565b50505b806001600160a01b0316836001600160a01b0316146116ae57506001600160a01b03919091166000908152600860209081526040822080546001810182559083529120015550565b6001600160a01b0382166130fc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bcf565b6131058161259e565b156131525760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bcf565b61315e60008383612f15565b6005805460018101825560009182527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b156132cd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061321e903390899088908890600401613efa565b6020604051808303816000875af1925050508015613259575060408051601f3d908101601f1916820190925261325691810190613f37565b60015b6132b3573d808015613287576040519150601f19603f3d011682016040523d82523d6000602084013e61328c565b606091505b5080516132ab5760405162461bcd60e51b8152600401610bcf90613e48565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612851565b506001949350505050565b8280546132e490613a2a565b90600052602060002090601f016020900481019282613306576000855561334c565b82601f1061331f5782800160ff1982351617855561334c565b8280016001018555821561334c579182015b8281111561334c578235825591602001919060010190613331565b5061335892915061335c565b5090565b5b80821115613358576000815560010161335d565b6001600160e01b0319811681146123eb57600080fd5b60006020828403121561339957600080fd5b81356111b381613371565b60005b838110156133bf5781810151838201526020016133a7565b838111156116ae5750506000910152565b600081518084526133e88160208601602086016133a4565b601f01601f19169290920160200192915050565b6020815260006111b360208301846133d0565b6001600160a01b03811681146123eb57600080fd5b60006020828403121561343657600080fd5b81356111b38161340f565b60006020828403121561345357600080fd5b5035919050565b6000806040838503121561346d57600080fd5b82356134788161340f565b946020939093013593505050565b60008060006060848603121561349b57600080fd5b83356134a68161340f565b925060208401356134b68161340f565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b818110156134ff578351835292840192918401916001016134e3565b50909695505050505050565b80358015158114610bf657600080fd5b6000806040838503121561352e57600080fd5b82356135398161340f565b91506135476020840161350b565b90509250929050565b60008083601f84011261356257600080fd5b50813567ffffffffffffffff81111561357a57600080fd5b6020830191508360208260051b850101111561359557600080fd5b9250929050565b6000806000604084860312156135b157600080fd5b83356135bc8161340f565b9250602084013567ffffffffffffffff8111156135d857600080fd5b6135e486828701613550565b9497909650939450505050565b60008083601f84011261360357600080fd5b50813567ffffffffffffffff81111561361b57600080fd5b60208301915083602082850101111561359557600080fd5b6000806000806040858703121561364957600080fd5b843567ffffffffffffffff8082111561366157600080fd5b61366d888389016135f1565b9096509450602087013591508082111561368657600080fd5b50613693878288016135f1565b95989497509550505050565b6000806000606084860312156136b457600080fd5b505081359360208301359350604090920135919050565b6000806000606084860312156136e057600080fd5b83356136eb8161340f565b925060208401356136fb8161340f565b9150604084013561370b8161340f565b809150509250925092565b6000806000806000806080878903121561372f57600080fd5b863561373a8161340f565b9550602087013561374a8161340f565b9450604087013567ffffffffffffffff8082111561376757600080fd5b6137738a838b01613550565b9096509450606089013591508082111561378c57600080fd5b5061379989828a016135f1565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156137d757600080fd5b84356137e28161340f565b935060208501356137f28161340f565b925060408501359150606085013567ffffffffffffffff8082111561381657600080fd5b818701915087601f83011261382a57600080fd5b81358181111561383c5761383c6137ab565b604051601f8201601f19908116603f01168101908382118183101715613864576138646137ab565b816040528281528a602084870101111561387d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000806000606086880312156138b957600080fd5b85359450602086013567ffffffffffffffff808211156138d857600080fd5b6138e489838a01613550565b909650945060408801359150808211156138fd57600080fd5b5061390a88828901613550565b969995985093965092949392505050565b6000806000806040858703121561393157600080fd5b843567ffffffffffffffff8082111561394957600080fd5b61395588838901613550565b9096509450602087013591508082111561396e57600080fd5b5061369387828801613550565b6000806040838503121561398e57600080fd5b82356139998161340f565b915060208301356139a98161340f565b809150509250929050565b600080604083850312156139c757600080fd5b50508035926020909101359150565b600080600080608085870312156139ec57600080fd5b6139f58561350b565b9350613a036020860161350b565b9250613a116040860161350b565b9150613a1f6060860161350b565b905092959194509250565b600181811c90821680613a3e57607f821691505b60208210811415613a5f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015613ac257613ac2613a9a565b500390565b60008219821115613ada57613ada613a9a565b500190565b6000816000190483118215151615613af957613af9613a9a565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613b2357613b23613afe565b500490565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415613ba357613ba3613a9a565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b6020808252600d908201526c4f7264657220746f6f2062696760981b604082015260600190565b6020808252601490820152734f72646572206578636565647320737570706c7960601b604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526015908201527413995dc81d985b1d59481b585d18da195cc81bdb19605a1b604082015260600190565b8054600090600181811c9080831680613cbc57607f831692505b6020808410821415613cde57634e487b7160e01b600052602260045260246000fd5b818015613cf25760018114613d0357613d30565b60ff19861689528489019650613d30565b60008881526020902060005b86811015613d285781548b820152908501908301613d0f565b505084890196505b50505050505092915050565b6000613d488286613ca2565b8451613d588183602089016133a4565b613d6481830186613ca2565b979650505050505050565b6060808252810185905260008660808301825b88811015613db2578235613d958161340f565b6001600160a01b0316825260209283019290910190600101613d82565b5083810360208501528581526001600160fb1b03861115613dd257600080fd5b8560051b915081876020830137600091016020019081526040929092019290925295945050505050565b6020808252602c908201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60408201526b6420726563697069656e747360a01b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600060208284031215613eac57600080fd5b5051919050565b600082613ec257613ec2613afe565b500690565b600060208284031215613ed957600080fd5b81516111b38161340f565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613f2d908301846133d0565b9695505050505050565b600060208284031215613f4957600080fd5b81516111b38161337156fea2646970667358221220acc7745021866166fa9bfa59d206ca88c63ef20890428397f2dafe86b948f14f64736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106103555760003560e01c80638832bc29116101b9578063c32f7d96116100f6578063e8232b5c1161009a578063f02985d11161006c578063f02985d114610a67578063f2fde38b14610a87578063f7d9757714610aa7578063fe0efa1614610ac757005b8063e8232b5c146109d8578063e89e7e44146109eb578063e966d51214610a0b578063e985e9c514610a1e57005b8063d180d1ef116100d3578063d180d1ef14610962578063d30cfcc014610983578063da7945ed146109a3578063e33b7de3146109c357005b8063c32f7d96146108f6578063c87b56dd1461090c578063ce7c2ac21461092c57005b80639852595c1161015d578063a88147a71161013a578063a88147a714610876578063b3066d4914610896578063b534a5c4146108b6578063b88d4fde146108d657005b80639852595c1461080d578063a0712d6814610843578063a22cb4651461085657005b80638ca9833d116101965780638ca9833d1461079a5780638da5cb5b146107ba57806392eee758146107d857806395d89b41146107f857005b80638832bc291461074457806389857e081461075a5780638b83209b1461077a57005b806342842e0e116102925780634f6ccce7116102365780636790a9de116102085780636790a9de146106cf5780636ec3c071146106ef57806370a082311461070f578063715018a61461072f57005b80634f6ccce71461065f57806350c5a00c1461067f5780635b92ac0d146106955780636352211e146106af57005b80634830f9bd1161026f5780634830f9bd146105f45780634a994eef1461060a5780634c8fe5261461062a5780634d44660c1461063f57005b806342842e0e1461057a578063438b63001461059a578063450b9743146105c757005b806318160ddd116102f95780632f745c59116102d65780632f745c5914610519578063312c06121461053957806332cb6b0c1461054f5780633a98ef391461056557005b806318160ddd146104b657806319165587146104d957806323b872dd146104f957005b806307779627116103325780630777962714610416578063081812fc14610436578063095ea7b31461046e5780630c24e7661461048e57005b806301ffc9a7146103a057806306e8377e146103d557806306fdde03146103f457005b3661039e577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156103ac57600080fd5b506103c06103bb366004613387565b610ae7565b60405190151581526020015b60405180910390f35b3480156103e157600080fd5b506013546103c090610100900460ff1681565b34801561040057600080fd5b50610409610b12565b6040516103cc91906133fc565b34801561042257600080fd5b506103c0610431366004613424565b610ba4565b34801561044257600080fd5b50610456610451366004613441565b610bfb565b6040516001600160a01b0390911681526020016103cc565b34801561047a57600080fd5b5061039e61048936600461345a565b610c83565b34801561049a57600080fd5b506013546104569064010000000090046001600160a01b031681565b3480156104c257600080fd5b506104cb610d99565b6040519081526020016103cc565b3480156104e557600080fd5b5061039e6104f4366004613424565b610db0565b34801561050557600080fd5b5061039e610514366004613486565b610f81565b34801561052557600080fd5b506104cb61053436600461345a565b610fb2565b34801561054557600080fd5b506104cb60175481565b34801561055b57600080fd5b506104cb600f5481565b34801561057157600080fd5b506009546104cb565b34801561058657600080fd5b5061039e610595366004613486565b61105c565b3480156105a657600080fd5b506105ba6105b5366004613424565b611077565b6040516103cc91906134c7565b3480156105d357600080fd5b506104cb6105e2366004613424565b60166020526000908152604090205481565b34801561060057600080fd5b506104cb60125481565b34801561061657600080fd5b5061039e61062536600461351b565b6110e3565b34801561063657600080fd5b506005546104cb565b34801561064b57600080fd5b506103c061065a36600461359c565b611138565b34801561066b57600080fd5b506104cb61067a366004613441565b6111ba565b34801561068b57600080fd5b506104cb600e5481565b3480156106a157600080fd5b506013546103c09060ff1681565b3480156106bb57600080fd5b506104566106ca366004613441565b611234565b3480156106db57600080fd5b5061039e6106ea366004613633565b6112c0565b3480156106fb57600080fd5b5061039e61070a366004613441565b61130f565b34801561071b57600080fd5b506104cb61072a366004613424565b611496565b34801561073b57600080fd5b5061039e6114da565b34801561075057600080fd5b506104cb60115481565b34801561076657600080fd5b506013546103c09062010000900460ff1681565b34801561078657600080fd5b50610456610795366004613441565b611510565b3480156107a657600080fd5b50601454610456906001600160a01b031681565b3480156107c657600080fd5b506000546001600160a01b0316610456565b3480156107e457600080fd5b5061039e6107f3366004613441565b611540565b34801561080457600080fd5b506104096116b4565b34801561081957600080fd5b506104cb610828366004613424565b6001600160a01b03166000908152600c602052604090205490565b61039e610851366004613441565b6116c3565b34801561086257600080fd5b5061039e61087136600461351b565b61181a565b34801561088257600080fd5b5061039e61089136600461369f565b6118df565b3480156108a257600080fd5b5061039e6108b13660046136cb565b6119c6565b3480156108c257600080fd5b5061039e6108d1366004613716565b611a48565b3480156108e257600080fd5b5061039e6108f13660046137c1565b611ac6565b34801561090257600080fd5b506104cb60105481565b34801561091857600080fd5b50610409610927366004613441565b611af8565b34801561093857600080fd5b506104cb610947366004613424565b6001600160a01b03166000908152600b602052604090205490565b34801561096e57600080fd5b506013546103c0906301000000900460ff1681565b34801561098f57600080fd5b5061039e61099e366004613441565b611b9c565b3480156109af57600080fd5b5061039e6109be3660046138a1565b611d3a565b3480156109cf57600080fd5b50600a546104cb565b61039e6109e636600461391b565b611eee565b3480156109f757600080fd5b50601554610456906001600160a01b031681565b61039e610a1936600461391b565b6120a9565b348015610a2a57600080fd5b506103c0610a3936600461397b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a7357600080fd5b5061039e610a823660046138a1565b61221f565b348015610a9357600080fd5b5061039e610aa2366004613424565b612392565b348015610ab357600080fd5b5061039e610ac23660046139b4565b6123ee565b348015610ad357600080fd5b5061039e610ae23660046139d6565b612457565b60006001600160e01b0319821663780e9d6360e01b1480610b0c5750610b0c8261254e565b92915050565b606060028054610b2190613a2a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4d90613a2a565b8015610b9a5780601f10610b6f57610100808354040283529160200191610b9a565b820191906000526020600020905b815481529060010190602001808311610b7d57829003601f168201915b5050505050905090565b600080546001600160a01b03163314610bd85760405162461bcd60e51b8152600401610bcf90613a65565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b6000610c068261259e565b610c675760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bcf565b506000908152600660205260409020546001600160a01b031690565b6000610c8e82611234565b9050806001600160a01b0316836001600160a01b03161415610cfc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bcf565b336001600160a01b0382161480610d185750610d188133610a39565b610d8a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bcf565b610d9483836125e8565b505050565b600454600554600091610dab91613ab0565b905090565b6001600160a01b0381166000908152600b6020526040902054610e245760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610bcf565b6000600a5447610e349190613ac7565b6001600160a01b0383166000908152600c6020908152604080832054600954600b909352908320549394509192610e6b9085613adf565b610e759190613b14565b610e7f9190613ab0565b905080610ee25760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610bcf565b6001600160a01b0383166000908152600c6020526040902054610f06908290613ac7565b6001600160a01b0384166000908152600c6020526040902055600a54610f2d908290613ac7565b600a55610f3a8382612656565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610f8b338261276f565b610fa75760405162461bcd60e51b8152600401610bcf90613b28565b610d94838383612859565b6000610fbd836129ba565b821061101f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610bcf565b6001600160a01b038316600090815260086020526040902080548390811061104957611049613b79565b9060005260206000200154905092915050565b610d9483838360405180602001604052806000815250611ac6565b6001600160a01b0381166000908152600860209081526040918290208054835181840281018401909452808452606093928301828280156110d757602002820191906000526020600020905b8154815260200190600101908083116110c3575b50505050509050919050565b6000546001600160a01b0316331461110d5760405162461bcd60e51b8152600401610bcf90613a65565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b828110156111ad57846001600160a01b0316600585858481811061116257611162613b79565b905060200201358154811061117957611179613b79565b6000918252602090912001546001600160a01b03161461119d5760009150506111b3565b6111a681613b8f565b905061113c565b50600190505b9392505050565b60006111c4610d99565b82106112275760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610bcf565b600454610b0c9083613ac7565b6000806005838154811061124a5761124a613b79565b6000918252602090912001546001600160a01b0316905080610b0c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610bcf565b3360009081526001602052604090205460ff166112ef5760405162461bcd60e51b8152600401610bcf90613baa565b6112fb601885856132d8565b50611308601983836132d8565b5050505050565b6013546301000000900460ff166113685760405162461bcd60e51b815260206004820152601a60248201527f566f7563686572206d696e74206973206e6f74206163746976650000000000006044820152606401610bcf565b600e5481111561138a5760405162461bcd60e51b8152600401610bcf90613bd4565b6000611394610d99565b600f549091506113a48383613ac7565b11156113c25760405162461bcd60e51b8152600401610bcf90613bfb565b3360009081526016602052604090205482111561141a5760405162461bcd60e51b81526020600482015260166024820152754f72646572206578636565647320766f75636865727360501b6044820152606401610bcf565b816017600082825461142c9190613ab0565b90915550503360009081526016602052604081208054849290611450908490613ab0565b90915550600090505b82811015610d9457611486338361146f81613b8f565b945060405180602001604052806000815250612a49565b61148f81613b8f565b9050611459565b60006001600160a01b0382166114be5760405162461bcd60e51b8152600401610bcf90613c29565b506001600160a01b031660009081526008602052604090205490565b6000546001600160a01b031633146115045760405162461bcd60e51b8152600401610bcf90613a65565b61150e6000612a7c565b565b6000600d828154811061152557611525613b79565b6000918252602090912001546001600160a01b031692915050565b601354610100900460ff166115975760405162461bcd60e51b815260206004820152601c60248201527f50696e656170706c652073616c65206973206e6f7420616374697665000000006044820152606401610bcf565b600e548111156115b95760405162461bcd60e51b8152600401610bcf90613bd4565b60006115c3610d99565b600f549091506115d38383613ac7565b11156115f15760405162461bcd60e51b8152600401610bcf90613bfb565b6115f9612acc565b6000826012546116099190613adf565b601554604051632cee16e960e11b8152336004820152602481018390529192506001600160a01b0316906359dc2dd290604401600060405180830381600087803b15801561165657600080fd5b505af115801561166a573d6000803e3d6000fd5b5050505060005b838110156116ae5761169e338461168781613b8f565b955060405180602001604052806000815250612a49565b6116a781613b8f565b9050611671565b50505050565b606060038054610b2190613a2a565b60135460ff1661170e5760405162461bcd60e51b81526020600482015260166024820152754554482073616c65206973206e6f742061637469766560501b6044820152606401610bcf565b600e548111156117305760405162461bcd60e51b8152600401610bcf90613bd4565b8060115461173e9190613adf565b34101561178d5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610bcf565b6000611797610d99565b600f549091506117a78383613ac7565b11156117f15760405162461bcd60e51b81526020600482015260196024820152784d696e742f6f72646572206578636565647320737570706c7960381b6044820152606401610bcf565b60005b82811015610d945761180a338361146f81613b8f565b61181381613b8f565b90506117f4565b6001600160a01b0382163314156118735760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bcf565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff1661190e5760405162461bcd60e51b8152600401610bcf90613baa565b82600e54141580611921575081600f5414155b8061192e57508060105414155b61194a5760405162461bcd60e51b8152600401610bcf90613c73565b611952610d99565b8210156119b85760405162461bcd60e51b815260206004820152602e60248201527f53706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b6064820152608401610bcf565b600e92909255600f55601055565b3360009081526001602052604090205460ff166119f55760405162461bcd60e51b8152600401610bcf90613baa565b601580546001600160a01b039485166001600160a01b0319918216179091556013805493851664010000000002640100000000600160c01b03199094169390931790925560148054919093169116179055565b60005b83811015611abd57611aad8787878785818110611a6a57611a6a613b79565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ac692505050565b611ab681613b8f565b9050611a4b565b50505050505050565b611ad0338361276f565b611aec5760405162461bcd60e51b8152600401610bcf90613b28565b6116ae84848484612c2b565b6060611b038261259e565b611b675760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bcf565b6018611b7283612c5e565b6019604051602001611b8693929190613d3c565b6040516020818303038152906040529050919050565b60135462010000900460ff16611bf45760405162461bcd60e51b815260206004820152601a60248201527f566f75636865722073616c65206973206e6f74206163746976650000000000006044820152606401610bcf565b600e54811115611c165760405162461bcd60e51b8152600401610bcf90613bd4565b6000611c20610d99565b600f54909150611c308383613ac7565b1115611c4e5760405162461bcd60e51b8152600401610bcf90613bfb565b60105482601754611c5f9190613ac7565b1115611c7d5760405162461bcd60e51b8152600401610bcf90613bfb565b611c85612acc565b600082601254611c959190613adf565b601554604051632cee16e960e11b8152336004820152602481018390529192506001600160a01b0316906359dc2dd290604401600060405180830381600087803b158015611ce257600080fd5b505af1158015611cf6573d6000803e3d6000fd5b505050508260176000828254611d0c9190613ac7565b90915550503360009081526016602052604081208054859290611d30908490613ac7565b9091555050505050565b60135462010000900460ff16611d925760405162461bcd60e51b815260206004820152601a60248201527f566f75636865722073616c65206973206e6f74206163746976650000000000006044820152606401610bcf565b600e54851115611db45760405162461bcd60e51b8152600401610bcf90613bd4565b6000611dbe610d99565b600f54909150611dce8783613ac7565b1115611dec5760405162461bcd60e51b8152600401610bcf90613bfb565b60105486601754611dfd9190613ac7565b1115611e1b5760405162461bcd60e51b8152600401610bcf90613bfb565b611e23612acc565b611e2f85858585612d5c565b600086601254611e3f9190613adf565b60155460405163a1d4871360e01b81529192506001600160a01b03169063a1d4871390611e789089908990899089908890600401613d6f565b600060405180830381600087803b158015611e9257600080fd5b505af1158015611ea6573d6000803e3d6000fd5b505050508660176000828254611ebc9190613ac7565b90915550503360009081526016602052604081208054899290611ee0908490613ac7565b909155505050505050505050565b3360009081526001602052604090205460ff16611f1d5760405162461bcd60e51b8152600401610bcf90613baa565b828114611f3c5760405162461bcd60e51b8152600401610bcf90613dfc565b600080611f47610d99565b905060005b85811015611f8a57868682818110611f6657611f66613b79565b9050602002013583611f789190613ac7565b9250611f8381613b8f565b9050611f4c565b50601054611f988383613ac7565b10611fe55760405162461bcd60e51b815260206004820152601760248201527f566f756368657273206578636565647320737570706c790000000000000000006044820152606401610bcf565b60005b83811015611abd5786868281811061200257612002613b79565b905060200201356017600082825461201a9190613ac7565b90915550879050868281811061203257612032613b79565b905060200201356016600087878581811061204f5761204f613b79565b90506020020160208101906120649190613424565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546120939190613ac7565b909155506120a2905081613b8f565b9050611fe8565b3360009081526001602052604090205460ff166120d85760405162461bcd60e51b8152600401610bcf90613baa565b8281146120f75760405162461bcd60e51b8152600401610bcf90613dfc565b600080612102610d99565b905060005b858110156121455786868281811061212157612121613b79565b90506020020135836121339190613ac7565b925061213e81613b8f565b9050612107565b50600f546121538383613ac7565b1061219c5760405162461bcd60e51b81526020600482015260196024820152784d696e742f6f72646572206578636565647320737570706c7960381b6044820152606401610bcf565b60005b83811015611abd5760005b8787838181106121bc576121bc613b79565b9050602002013581101561220e576121fe8686848181106121df576121df613b79565b90506020020160208101906121f49190613424565b8461168781613b8f565b61220781613b8f565b90506121aa565b5061221881613b8f565b905061219f565b601354610100900460ff166122765760405162461bcd60e51b815260206004820152601c60248201527f50696e656170706c652073616c65206973206e6f7420616374697665000000006044820152606401610bcf565b600e548511156122985760405162461bcd60e51b8152600401610bcf90613bd4565b60006122a2610d99565b600f549091506122b28783613ac7565b11156122d05760405162461bcd60e51b8152600401610bcf90613bfb565b6122d8612acc565b6122e485858585612d5c565b6000866012546122f49190613adf565b60155460405163a1d4871360e01b81529192506001600160a01b03169063a1d487139061232d9089908990899089908890600401613d6f565b600060405180830381600087803b15801561234757600080fd5b505af115801561235b573d6000803e3d6000fd5b5050505060005b8781101561238857612378338461168781613b8f565b61238181613b8f565b9050612362565b5050505050505050565b6000546001600160a01b031633146123bc5760405162461bcd60e51b8152600401610bcf90613a65565b6001600160a01b0381166000908152600160208190526040909120805460ff191690911790556123eb81612e7d565b50565b3360009081526001602052604090205460ff1661241d5760405162461bcd60e51b8152600401610bcf90613baa565b8160115414158061243057508060125414155b61244c5760405162461bcd60e51b8152600401610bcf90613c73565b601191909155601255565b3360009081526001602052604090205460ff166124865760405162461bcd60e51b8152600401610bcf90613baa565b60135460ff1615158415151415806124ad575060135460ff61010090910416151583151514155b806124c8575060135460ff6201000090910416151582151514155b806124e4575060135460ff630100000090910416151581151514155b6125005760405162461bcd60e51b8152600401610bcf90613c73565b6013805461ffff191694151561ff00191694909417610100931515939093029290921763ffff00001916620100009115159190910263ff000000191617630100000091151591909102179055565b60006001600160e01b031982166380ac58cd60e01b148061257f57506001600160e01b03198216635b5e139f60e01b145b80610b0c57506301ffc9a760e01b6001600160e01b0319831614610b0c565b60055460009082108015610b0c575060006001600160a01b0316600583815481106125cb576125cb613b79565b6000918252602090912001546001600160a01b0316141592915050565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061261d82611234565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156126a65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bcf565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146126f3576040519150601f19603f3d011682016040523d82523d6000602084013e6126f8565b606091505b5050905080610d945760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bcf565b600061277a8261259e565b6127db5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bcf565b60006127e683611234565b9050806001600160a01b0316846001600160a01b031614806128215750836001600160a01b031661281684610bfb565b6001600160a01b0316145b8061285157506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661286c82611234565b6001600160a01b0316146128d45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610bcf565b6001600160a01b0382166129365760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bcf565b612941838383612f15565b61294c6000826125e8565b816005828154811061296057612960613b79565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60006001600160a01b0382166129e25760405162461bcd60e51b8152600401610bcf90613c29565b600554600090815b81811015612a405760058181548110612a0557612a05613b79565b6000918252602090912001546001600160a01b0386811691161415612a3057612a2d83613b8f565b92505b612a3981613b8f565b90506129ea565b50909392505050565b612a5383836130a6565b612a6060008484846131da565b610d945760405162461bcd60e51b8152600401610bcf90613e48565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6013546040516370a0823160e01b815233600482015260009164010000000090046001600160a01b0316906370a0823190602401602060405180830381865afa158015612b1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b419190613e9a565b905060028110612b4e5750565b6014546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612b97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbb9190613e9a565b9050600b8110612bc9575050565b600082118015612bda575060058110155b15612be3575050565b60405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f7567682041484d432f4152545720746f6b656e7300000000006044820152606401610bcf565b612c36848484612859565b612c42848484846131da565b6116ae5760405162461bcd60e51b8152600401610bcf90613e48565b606081612c825750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612cac5780612c9681613b8f565b9150612ca59050600a83613b14565b9150612c86565b60008167ffffffffffffffff811115612cc757612cc76137ab565b6040519080825280601f01601f191660200182016040528015612cf1576020820181803683370190505b5090505b841561285157612d06600183613ab0565b9150612d13600a86613eb3565b612d1e906030613ac7565b60f81b818381518110612d3357612d33613b79565b60200101906001600160f81b031916908160001a905350612d55600a86613b14565b9450612cf5565b60005b8381101561130857848482818110612d7957612d79613b79565b9050602002016020810190612d8e9190613424565b6001600160a01b0316636352211e848484818110612dae57612dae613b79565b905060200201356040518263ffffffff1660e01b8152600401612dd391815260200190565b602060405180830381865afa158015612df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e149190613ec7565b6001600160a01b0316336001600160a01b031614612e6d5760405162461bcd60e51b815260206004820152601660248201527524b73b30b634b21037bbb732b91037b3103a37b5b2b760511b6044820152606401610bcf565b612e7681613b8f565b9050612d5f565b6000546001600160a01b03163314612ea75760405162461bcd60e51b8152600401610bcf90613a65565b6001600160a01b038116612f0c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bcf565b6123eb81612a7c565b60006001600160a01b0384161561305e576001600160a01b038416600090815260086020526040812054905b8181101561305b576001600160a01b0386166000908152600860205260409020805485919083908110612f7657612f76613b79565b9060005260206000200154141561304b576001600160a01b0386166000908152600860205260409020612faa600184613ab0565b81548110612fba57612fba613b79565b906000526020600020015460086000886001600160a01b03166001600160a01b031681526020019081526020016000208281548110612ffb57612ffb613b79565b60009182526020808320909101929092556001600160a01b038816815260089091526040902080548061303057613030613ee4565b6001900381819060005260206000200160009055905561305b565b61305481613b8f565b9050612f41565b50505b806001600160a01b0316836001600160a01b0316146116ae57506001600160a01b03919091166000908152600860209081526040822080546001810182559083529120015550565b6001600160a01b0382166130fc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bcf565b6131058161259e565b156131525760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bcf565b61315e60008383612f15565b6005805460018101825560009182527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b156132cd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061321e903390899088908890600401613efa565b6020604051808303816000875af1925050508015613259575060408051601f3d908101601f1916820190925261325691810190613f37565b60015b6132b3573d808015613287576040519150601f19603f3d011682016040523d82523d6000602084013e61328c565b606091505b5080516132ab5760405162461bcd60e51b8152600401610bcf90613e48565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612851565b506001949350505050565b8280546132e490613a2a565b90600052602060002090601f016020900481019282613306576000855561334c565b82601f1061331f5782800160ff1982351617855561334c565b8280016001018555821561334c579182015b8281111561334c578235825591602001919060010190613331565b5061335892915061335c565b5090565b5b80821115613358576000815560010161335d565b6001600160e01b0319811681146123eb57600080fd5b60006020828403121561339957600080fd5b81356111b381613371565b60005b838110156133bf5781810151838201526020016133a7565b838111156116ae5750506000910152565b600081518084526133e88160208601602086016133a4565b601f01601f19169290920160200192915050565b6020815260006111b360208301846133d0565b6001600160a01b03811681146123eb57600080fd5b60006020828403121561343657600080fd5b81356111b38161340f565b60006020828403121561345357600080fd5b5035919050565b6000806040838503121561346d57600080fd5b82356134788161340f565b946020939093013593505050565b60008060006060848603121561349b57600080fd5b83356134a68161340f565b925060208401356134b68161340f565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b818110156134ff578351835292840192918401916001016134e3565b50909695505050505050565b80358015158114610bf657600080fd5b6000806040838503121561352e57600080fd5b82356135398161340f565b91506135476020840161350b565b90509250929050565b60008083601f84011261356257600080fd5b50813567ffffffffffffffff81111561357a57600080fd5b6020830191508360208260051b850101111561359557600080fd5b9250929050565b6000806000604084860312156135b157600080fd5b83356135bc8161340f565b9250602084013567ffffffffffffffff8111156135d857600080fd5b6135e486828701613550565b9497909650939450505050565b60008083601f84011261360357600080fd5b50813567ffffffffffffffff81111561361b57600080fd5b60208301915083602082850101111561359557600080fd5b6000806000806040858703121561364957600080fd5b843567ffffffffffffffff8082111561366157600080fd5b61366d888389016135f1565b9096509450602087013591508082111561368657600080fd5b50613693878288016135f1565b95989497509550505050565b6000806000606084860312156136b457600080fd5b505081359360208301359350604090920135919050565b6000806000606084860312156136e057600080fd5b83356136eb8161340f565b925060208401356136fb8161340f565b9150604084013561370b8161340f565b809150509250925092565b6000806000806000806080878903121561372f57600080fd5b863561373a8161340f565b9550602087013561374a8161340f565b9450604087013567ffffffffffffffff8082111561376757600080fd5b6137738a838b01613550565b9096509450606089013591508082111561378c57600080fd5b5061379989828a016135f1565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156137d757600080fd5b84356137e28161340f565b935060208501356137f28161340f565b925060408501359150606085013567ffffffffffffffff8082111561381657600080fd5b818701915087601f83011261382a57600080fd5b81358181111561383c5761383c6137ab565b604051601f8201601f19908116603f01168101908382118183101715613864576138646137ab565b816040528281528a602084870101111561387d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000806000606086880312156138b957600080fd5b85359450602086013567ffffffffffffffff808211156138d857600080fd5b6138e489838a01613550565b909650945060408801359150808211156138fd57600080fd5b5061390a88828901613550565b969995985093965092949392505050565b6000806000806040858703121561393157600080fd5b843567ffffffffffffffff8082111561394957600080fd5b61395588838901613550565b9096509450602087013591508082111561396e57600080fd5b5061369387828801613550565b6000806040838503121561398e57600080fd5b82356139998161340f565b915060208301356139a98161340f565b809150509250929050565b600080604083850312156139c757600080fd5b50508035926020909101359150565b600080600080608085870312156139ec57600080fd5b6139f58561350b565b9350613a036020860161350b565b9250613a116040860161350b565b9150613a1f6060860161350b565b905092959194509250565b600181811c90821680613a3e57607f821691505b60208210811415613a5f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015613ac257613ac2613a9a565b500390565b60008219821115613ada57613ada613a9a565b500190565b6000816000190483118215151615613af957613af9613a9a565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613b2357613b23613afe565b500490565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415613ba357613ba3613a9a565b5060010190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b6020808252600d908201526c4f7264657220746f6f2062696760981b604082015260600190565b6020808252601490820152734f72646572206578636565647320737570706c7960601b604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526015908201527413995dc81d985b1d59481b585d18da195cc81bdb19605a1b604082015260600190565b8054600090600181811c9080831680613cbc57607f831692505b6020808410821415613cde57634e487b7160e01b600052602260045260246000fd5b818015613cf25760018114613d0357613d30565b60ff19861689528489019650613d30565b60008881526020902060005b86811015613d285781548b820152908501908301613d0f565b505084890196505b50505050505092915050565b6000613d488286613ca2565b8451613d588183602089016133a4565b613d6481830186613ca2565b979650505050505050565b6060808252810185905260008660808301825b88811015613db2578235613d958161340f565b6001600160a01b0316825260209283019290910190600101613d82565b5083810360208501528581526001600160fb1b03861115613dd257600080fd5b8560051b915081876020830137600091016020019081526040929092019290925295945050505050565b6020808252602c908201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60408201526b6420726563697069656e747360a01b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600060208284031215613eac57600080fd5b5051919050565b600082613ec257613ec2613afe565b500690565b600060208284031215613ed957600080fd5b81516111b38161340f565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613f2d908301846133d0565b9695505050505050565b600060208284031215613f4957600080fd5b81516111b38161337156fea2646970667358221220acc7745021866166fa9bfa59d206ca88c63ef20890428397f2dafe86b948f14f64736f6c634300080a0033
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.