Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,069 PYC
Holders
991
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PYCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PepeYogaClub
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-18 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.13; /** ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣀⣠⣤⣤⣤⣤⣤⣤⡀⠀⠀⠀⠀⠀ ⣀⣤⣤⣤⣤⣤⣶⣶⣶⣶⣦⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⢀⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡦⣀⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢏⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⢠⣿⣿⣿⣿⣿⡿⠿⠟⢛⡛⠻⠿⣿⣿⣿⢟⣵⣿⣿⣿⣵⣶⣶⣶⣶⣶⣶⣭⣝⡛⠿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣼⣿⣿⣫⣥⣶⣾⣿⣿⣿⣿⣿⣿⡿⢋⣵⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⣶⣿⣿⡿⠟⣛⣛⣛⡛⢿⣿⣿⣿⡟⣱⣿⣿⣿⣛⣩⣭⣭⣥⣤⣦⣬⣭⣭⣛⣛⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿⣷⣾⣿⣿⣿⣿⣿⣿⣿⣿⡿⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣬⡻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣟⣛⣛⣛⡛⠻⠿⣿⣿⣿⣿⣿⣿⣿⣿⢃⣿⣿⣿⡿⠿⠟⢛⣛⣛⣛⣛⡛⠛⠿⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣾⣿⡿⠟⣛⣛⣛⣉⣙⣛⠻⢿⣿⣿⣿⣿⣿⣿⣾⢟⣩⣴⣾⣿⣛⣭⣭⣭⣭⣭⣭⣍⣛⡛⠷⣶⣭⡛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣾⢟⣥⣾⡿⠿⠿⠿⠿⠿⣿⣿⣷⣌⣻⣿⣿⣿⢟⣵⣿⣿⣿⣿⠿⠿⠿⠟⠛⠿⠿⠿⢿⣿⣿⣿⣶⣍⠻⣷⣌⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡇⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠻⣿⣿⣿⣿⣿⣿⣿⠟⠉⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀ ⠙⣿⣿⣿⣿⣿⣿⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⣟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀ ⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⡇⣿⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢳⡸⣷⣄⣀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣴⣿⣿⣿⢿⣿⣿⣷⣤⣄⣀⠀⠀⠀⠀ ⢀⣀⣀⣤⣴⣾⣿⣿⠿⣛⣵⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢳⡈⢙⣛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣙⡛⠛⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠛⣛⣫⣭⣴⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣶⣭⣿⣿⣿⣿⣿⣶⡤⢔⣊⣵⣿⣿⣿⣿⣿⡹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⣹⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⢫⣾⣿⣿⣿⠏⠀⠙⢿⣿⣷⣝⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⣿⣿⣿⣿⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠈⣿⣿⣿⣷⣬⣽⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠛⠛⢻⡌⢿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⣴⣤⣀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠛⠛⠁⠀⠀⠀⢠⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠟⣛⡛⣩⣥⣦⠺⠿⠃⠀⠀⠀⠀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⣙⣛⠛⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢛⣛⣩⣴⡆⣾⡿⠘⠛⠋⠈⠁⠀⠀⠀⣠⡀⠾⣣⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⠿⠿⠸⣿⣶⡆⣶⣬⣭⡍⣭⣭⡍⣭⣭⣭⡍⣥⣴⡖⢾⡿⠟⠘⠋⠁⠀⠀⠀⠀⠀⢀⣀⢠⣶⡜⠟⣩⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠁⠉⠛⠁⠙⠛⠋⠁⠉⠁⠀⠀⠀⠀⠀⠀⠀⣀⣀⢠⣴⣦⠻⠿⢊⣩⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⢀⣤⣄⠀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣀⣀⢀⣤⡄⣶⣶⡎⠿⠿⢃⣫⣥⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣦⣭⣛⡘⠿⠿⠲⠿⠶⠰⣶⠶⠰⠾⠷⠰⠿⠿⠸⠿⠛⣘⣛⣡⣭⣴⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⣿⣿⣷⣶⣶⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠛⠛⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ** Twitter https://twitter.com/PepeYogaClubNFT ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ **/ // ERC721A Contracts v4.2.2 // Creator: Chiru Labs /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * 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, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } contract PepeYogaClub is ERC721A, Ownable { string public baseURI = "ipfs://QmTLWN9WPq5L9eS9EKcTn2rqUCzr9QK5sd8DYVkkL7yguL/"; string public contractURI = "ipfs://QmUvB8sKL4XFTxbMkL9FykiqLgrXeBV1mUkdzWMWhachvD"; uint256 public MAX_PER_WALLET = 11; uint256 public constant MAX_SUPPLY = 2069; uint256 public price = 0.0069 ether; bool public paused = true; constructor() ERC721A("PepeYogaClub", "PYC") {} function mint(uint256 _amount) external payable { address _caller = _msgSender(); require(!paused, "Paused"); require(MAX_SUPPLY >= totalSupply() + _amount, "Exceeds max supply"); require(_amount > 0, "No 0 mints"); require(_numberMinted(_caller) + _amount <= MAX_PER_WALLET, "Exceeds max per wallet"); require(tx.origin == _caller, "No contracts"); uint256 cost = _amount * price; if(_numberMinted(_caller) == 0) cost -= price; require(msg.value >= cost, "Invalid funds provided"); _safeMint(_caller, _amount); } function _startTokenId() internal override view virtual returns (uint256) { return 1; } function minted(address _owner) public view returns (uint256) { return _numberMinted(_owner); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; (bool success, ) = _msgSender().call{value: balance}(""); require(success, "Failed to send"); } function teamMint(address[] memory _to, uint256[] memory _amount) external onlyOwner { require(_to.length == _amount.length, "Not same lenght"); for (uint256 i; i < _to.length; i++) { _safeMint(_to[i], _amount[i]); } } function setMaxPerWallet(uint256 _max) external onlyOwner { MAX_PER_WALLET = _max; } function setPrice(uint256 _price) external onlyOwner { price = _price; } function toggleMint() external onlyOwner { paused = !paused; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function setContractURI(string memory _contractURI) external onlyOwner { contractURI = _contractURI; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(_tokenId), ".json" ) ) : ""; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052603660808181529062001f9160a039600990620000229082620001e8565b5060405180606001604052806035815260200162001f5c60359139600a906200004c9082620001e8565b50600b80556618838370f34000600c55600d805460ff191660011790553480156200007657600080fd5b506040518060400160405280600c81526020016b2832b832acb7b3b0a1b63ab160a11b8152506040518060400160405280600381526020016250594360e81b8152508160029081620000c99190620001e8565b506003620000d88282620001e8565b5050600160005550620000eb33620000f1565b620002b4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016e57607f821691505b6020821081036200018f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e357600081815260208120601f850160051c81016020861015620001be5750805b601f850160051c820191505b81811015620001df57828155600101620001ca565b5050505b505050565b81516001600160401b0381111562000204576200020462000143565b6200021c8162000215845462000159565b8462000195565b602080601f8311600181146200025457600084156200023b5750858301515b600019600386901b1c1916600185901b178555620001df565b600085815260208120601f198616915b82811015620002855788860151825594840194600190910190840162000264565b5085821015620002a45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611c9880620002c46000396000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063a22cb46511610095578063e268e4d311610064578063e268e4d31461053a578063e8a3d4851461055a578063e985e9c51461056f578063f2fde38b146105b857600080fd5b8063a22cb465146104c5578063b88d4fde146104e5578063c87b56dd14610505578063d3dd5fe01461052557600080fd5b8063938e3d7b116100d1578063938e3d7b1461046757806395d89b4114610487578063a035b1fe1461049c578063a0712d68146104b257600080fd5b8063715018a6146103f4578063744eba2c146104095780638da5cb5b1461042957806391b7f5ed1461044757600080fd5b806332cb6b0c1161017a5780635c975abb116101495780635c975abb146103855780636352211e1461039f5780636c0360eb146103bf57806370a08231146103d457600080fd5b806332cb6b0c1461031a5780633ccfd60b1461033057806342842e0e1461034557806355f804b31461036557600080fd5b80630f2cdd6c116101b65780630f2cdd6c1461029957806318160ddd146102bd5780631e7269c5146102da57806323b872dd146102fa57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b50610208610203366004611500565b6105d8565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b5061023261062a565b6040516102149190611575565b34801561024b57600080fd5b5061025f61025a366004611588565b6106bc565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b506102976102923660046115bd565b610700565b005b3480156102a557600080fd5b506102af600b5481565b604051908152602001610214565b3480156102c957600080fd5b5060015460005403600019016102af565b3480156102e657600080fd5b506102af6102f53660046115e7565b6107a0565b34801561030657600080fd5b50610297610315366004611602565b6107ab565b34801561032657600080fd5b506102af61081581565b34801561033c57600080fd5b50610297610944565b34801561035157600080fd5b50610297610360366004611602565b6109e0565b34801561037157600080fd5b506102976103803660046116dd565b610a00565b34801561039157600080fd5b50600d546102089060ff1681565b3480156103ab57600080fd5b5061025f6103ba366004611588565b610a14565b3480156103cb57600080fd5b50610232610a1f565b3480156103e057600080fd5b506102af6103ef3660046115e7565b610aad565b34801561040057600080fd5b50610297610afc565b34801561041557600080fd5b506102976104243660046117b5565b610b10565b34801561043557600080fd5b506008546001600160a01b031661025f565b34801561045357600080fd5b50610297610462366004611588565b610bb5565b34801561047357600080fd5b506102976104823660046116dd565b610bc2565b34801561049357600080fd5b50610232610bd6565b3480156104a857600080fd5b506102af600c5481565b6102976104c0366004611588565b610be5565b3480156104d157600080fd5b506102976104e0366004611875565b610de8565b3480156104f157600080fd5b506102976105003660046118b1565b610e54565b34801561051157600080fd5b50610232610520366004611588565b610e9e565b34801561053157600080fd5b50610297610f49565b34801561054657600080fd5b50610297610555366004611588565b610f65565b34801561056657600080fd5b50610232610f72565b34801561057b57600080fd5b5061020861058a36600461192d565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105c457600080fd5b506102976105d33660046115e7565b610f7f565b60006301ffc9a760e01b6001600160e01b03198316148061060957506380ac58cd60e01b6001600160e01b03198316145b806106245750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461063990611960565b80601f016020809104026020016040519081016040528092919081815260200182805461066590611960565b80156106b25780601f10610687576101008083540402835291602001916106b2565b820191906000526020600020905b81548152906001019060200180831161069557829003601f168201915b5050505050905090565b60006106c782610ff8565b6106e4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061070b82610a14565b9050336001600160a01b0382161461074457610727813361058a565b610744576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006106248261102d565b60006107b682611056565b9050836001600160a01b0316816001600160a01b0316146107e95760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761083657610819863361058a565b61083657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661085d57604051633a954ecd60e21b815260040160405180910390fd5b801561086857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108fa576001840160008181526004602052604081205490036108f85760005481146108f85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61094c6110cc565b6040514790600090339083908381818185875af1925050503d8060008114610990576040519150601f19603f3d011682016040523d82523d6000602084013e610995565b606091505b50509050806109dc5760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b60448201526064015b60405180910390fd5b5050565b6109fb83838360405180602001604052806000815250610e54565b505050565b610a086110cc565b60096109dc82826119e0565b600061062482611056565b60098054610a2c90611960565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5890611960565b8015610aa55780601f10610a7a57610100808354040283529160200191610aa5565b820191906000526020600020905b815481529060010190602001808311610a8857829003601f168201915b505050505081565b60006001600160a01b038216610ad6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b046110cc565b610b0e6000611126565b565b610b186110cc565b8051825114610b5b5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081cd85b59481b195b99da1d608a1b60448201526064016109d3565b60005b82518110156109fb57610ba3838281518110610b7c57610b7c611aa0565b6020026020010151838381518110610b9657610b96611aa0565b6020026020010151611178565b80610bad81611acc565b915050610b5e565b610bbd6110cc565b600c55565b610bca6110cc565b600a6109dc82826119e0565b60606003805461063990611960565b600d54339060ff1615610c235760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064016109d3565b6001546000548391900360001901610c3b9190611ae5565b6108151015610c815760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016109d3565b60008211610cbe5760405162461bcd60e51b815260206004820152600a6024820152694e6f2030206d696e747360b01b60448201526064016109d3565b600b5482610ccb8361102d565b610cd59190611ae5565b1115610d1c5760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b60448201526064016109d3565b326001600160a01b03821614610d635760405162461bcd60e51b815260206004820152600c60248201526b4e6f20636f6e74726163747360a01b60448201526064016109d3565b6000600c5483610d739190611afd565b9050610d7e8261102d565b600003610d9557600c54610d929082611b1c565b90505b80341015610dde5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016109d3565b6109fb8284611178565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e5f8484846107ab565b6001600160a01b0383163b15610e9857610e7b84848484611192565b610e98576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610ea982610ff8565b610eed5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016109d3565b600060098054610efc90611960565b905011610f185760405180602001604052806000815250610624565b6009610f238361127e565b604051602001610f34929190611b33565b60405160208183030381529060405292915050565b610f516110cc565b600d805460ff19811660ff90911615179055565b610f6d6110cc565b600b55565b600a8054610a2c90611960565b610f876110cc565b6001600160a01b038116610fec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d3565b610ff581611126565b50565b60008160011115801561100c575060005482105b8015610624575050600090815260046020526040902054600160e01b161590565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b600081806001116110b3576000548110156110b35760008181526004602052604081205490600160e01b821690036110b1575b806000036110aa575060001901600081815260046020526040902054611089565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610b0e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109dc82826040518060200160405280600081525061137f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111c7903390899088908890600401611bca565b6020604051808303816000875af1925050508015611202575060408051601f3d908101601f191682019092526111ff91810190611c07565b60015b611260573d808015611230576040519150601f19603f3d011682016040523d82523d6000602084013e611235565b606091505b508051600003611258576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036112a55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112cf57806112b981611acc565b91506112c89050600a83611c3a565b91506112a9565b60008167ffffffffffffffff8111156112ea576112ea61163e565b6040519080825280601f01601f191660200182016040528015611314576020820181803683370190505b5090505b841561127657611329600183611b1c565b9150611336600a86611c4e565b611341906030611ae5565b60f81b81838151811061135657611356611aa0565b60200101906001600160f81b031916908160001a905350611378600a86611c3a565b9450611318565b61138983836113ec565b6001600160a01b0383163b156109fb576000548281035b6113b36000868380600101945086611192565b6113d0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106113a05781600054146113e557600080fd5b5050505050565b60008054908290036114115760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146114c057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611488565b50816000036114e157604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610ff557600080fd5b60006020828403121561151257600080fd5b81356110aa816114ea565b60005b83811015611538578181015183820152602001611520565b83811115610e985750506000910152565b6000815180845261156181602086016020860161151d565b601f01601f19169290920160200192915050565b6020815260006110aa6020830184611549565b60006020828403121561159a57600080fd5b5035919050565b80356001600160a01b03811681146115b857600080fd5b919050565b600080604083850312156115d057600080fd5b6115d9836115a1565b946020939093013593505050565b6000602082840312156115f957600080fd5b6110aa826115a1565b60008060006060848603121561161757600080fd5b611620846115a1565b925061162e602085016115a1565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561167d5761167d61163e565b604052919050565b600067ffffffffffffffff83111561169f5761169f61163e565b6116b2601f8401601f1916602001611654565b90508281528383830111156116c657600080fd5b828260208301376000602084830101529392505050565b6000602082840312156116ef57600080fd5b813567ffffffffffffffff81111561170657600080fd5b8201601f8101841361171757600080fd5b61127684823560208401611685565b600067ffffffffffffffff8211156117405761174061163e565b5060051b60200190565b600082601f83011261175b57600080fd5b8135602061177061176b83611726565b611654565b82815260059290921b8401810191818101908684111561178f57600080fd5b8286015b848110156117aa5780358352918301918301611793565b509695505050505050565b600080604083850312156117c857600080fd5b823567ffffffffffffffff808211156117e057600080fd5b818501915085601f8301126117f457600080fd5b8135602061180461176b83611726565b82815260059290921b8401810191818101908984111561182357600080fd5b948201945b8386101561184857611839866115a1565b82529482019490820190611828565b9650508601359250508082111561185e57600080fd5b5061186b8582860161174a565b9150509250929050565b6000806040838503121561188857600080fd5b611891836115a1565b9150602083013580151581146118a657600080fd5b809150509250929050565b600080600080608085870312156118c757600080fd5b6118d0856115a1565b93506118de602086016115a1565b925060408501359150606085013567ffffffffffffffff81111561190157600080fd5b8501601f8101871361191257600080fd5b61192187823560208401611685565b91505092959194509250565b6000806040838503121561194057600080fd5b611949836115a1565b9150611957602084016115a1565b90509250929050565b600181811c9082168061197457607f821691505b60208210810361199457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109fb57600081815260208120601f850160051c810160208610156119c15750805b601f850160051c820191505b8181101561093c578281556001016119cd565b815167ffffffffffffffff8111156119fa576119fa61163e565b611a0e81611a088454611960565b8461199a565b602080601f831160018114611a435760008415611a2b5750858301515b600019600386901b1c1916600185901b17855561093c565b600085815260208120601f198616915b82811015611a7257888601518255948401946001909101908401611a53565b5085821015611a905787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611ade57611ade611ab6565b5060010190565b60008219821115611af857611af8611ab6565b500190565b6000816000190483118215151615611b1757611b17611ab6565b500290565b600082821015611b2e57611b2e611ab6565b500390565b6000808454611b4181611960565b60018281168015611b595760018114611b6e57611b9d565b60ff1984168752821515830287019450611b9d565b8860005260208060002060005b85811015611b945781548a820152908401908201611b7b565b50505082870194505b505050508351611bb181836020880161151d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bfd90830184611549565b9695505050505050565b600060208284031215611c1957600080fd5b81516110aa816114ea565b634e487b7160e01b600052601260045260246000fd5b600082611c4957611c49611c24565b500490565b600082611c5d57611c5d611c24565b50069056fea2646970667358221220b7bf8efbe7f1e633841a1cc24a4286a5ad5c6907c7559d28275a83c24d1739cb64736f6c634300080f0033697066733a2f2f516d55764238734b4c3458465478624d6b4c3946796b69714c677258654256316d556b647a574d57686163687644697066733a2f2f516d544c574e39575071354c39655339454b63546e32727155437a7239514b357364384459566b6b4c377967754c2f
Deployed Bytecode
0x6080604052600436106101e35760003560e01c8063715018a611610102578063a22cb46511610095578063e268e4d311610064578063e268e4d31461053a578063e8a3d4851461055a578063e985e9c51461056f578063f2fde38b146105b857600080fd5b8063a22cb465146104c5578063b88d4fde146104e5578063c87b56dd14610505578063d3dd5fe01461052557600080fd5b8063938e3d7b116100d1578063938e3d7b1461046757806395d89b4114610487578063a035b1fe1461049c578063a0712d68146104b257600080fd5b8063715018a6146103f4578063744eba2c146104095780638da5cb5b1461042957806391b7f5ed1461044757600080fd5b806332cb6b0c1161017a5780635c975abb116101495780635c975abb146103855780636352211e1461039f5780636c0360eb146103bf57806370a08231146103d457600080fd5b806332cb6b0c1461031a5780633ccfd60b1461033057806342842e0e1461034557806355f804b31461036557600080fd5b80630f2cdd6c116101b65780630f2cdd6c1461029957806318160ddd146102bd5780631e7269c5146102da57806323b872dd146102fa57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b50610208610203366004611500565b6105d8565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b5061023261062a565b6040516102149190611575565b34801561024b57600080fd5b5061025f61025a366004611588565b6106bc565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b506102976102923660046115bd565b610700565b005b3480156102a557600080fd5b506102af600b5481565b604051908152602001610214565b3480156102c957600080fd5b5060015460005403600019016102af565b3480156102e657600080fd5b506102af6102f53660046115e7565b6107a0565b34801561030657600080fd5b50610297610315366004611602565b6107ab565b34801561032657600080fd5b506102af61081581565b34801561033c57600080fd5b50610297610944565b34801561035157600080fd5b50610297610360366004611602565b6109e0565b34801561037157600080fd5b506102976103803660046116dd565b610a00565b34801561039157600080fd5b50600d546102089060ff1681565b3480156103ab57600080fd5b5061025f6103ba366004611588565b610a14565b3480156103cb57600080fd5b50610232610a1f565b3480156103e057600080fd5b506102af6103ef3660046115e7565b610aad565b34801561040057600080fd5b50610297610afc565b34801561041557600080fd5b506102976104243660046117b5565b610b10565b34801561043557600080fd5b506008546001600160a01b031661025f565b34801561045357600080fd5b50610297610462366004611588565b610bb5565b34801561047357600080fd5b506102976104823660046116dd565b610bc2565b34801561049357600080fd5b50610232610bd6565b3480156104a857600080fd5b506102af600c5481565b6102976104c0366004611588565b610be5565b3480156104d157600080fd5b506102976104e0366004611875565b610de8565b3480156104f157600080fd5b506102976105003660046118b1565b610e54565b34801561051157600080fd5b50610232610520366004611588565b610e9e565b34801561053157600080fd5b50610297610f49565b34801561054657600080fd5b50610297610555366004611588565b610f65565b34801561056657600080fd5b50610232610f72565b34801561057b57600080fd5b5061020861058a36600461192d565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105c457600080fd5b506102976105d33660046115e7565b610f7f565b60006301ffc9a760e01b6001600160e01b03198316148061060957506380ac58cd60e01b6001600160e01b03198316145b806106245750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461063990611960565b80601f016020809104026020016040519081016040528092919081815260200182805461066590611960565b80156106b25780601f10610687576101008083540402835291602001916106b2565b820191906000526020600020905b81548152906001019060200180831161069557829003601f168201915b5050505050905090565b60006106c782610ff8565b6106e4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061070b82610a14565b9050336001600160a01b0382161461074457610727813361058a565b610744576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006106248261102d565b60006107b682611056565b9050836001600160a01b0316816001600160a01b0316146107e95760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761083657610819863361058a565b61083657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661085d57604051633a954ecd60e21b815260040160405180910390fd5b801561086857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108fa576001840160008181526004602052604081205490036108f85760005481146108f85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61094c6110cc565b6040514790600090339083908381818185875af1925050503d8060008114610990576040519150601f19603f3d011682016040523d82523d6000602084013e610995565b606091505b50509050806109dc5760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b60448201526064015b60405180910390fd5b5050565b6109fb83838360405180602001604052806000815250610e54565b505050565b610a086110cc565b60096109dc82826119e0565b600061062482611056565b60098054610a2c90611960565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5890611960565b8015610aa55780601f10610a7a57610100808354040283529160200191610aa5565b820191906000526020600020905b815481529060010190602001808311610a8857829003601f168201915b505050505081565b60006001600160a01b038216610ad6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b046110cc565b610b0e6000611126565b565b610b186110cc565b8051825114610b5b5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081cd85b59481b195b99da1d608a1b60448201526064016109d3565b60005b82518110156109fb57610ba3838281518110610b7c57610b7c611aa0565b6020026020010151838381518110610b9657610b96611aa0565b6020026020010151611178565b80610bad81611acc565b915050610b5e565b610bbd6110cc565b600c55565b610bca6110cc565b600a6109dc82826119e0565b60606003805461063990611960565b600d54339060ff1615610c235760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064016109d3565b6001546000548391900360001901610c3b9190611ae5565b6108151015610c815760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016109d3565b60008211610cbe5760405162461bcd60e51b815260206004820152600a6024820152694e6f2030206d696e747360b01b60448201526064016109d3565b600b5482610ccb8361102d565b610cd59190611ae5565b1115610d1c5760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b60448201526064016109d3565b326001600160a01b03821614610d635760405162461bcd60e51b815260206004820152600c60248201526b4e6f20636f6e74726163747360a01b60448201526064016109d3565b6000600c5483610d739190611afd565b9050610d7e8261102d565b600003610d9557600c54610d929082611b1c565b90505b80341015610dde5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016109d3565b6109fb8284611178565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e5f8484846107ab565b6001600160a01b0383163b15610e9857610e7b84848484611192565b610e98576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610ea982610ff8565b610eed5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016109d3565b600060098054610efc90611960565b905011610f185760405180602001604052806000815250610624565b6009610f238361127e565b604051602001610f34929190611b33565b60405160208183030381529060405292915050565b610f516110cc565b600d805460ff19811660ff90911615179055565b610f6d6110cc565b600b55565b600a8054610a2c90611960565b610f876110cc565b6001600160a01b038116610fec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d3565b610ff581611126565b50565b60008160011115801561100c575060005482105b8015610624575050600090815260046020526040902054600160e01b161590565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b600081806001116110b3576000548110156110b35760008181526004602052604081205490600160e01b821690036110b1575b806000036110aa575060001901600081815260046020526040902054611089565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610b0e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109dc82826040518060200160405280600081525061137f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111c7903390899088908890600401611bca565b6020604051808303816000875af1925050508015611202575060408051601f3d908101601f191682019092526111ff91810190611c07565b60015b611260573d808015611230576040519150601f19603f3d011682016040523d82523d6000602084013e611235565b606091505b508051600003611258576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036112a55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112cf57806112b981611acc565b91506112c89050600a83611c3a565b91506112a9565b60008167ffffffffffffffff8111156112ea576112ea61163e565b6040519080825280601f01601f191660200182016040528015611314576020820181803683370190505b5090505b841561127657611329600183611b1c565b9150611336600a86611c4e565b611341906030611ae5565b60f81b81838151811061135657611356611aa0565b60200101906001600160f81b031916908160001a905350611378600a86611c3a565b9450611318565b61138983836113ec565b6001600160a01b0383163b156109fb576000548281035b6113b36000868380600101945086611192565b6113d0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106113a05781600054146113e557600080fd5b5050505050565b60008054908290036114115760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146114c057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611488565b50816000036114e157604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610ff557600080fd5b60006020828403121561151257600080fd5b81356110aa816114ea565b60005b83811015611538578181015183820152602001611520565b83811115610e985750506000910152565b6000815180845261156181602086016020860161151d565b601f01601f19169290920160200192915050565b6020815260006110aa6020830184611549565b60006020828403121561159a57600080fd5b5035919050565b80356001600160a01b03811681146115b857600080fd5b919050565b600080604083850312156115d057600080fd5b6115d9836115a1565b946020939093013593505050565b6000602082840312156115f957600080fd5b6110aa826115a1565b60008060006060848603121561161757600080fd5b611620846115a1565b925061162e602085016115a1565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561167d5761167d61163e565b604052919050565b600067ffffffffffffffff83111561169f5761169f61163e565b6116b2601f8401601f1916602001611654565b90508281528383830111156116c657600080fd5b828260208301376000602084830101529392505050565b6000602082840312156116ef57600080fd5b813567ffffffffffffffff81111561170657600080fd5b8201601f8101841361171757600080fd5b61127684823560208401611685565b600067ffffffffffffffff8211156117405761174061163e565b5060051b60200190565b600082601f83011261175b57600080fd5b8135602061177061176b83611726565b611654565b82815260059290921b8401810191818101908684111561178f57600080fd5b8286015b848110156117aa5780358352918301918301611793565b509695505050505050565b600080604083850312156117c857600080fd5b823567ffffffffffffffff808211156117e057600080fd5b818501915085601f8301126117f457600080fd5b8135602061180461176b83611726565b82815260059290921b8401810191818101908984111561182357600080fd5b948201945b8386101561184857611839866115a1565b82529482019490820190611828565b9650508601359250508082111561185e57600080fd5b5061186b8582860161174a565b9150509250929050565b6000806040838503121561188857600080fd5b611891836115a1565b9150602083013580151581146118a657600080fd5b809150509250929050565b600080600080608085870312156118c757600080fd5b6118d0856115a1565b93506118de602086016115a1565b925060408501359150606085013567ffffffffffffffff81111561190157600080fd5b8501601f8101871361191257600080fd5b61192187823560208401611685565b91505092959194509250565b6000806040838503121561194057600080fd5b611949836115a1565b9150611957602084016115a1565b90509250929050565b600181811c9082168061197457607f821691505b60208210810361199457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109fb57600081815260208120601f850160051c810160208610156119c15750805b601f850160051c820191505b8181101561093c578281556001016119cd565b815167ffffffffffffffff8111156119fa576119fa61163e565b611a0e81611a088454611960565b8461199a565b602080601f831160018114611a435760008415611a2b5750858301515b600019600386901b1c1916600185901b17855561093c565b600085815260208120601f198616915b82811015611a7257888601518255948401946001909101908401611a53565b5085821015611a905787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611ade57611ade611ab6565b5060010190565b60008219821115611af857611af8611ab6565b500190565b6000816000190483118215151615611b1757611b17611ab6565b500290565b600082821015611b2e57611b2e611ab6565b500390565b6000808454611b4181611960565b60018281168015611b595760018114611b6e57611b9d565b60ff1984168752821515830287019450611b9d565b8860005260208060002060005b85811015611b945781548a820152908401908201611b7b565b50505082870194505b505050508351611bb181836020880161151d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bfd90830184611549565b9695505050505050565b600060208284031215611c1957600080fd5b81516110aa816114ea565b634e487b7160e01b600052601260045260246000fd5b600082611c4957611c49611c24565b500490565b600082611c5d57611c5d611c24565b50069056fea2646970667358221220b7bf8efbe7f1e633841a1cc24a4286a5ad5c6907c7559d28275a83c24d1739cb64736f6c634300080f0033
Deployed Bytecode Sourcemap
64789:2659:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26339:639;;;;;;;;;;-1:-1:-1;26339:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;26339:639:0;;;;;;;;27241:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33724:218::-;;;;;;;;;;-1:-1:-1;33724:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;33724:218:0;1528:203:1;33165:400:0;;;;;;;;;;-1:-1:-1;33165:400:0;;;;;:::i;:::-;;:::i;:::-;;65019:34;;;;;;;;;;;;;;;;;;;2319:25:1;;;2307:2;2292:18;65019:34:0;2173:177:1;22992:323:0;;;;;;;;;;-1:-1:-1;65951:1:0;23266:12;23053:7;23250:13;:28;-1:-1:-1;;23250:46:0;22992:323;;65968:109;;;;;;;;;;-1:-1:-1;65968:109:0;;;;;:::i;:::-;;:::i;37363:2817::-;;;;;;;;;;-1:-1:-1;37363:2817:0;;;;;:::i;:::-;;:::i;65060:41::-;;;;;;;;;;;;65097:4;65060:41;;66085:209;;;;;;;;;;;;;:::i;40276:185::-;;;;;;;;;;-1:-1:-1;40276:185:0;;;;;:::i;:::-;;:::i;66857:100::-;;;;;;;;;;-1:-1:-1;66857:100:0;;;;;:::i;:::-;;:::i;65152:25::-;;;;;;;;;;-1:-1:-1;65152:25:0;;;;;;;;28634:152;;;;;;;;;;-1:-1:-1;28634:152:0;;;;;:::i;:::-;;:::i;64840:80::-;;;;;;;;;;;;;:::i;24176:233::-;;;;;;;;;;-1:-1:-1;24176:233:0;;;;;:::i;:::-;;:::i;63970:103::-;;;;;;;;;;;;;:::i;66302:263::-;;;;;;;;;;-1:-1:-1;66302:263:0;;;;;:::i;:::-;;:::i;63322:87::-;;;;;;;;;;-1:-1:-1;63395:6:0;;-1:-1:-1;;;;;63395:6:0;63322:87;;66679:86;;;;;;;;;;-1:-1:-1;66679:86:0;;;;;:::i;:::-;;:::i;66965:116::-;;;;;;;;;;-1:-1:-1;66965:116:0;;;;;:::i;:::-;;:::i;27417:104::-;;;;;;;;;;;;;:::i;65108:35::-;;;;;;;;;;;;;;;;65241:610;;;;;;:::i;:::-;;:::i;34282:234::-;;;;;;;;;;-1:-1:-1;34282:234:0;;;;;:::i;:::-;;:::i;41059:399::-;;;;;;;;;;-1:-1:-1;41059:399:0;;;;;:::i;:::-;;:::i;67089:356::-;;;;;;;;;;-1:-1:-1;67089:356:0;;;;;:::i;:::-;;:::i;66773:76::-;;;;;;;;;;;;;:::i;66573:98::-;;;;;;;;;;-1:-1:-1;66573:98:0;;;;;:::i;:::-;;:::i;64927:83::-;;;;;;;;;;;;;:::i;34673:164::-;;;;;;;;;;-1:-1:-1;34673:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34794:25:0;;;34770:4;34794:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34673:164;64228:201;;;;;;;;;;-1:-1:-1;64228:201:0;;;;;:::i;:::-;;:::i;26339:639::-;26424:4;-1:-1:-1;;;;;;;;;26748:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;26825:25:0;;;26748:102;:179;;;-1:-1:-1;;;;;;;;;;26902:25:0;;;26748:179;26728:199;26339:639;-1:-1:-1;;26339:639:0:o;27241:100::-;27295:13;27328:5;27321:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27241:100;:::o;33724:218::-;33800:7;33825:16;33833:7;33825;:16::i;:::-;33820:64;;33850:34;;-1:-1:-1;;;33850:34:0;;;;;;;;;;;33820:64;-1:-1:-1;33904:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;33904:30:0;;33724:218::o;33165:400::-;33246:13;33262:16;33270:7;33262;:16::i;:::-;33246:32;-1:-1:-1;57220:10:0;-1:-1:-1;;;;;33295:28:0;;;33291:175;;33343:44;33360:5;57220:10;34673:164;:::i;33343:44::-;33338:128;;33415:35;;-1:-1:-1;;;33415:35:0;;;;;;;;;;;33338:128;33478:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;33478:35:0;-1:-1:-1;;;;;33478:35:0;;;;;;;;;33529:28;;33478:24;;33529:28;;;;;;;33235:330;33165:400;;:::o;65968:109::-;66021:7;66048:21;66062:6;66048:13;:21::i;37363:2817::-;37497:27;37527;37546:7;37527:18;:27::i;:::-;37497:57;;37612:4;-1:-1:-1;;;;;37571:45:0;37587:19;-1:-1:-1;;;;;37571:45:0;;37567:86;;37625:28;;-1:-1:-1;;;37625:28:0;;;;;;;;;;;37567:86;37667:27;36471:24;;;:15;:24;;;;;36699:26;;57220:10;36096:30;;;-1:-1:-1;;;;;35789:28:0;;36074:20;;;36071:56;37853:180;;37946:43;37963:4;57220:10;34673:164;:::i;37946:43::-;37941:92;;37998:35;;-1:-1:-1;;;37998:35:0;;;;;;;;;;;37941:92;-1:-1:-1;;;;;38050:16:0;;38046:52;;38075:23;;-1:-1:-1;;;38075:23:0;;;;;;;;;;;38046:52;38247:15;38244:160;;;38387:1;38366:19;38359:30;38244:160;-1:-1:-1;;;;;38784:24:0;;;;;;;:18;:24;;;;;;38782:26;;-1:-1:-1;;38782:26:0;;;38853:22;;;;;;;;;38851:24;;-1:-1:-1;38851:24:0;;;32023:11;31998:23;31994:41;31981:63;-1:-1:-1;;;31981:63:0;39146:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;39441:47:0;;:52;;39437:627;;39546:1;39536:11;;39514:19;39669:30;;;:17;:30;;;;;;:35;;39665:384;;39807:13;;39792:11;:28;39788:242;;39954:30;;;;:17;:30;;;;;:52;;;39788:242;39495:569;39437:627;40111:7;40107:2;-1:-1:-1;;;;;40092:27:0;40101:4;-1:-1:-1;;;;;40092:27:0;;;;;;;;;;;40130:42;37486:2694;;;37363:2817;;;:::o;66085:209::-;63208:13;:11;:13::i;:::-;66204:37:::1;::::0;66153:21:::1;::::0;66135:15:::1;::::0;57220:10;;66153:21;;66135:15;66204:37;66135:15;66204:37;66153:21;57220:10;66204:37:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66185:56;;;66260:7;66252:34;;;::::0;-1:-1:-1;;;66252:34:0;;8251:2:1;66252:34:0::1;::::0;::::1;8233:21:1::0;8290:2;8270:18;;;8263:30;-1:-1:-1;;;8309:18:1;;;8302:44;8363:18;;66252:34:0::1;;;;;;;;;66124:170;;66085:209::o:0;40276:185::-;40414:39;40431:4;40437:2;40441:7;40414:39;;;;;;;;;;;;:16;:39::i;:::-;40276:185;;;:::o;66857:100::-;63208:13;:11;:13::i;:::-;66931:7:::1;:18;66941:8:::0;66931:7;:18:::1;:::i;28634:152::-:0;28706:7;28749:27;28768:7;28749:18;:27::i;64840:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24176:233::-;24248:7;-1:-1:-1;;;;;24272:19:0;;24268:60;;24300:28;;-1:-1:-1;;;24300:28:0;;;;;;;;;;;24268:60;-1:-1:-1;;;;;;24346:25:0;;;;;:18;:25;;;;;;18335:13;24346:55;;24176:233::o;63970:103::-;63208:13;:11;:13::i;:::-;64035:30:::1;64062:1;64035:18;:30::i;:::-;63970:103::o:0;66302:263::-;63208:13;:11;:13::i;:::-;66420:7:::1;:14;66406:3;:10;:28;66398:56;;;::::0;-1:-1:-1;;;66398:56:0;;10798:2:1;66398:56:0::1;::::0;::::1;10780:21:1::0;10837:2;10817:18;;;10810:30;-1:-1:-1;;;10856:18:1;;;10849:45;10911:18;;66398:56:0::1;10596:339:1::0;66398:56:0::1;66470:9;66465:93;66485:3;:10;66481:1;:14;66465:93;;;66517:29;66527:3;66531:1;66527:6;;;;;;;;:::i;:::-;;;;;;;66535:7;66543:1;66535:10;;;;;;;;:::i;:::-;;;;;;;66517:9;:29::i;:::-;66497:3:::0;::::1;::::0;::::1;:::i;:::-;;;;66465:93;;66679:86:::0;63208:13;:11;:13::i;:::-;66743:5:::1;:14:::0;66679:86::o;66965:116::-;63208:13;:11;:13::i;:::-;67047:11:::1;:26;67061:12:::0;67047:11;:26:::1;:::i;27417:104::-:0;27473:13;27506:7;27499:14;;;;;:::i;65241:610::-;65350:6;;57220:10;;65350:6;;65349:7;65341:26;;;;-1:-1:-1;;;65341:26:0;;11546:2:1;65341:26:0;;;11528:21:1;11585:1;11565:18;;;11558:29;-1:-1:-1;;;11603:18:1;;;11596:36;11649:18;;65341:26:0;11344:329:1;65341:26:0;65951:1;23266:12;23053:7;23250:13;65416:7;;23250:28;;-1:-1:-1;;23250:46:0;65400:23;;;;:::i;:::-;65097:4;65386:37;;65378:68;;;;-1:-1:-1;;;65378:68:0;;12013:2:1;65378:68:0;;;11995:21:1;12052:2;12032:18;;;12025:30;-1:-1:-1;;;12071:18:1;;;12064:48;12129:18;;65378:68:0;11811:342:1;65378:68:0;65475:1;65465:7;:11;65457:34;;;;-1:-1:-1;;;65457:34:0;;12360:2:1;65457:34:0;;;12342:21:1;12399:2;12379:18;;;12372:30;-1:-1:-1;;;12418:18:1;;;12411:40;12468:18;;65457:34:0;12158:334:1;65457:34:0;65546:14;;65535:7;65510:22;65524:7;65510:13;:22::i;:::-;:32;;;;:::i;:::-;:50;;65502:85;;;;-1:-1:-1;;;65502:85:0;;12699:2:1;65502:85:0;;;12681:21:1;12738:2;12718:18;;;12711:30;-1:-1:-1;;;12757:18:1;;;12750:52;12819:18;;65502:85:0;12497:346:1;65502:85:0;65606:9;-1:-1:-1;;;;;65606:20:0;;;65598:45;;;;-1:-1:-1;;;65598:45:0;;13050:2:1;65598:45:0;;;13032:21:1;13089:2;13069:18;;;13062:30;-1:-1:-1;;;13108:18:1;;;13101:42;13160:18;;65598:45:0;12848:336:1;65598:45:0;65654:12;65679:5;;65669:7;:15;;;;:::i;:::-;65654:30;;65698:22;65712:7;65698:13;:22::i;:::-;65724:1;65698:27;65695:45;;65735:5;;65727:13;;;;:::i;:::-;;;65695:45;65772:4;65759:9;:17;;65751:52;;;;-1:-1:-1;;;65751:52:0;;13694:2:1;65751:52:0;;;13676:21:1;13733:2;13713:18;;;13706:30;-1:-1:-1;;;13752:18:1;;;13745:52;13814:18;;65751:52:0;13492:346:1;65751:52:0;65816:27;65826:7;65835;65816:9;:27::i;34282:234::-;57220:10;34377:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;34377:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;34377:60:0;;;;;;;;;;34453:55;;540:41:1;;;34377:49:0;;57220:10;34453:55;;513:18:1;34453:55:0;;;;;;;34282:234;;:::o;41059:399::-;41226:31;41239:4;41245:2;41249:7;41226:12;:31::i;:::-;-1:-1:-1;;;;;41272:14:0;;;:19;41268:183;;41311:56;41342:4;41348:2;41352:7;41361:5;41311:30;:56::i;:::-;41306:145;;41395:40;;-1:-1:-1;;;41395:40:0;;;;;;;;;;;41306:145;41059:399;;;;:::o;67089:356::-;67155:13;67189:17;67197:8;67189:7;:17::i;:::-;67181:51;;;;-1:-1:-1;;;67181:51:0;;14045:2:1;67181:51:0;;;14027:21:1;14084:2;14064:18;;;14057:30;-1:-1:-1;;;14103:18:1;;;14096:51;14164:18;;67181:51:0;13843:345:1;67181:51:0;67274:1;67256:7;67250:21;;;;;:::i;:::-;;;:25;:187;;;;;;;;;;;;;;;;;67332:7;67356:26;67373:8;67356:16;:26::i;:::-;67299:122;;;;;;;;;:::i;:::-;;;;;;;;;;;;;67243:194;67089:356;-1:-1:-1;;67089:356:0:o;66773:76::-;63208:13;:11;:13::i;:::-;66835:6:::1;::::0;;-1:-1:-1;;66825:16:0;::::1;66835:6;::::0;;::::1;66834:7;66825:16;::::0;;66773:76::o;66573:98::-;63208:13;:11;:13::i;:::-;66642:14:::1;:21:::0;66573:98::o;64927:83::-;;;;;;;:::i;64228:201::-;63208:13;:11;:13::i;:::-;-1:-1:-1;;;;;64317:22:0;::::1;64309:73;;;::::0;-1:-1:-1;;;64309:73:0;;15574:2:1;64309:73:0::1;::::0;::::1;15556:21:1::0;15613:2;15593:18;;;15586:30;15652:34;15632:18;;;15625:62;-1:-1:-1;;;15703:18:1;;;15696:36;15749:19;;64309:73:0::1;15372:402:1::0;64309:73:0::1;64393:28;64412:8;64393:18;:28::i;:::-;64228:201:::0;:::o;35095:282::-;35160:4;35216:7;65951:1;35197:26;;:66;;;;;35250:13;;35240:7;:23;35197:66;:153;;;;-1:-1:-1;;35301:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;35301:44:0;:49;;35095:282::o;24491:178::-;-1:-1:-1;;;;;24580:25:0;24552:7;24580:25;;;:18;:25;;18473:2;24580:25;;;;;:50;;18335:13;24579:82;;24491:178::o;29789:1275::-;29856:7;29891;;65951:1;29940:23;29936:1061;;29993:13;;29986:4;:20;29982:1015;;;30031:14;30048:23;;;:17;:23;;;;;;;-1:-1:-1;;;30137:24:0;;:29;;30133:845;;30802:113;30809:6;30819:1;30809:11;30802:113;;-1:-1:-1;;;30880:6:0;30862:25;;;;:17;:25;;;;;;30802:113;;;30948:6;29789:1275;-1:-1:-1;;;29789:1275:0:o;30133:845::-;30008:989;29982:1015;31025:31;;-1:-1:-1;;;31025:31:0;;;;;;;;;;;63487:132;63395:6;;-1:-1:-1;;;;;63395:6:0;57220:10;63551:23;63543:68;;;;-1:-1:-1;;;63543:68:0;;15981:2:1;63543:68:0;;;15963:21:1;;;16000:18;;;15993:30;16059:34;16039:18;;;16032:62;16111:18;;63543:68:0;15779:356:1;64589:191:0;64682:6;;;-1:-1:-1;;;;;64699:17:0;;;-1:-1:-1;;;;;;64699:17:0;;;;;;;64732:40;;64682:6;;;64699:17;64682:6;;64732:40;;64663:16;;64732:40;64652:128;64589:191;:::o;50965:112::-;51042:27;51052:2;51056:8;51042:27;;;;;;;;;;;;:9;:27::i;43542:716::-;43726:88;;-1:-1:-1;;;43726:88:0;;43705:4;;-1:-1:-1;;;;;43726:45:0;;;;;:88;;57220:10;;43793:4;;43799:7;;43808:5;;43726:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43726:88:0;;;;;;;;-1:-1:-1;;43726:88:0;;;;;;;;;;;;:::i;:::-;;;43722:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44009:6;:13;44026:1;44009:18;44005:235;;44055:40;;-1:-1:-1;;;44055:40:0;;;;;;;;;;;44005:235;44198:6;44192:13;44183:6;44179:2;44175:15;44168:38;43722:529;-1:-1:-1;;;;;;43885:64:0;-1:-1:-1;;;43885:64:0;;-1:-1:-1;43722:529:0;43542:716;;;;;;:::o;59282:723::-;59338:13;59559:5;59568:1;59559:10;59555:53;;-1:-1:-1;;59586:10:0;;;;;;;;;;;;-1:-1:-1;;;59586:10:0;;;;;59282:723::o;59555:53::-;59633:5;59618:12;59674:78;59681:9;;59674:78;;59707:8;;;;:::i;:::-;;-1:-1:-1;59730:10:0;;-1:-1:-1;59738:2:0;59730:10;;:::i;:::-;;;59674:78;;;59762:19;59794:6;59784:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59784:17:0;;59762:39;;59812:154;59819:10;;59812:154;;59846:11;59856:1;59846:11;;:::i;:::-;;-1:-1:-1;59915:10:0;59923:2;59915:5;:10;:::i;:::-;59902:24;;:2;:24;:::i;:::-;59889:39;;59872:6;59879;59872:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;59872:56:0;;;;;;;;-1:-1:-1;59943:11:0;59952:2;59943:11;;:::i;:::-;;;59812:154;;50192:689;50323:19;50329:2;50333:8;50323:5;:19::i;:::-;-1:-1:-1;;;;;50384:14:0;;;:19;50380:483;;50424:11;50438:13;50486:14;;;50519:233;50550:62;50589:1;50593:2;50597:7;;;;;;50606:5;50550:30;:62::i;:::-;50545:167;;50648:40;;-1:-1:-1;;;50648:40:0;;;;;;;;;;;50545:167;50747:3;50739:5;:11;50519:233;;50834:3;50817:13;;:20;50813:34;;50839:8;;;50813:34;50405:458;;50192:689;;;:::o;44720:2720::-;44793:20;44816:13;;;44844;;;44840:44;;44866:18;;-1:-1:-1;;;44866:18:0;;;;;;;;;;;44840:44;-1:-1:-1;;;;;45372:22:0;;;;;;:18;:22;;;;18473:2;45372:22;;;:71;;45410:32;45398:45;;45372:71;;;45686:31;;;:17;:31;;;;;-1:-1:-1;32454:15:0;;32428:24;32424:46;32023:11;31998:23;31994:41;31991:52;31981:63;;45686:173;;45921:23;;;;45686:31;;45372:22;;46686:25;45372:22;;46539:335;46954:1;46940:12;46936:20;46894:346;46995:3;46986:7;46983:16;46894:346;;47213:7;47203:8;47200:1;47173:25;47170:1;47167;47162:59;47048:1;47035:15;46894:346;;;46898:77;47273:8;47285:1;47273:13;47269:45;;47295:19;;-1:-1:-1;;;47295:19:0;;;;;;;;;;;47269:45;47331:13;:19;-1:-1:-1;40276:185:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:186::-;2414:6;2467:2;2455:9;2446:7;2442:23;2438:32;2435:52;;;2483:1;2480;2473:12;2435:52;2506:29;2525:9;2506:29;:::i;2546:328::-;2623:6;2631;2639;2692:2;2680:9;2671:7;2667:23;2663:32;2660:52;;;2708:1;2705;2698:12;2660:52;2731:29;2750:9;2731:29;:::i;:::-;2721:39;;2779:38;2813:2;2802:9;2798:18;2779:38;:::i;:::-;2769:48;;2864:2;2853:9;2849:18;2836:32;2826:42;;2546:328;;;;;:::o;2879:127::-;2940:10;2935:3;2931:20;2928:1;2921:31;2971:4;2968:1;2961:15;2995:4;2992:1;2985:15;3011:275;3082:2;3076:9;3147:2;3128:13;;-1:-1:-1;;3124:27:1;3112:40;;3182:18;3167:34;;3203:22;;;3164:62;3161:88;;;3229:18;;:::i;:::-;3265:2;3258:22;3011:275;;-1:-1:-1;3011:275:1:o;3291:407::-;3356:5;3390:18;3382:6;3379:30;3376:56;;;3412:18;;:::i;:::-;3450:57;3495:2;3474:15;;-1:-1:-1;;3470:29:1;3501:4;3466:40;3450:57;:::i;:::-;3441:66;;3530:6;3523:5;3516:21;3570:3;3561:6;3556:3;3552:16;3549:25;3546:45;;;3587:1;3584;3577:12;3546:45;3636:6;3631:3;3624:4;3617:5;3613:16;3600:43;3690:1;3683:4;3674:6;3667:5;3663:18;3659:29;3652:40;3291:407;;;;;:::o;3703:451::-;3772:6;3825:2;3813:9;3804:7;3800:23;3796:32;3793:52;;;3841:1;3838;3831:12;3793:52;3881:9;3868:23;3914:18;3906:6;3903:30;3900:50;;;3946:1;3943;3936:12;3900:50;3969:22;;4022:4;4014:13;;4010:27;-1:-1:-1;4000:55:1;;4051:1;4048;4041:12;4000:55;4074:74;4140:7;4135:2;4122:16;4117:2;4113;4109:11;4074:74;:::i;4159:183::-;4219:4;4252:18;4244:6;4241:30;4238:56;;;4274:18;;:::i;:::-;-1:-1:-1;4319:1:1;4315:14;4331:4;4311:25;;4159:183::o;4347:662::-;4401:5;4454:3;4447:4;4439:6;4435:17;4431:27;4421:55;;4472:1;4469;4462:12;4421:55;4508:6;4495:20;4534:4;4558:60;4574:43;4614:2;4574:43;:::i;:::-;4558:60;:::i;:::-;4652:15;;;4738:1;4734:10;;;;4722:23;;4718:32;;;4683:12;;;;4762:15;;;4759:35;;;4790:1;4787;4780:12;4759:35;4826:2;4818:6;4814:15;4838:142;4854:6;4849:3;4846:15;4838:142;;;4920:17;;4908:30;;4958:12;;;;4871;;4838:142;;;-1:-1:-1;4998:5:1;4347:662;-1:-1:-1;;;;;;4347:662:1:o;5014:1146::-;5132:6;5140;5193:2;5181:9;5172:7;5168:23;5164:32;5161:52;;;5209:1;5206;5199:12;5161:52;5249:9;5236:23;5278:18;5319:2;5311:6;5308:14;5305:34;;;5335:1;5332;5325:12;5305:34;5373:6;5362:9;5358:22;5348:32;;5418:7;5411:4;5407:2;5403:13;5399:27;5389:55;;5440:1;5437;5430:12;5389:55;5476:2;5463:16;5498:4;5522:60;5538:43;5578:2;5538:43;:::i;5522:60::-;5616:15;;;5698:1;5694:10;;;;5686:19;;5682:28;;;5647:12;;;;5722:19;;;5719:39;;;5754:1;5751;5744:12;5719:39;5778:11;;;;5798:148;5814:6;5809:3;5806:15;5798:148;;;5880:23;5899:3;5880:23;:::i;:::-;5868:36;;5831:12;;;;5924;;;;5798:148;;;5965:5;-1:-1:-1;;6008:18:1;;5995:32;;-1:-1:-1;;6039:16:1;;;6036:36;;;6068:1;6065;6058:12;6036:36;;6091:63;6146:7;6135:8;6124:9;6120:24;6091:63;:::i;:::-;6081:73;;;5014:1146;;;;;:::o;6165:347::-;6230:6;6238;6291:2;6279:9;6270:7;6266:23;6262:32;6259:52;;;6307:1;6304;6297:12;6259:52;6330:29;6349:9;6330:29;:::i;:::-;6320:39;;6409:2;6398:9;6394:18;6381:32;6456:5;6449:13;6442:21;6435:5;6432:32;6422:60;;6478:1;6475;6468:12;6422:60;6501:5;6491:15;;;6165:347;;;;;:::o;6517:667::-;6612:6;6620;6628;6636;6689:3;6677:9;6668:7;6664:23;6660:33;6657:53;;;6706:1;6703;6696:12;6657:53;6729:29;6748:9;6729:29;:::i;:::-;6719:39;;6777:38;6811:2;6800:9;6796:18;6777:38;:::i;:::-;6767:48;;6862:2;6851:9;6847:18;6834:32;6824:42;;6917:2;6906:9;6902:18;6889:32;6944:18;6936:6;6933:30;6930:50;;;6976:1;6973;6966:12;6930:50;6999:22;;7052:4;7044:13;;7040:27;-1:-1:-1;7030:55:1;;7081:1;7078;7071:12;7030:55;7104:74;7170:7;7165:2;7152:16;7147:2;7143;7139:11;7104:74;:::i;:::-;7094:84;;;6517:667;;;;;;;:::o;7189:260::-;7257:6;7265;7318:2;7306:9;7297:7;7293:23;7289:32;7286:52;;;7334:1;7331;7324:12;7286:52;7357:29;7376:9;7357:29;:::i;:::-;7347:39;;7405:38;7439:2;7428:9;7424:18;7405:38;:::i;:::-;7395:48;;7189:260;;;;;:::o;7454:380::-;7533:1;7529:12;;;;7576;;;7597:61;;7651:4;7643:6;7639:17;7629:27;;7597:61;7704:2;7696:6;7693:14;7673:18;7670:38;7667:161;;7750:10;7745:3;7741:20;7738:1;7731:31;7785:4;7782:1;7775:15;7813:4;7810:1;7803:15;7667:161;;7454:380;;;:::o;8518:545::-;8620:2;8615:3;8612:11;8609:448;;;8656:1;8681:5;8677:2;8670:17;8726:4;8722:2;8712:19;8796:2;8784:10;8780:19;8777:1;8773:27;8767:4;8763:38;8832:4;8820:10;8817:20;8814:47;;;-1:-1:-1;8855:4:1;8814:47;8910:2;8905:3;8901:12;8898:1;8894:20;8888:4;8884:31;8874:41;;8965:82;8983:2;8976:5;8973:13;8965:82;;;9028:17;;;9009:1;8998:13;8965:82;;9239:1352;9365:3;9359:10;9392:18;9384:6;9381:30;9378:56;;;9414:18;;:::i;:::-;9443:97;9533:6;9493:38;9525:4;9519:11;9493:38;:::i;:::-;9487:4;9443:97;:::i;:::-;9595:4;;9659:2;9648:14;;9676:1;9671:663;;;;10378:1;10395:6;10392:89;;;-1:-1:-1;10447:19:1;;;10441:26;10392:89;-1:-1:-1;;9196:1:1;9192:11;;;9188:24;9184:29;9174:40;9220:1;9216:11;;;9171:57;10494:81;;9641:944;;9671:663;8465:1;8458:14;;;8502:4;8489:18;;-1:-1:-1;;9707:20:1;;;9825:236;9839:7;9836:1;9833:14;9825:236;;;9928:19;;;9922:26;9907:42;;10020:27;;;;9988:1;9976:14;;;;9855:19;;9825:236;;;9829:3;10089:6;10080:7;10077:19;10074:201;;;10150:19;;;10144:26;-1:-1:-1;;10233:1:1;10229:14;;;10245:3;10225:24;10221:37;10217:42;10202:58;10187:74;;10074:201;-1:-1:-1;;;;;10321:1:1;10305:14;;;10301:22;10288:36;;-1:-1:-1;9239:1352:1:o;10940:127::-;11001:10;10996:3;10992:20;10989:1;10982:31;11032:4;11029:1;11022:15;11056:4;11053:1;11046:15;11072:127;11133:10;11128:3;11124:20;11121:1;11114:31;11164:4;11161:1;11154:15;11188:4;11185:1;11178:15;11204:135;11243:3;11264:17;;;11261:43;;11284:18;;:::i;:::-;-1:-1:-1;11331:1:1;11320:13;;11204:135::o;11678:128::-;11718:3;11749:1;11745:6;11742:1;11739:13;11736:39;;;11755:18;;:::i;:::-;-1:-1:-1;11791:9:1;;11678:128::o;13189:168::-;13229:7;13295:1;13291;13287:6;13283:14;13280:1;13277:21;13272:1;13265:9;13258:17;13254:45;13251:71;;;13302:18;;:::i;:::-;-1:-1:-1;13342:9:1;;13189:168::o;13362:125::-;13402:4;13430:1;13427;13424:8;13421:34;;;13435:18;;:::i;:::-;-1:-1:-1;13472:9:1;;13362:125::o;14193:1174::-;14470:3;14499:1;14532:6;14526:13;14562:36;14588:9;14562:36;:::i;:::-;14617:1;14634:18;;;14661:133;;;;14808:1;14803:356;;;;14627:532;;14661:133;-1:-1:-1;;14694:24:1;;14682:37;;14767:14;;14760:22;14748:35;;14739:45;;;-1:-1:-1;14661:133:1;;14803:356;14834:6;14831:1;14824:17;14864:4;14909:2;14906:1;14896:16;14934:1;14948:165;14962:6;14959:1;14956:13;14948:165;;;15040:14;;15027:11;;;15020:35;15083:16;;;;14977:10;;14948:165;;;14952:3;;;15142:6;15137:3;15133:16;15126:23;;14627:532;;;;;15190:6;15184:13;15206:55;15252:8;15247:3;15240:4;15232:6;15228:17;15206:55;:::i;:::-;-1:-1:-1;;;15283:18:1;;15310:22;;;15359:1;15348:13;;14193:1174;-1:-1:-1;;;;14193:1174:1:o;16140:489::-;-1:-1:-1;;;;;16409:15:1;;;16391:34;;16461:15;;16456:2;16441:18;;16434:43;16508:2;16493:18;;16486:34;;;16556:3;16551:2;16536:18;;16529:31;;;16334:4;;16577:46;;16603:19;;16595:6;16577:46;:::i;:::-;16569:54;16140:489;-1:-1:-1;;;;;;16140:489:1:o;16634:249::-;16703:6;16756:2;16744:9;16735:7;16731:23;16727:32;16724:52;;;16772:1;16769;16762:12;16724:52;16804:9;16798:16;16823:30;16847:5;16823:30;:::i;16888:127::-;16949:10;16944:3;16940:20;16937:1;16930:31;16980:4;16977:1;16970:15;17004:4;17001:1;16994:15;17020:120;17060:1;17086;17076:35;;17091:18;;:::i;:::-;-1:-1:-1;17125:9:1;;17020:120::o;17145:112::-;17177:1;17203;17193:35;;17208:18;;:::i;:::-;-1:-1:-1;17242:9:1;;17145:112::o
Swarm Source
ipfs://b7bf8efbe7f1e633841a1cc24a4286a5ad5c6907c7559d28275a83c24d1739cb
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.