ERC-721
Overview
Max Total Supply
5,062 CB.ELIXIR
Holders
895
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
9 CB.ELIXIRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ElixirBottles
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicense // Creator: 0xVeryBased // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛//============\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛//============\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\============//⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\============//⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\ ( ( ( //⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\ ( ( ( //⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ( ( ( |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ( ( ( |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ( ( ( |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ( ( ( |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ≈≈≈≈≈≈ |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ≈≈≈≈≈≈ |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ≈≈≈≈≈≈ |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ≈≈≈≈≈≈ |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||========== ≈≈≈≈≈≈≈≈ ==========||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛///============================\\\⊛⊛⊛⊛⊛⊛⊛⊛||==============================||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛//============\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛//============\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\============//⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\============//⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\ ( ( ( //⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\ ( ( ( //⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ( ( ( |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ( ( ( |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ( ( ( |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ( ( ( |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ) ) ) |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ≈≈≈≈≈≈ |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ≈≈≈≈≈≈ |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ≈≈≈≈≈≈ |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||| ≈≈≈≈≈≈ |||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛==== ≈≈≈≈≈≈≈≈ ====⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛||========== ≈≈≈≈≈≈≈≈ ==========||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛/// ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ \\\⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\\ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ///⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\\ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ///⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛|| ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ||⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\\ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ///⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛\\\ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ///⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\\ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ///⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛\\\ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ///⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\\ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ///⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛\\\≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ///⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\\ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ///⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\\================///⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛\\\================///⊛⊛⊛⊛⊛⊛⊛⊛⊛ // ⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛⊛ pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./ERC721.sol"; import "./ERC721TopLevel.sol"; contract ElixirBottles is ERC721TopLevel { using Strings for uint256; // Liyat yew gnilaaw gnilaww ay oo bool public izItDer = true; // decaf gib enum HowHard2See { BlindAF, Hard2See, ItGone } // HTCPCP HowHard2See public canUSeesIt = HowHard2See.BlindAF; mapping(address => bool) public nightVision; //ᚢᚢᚢᛉᚺᚠᛚᚺᚨᚾᛁᚺᚠᚺᚢᚲᛉᛊᚺᚠᛈᛊᛊᛞᚺᚠᚢᛏᛚᛃᚺᚠᚢᚨᚺᚠᛚᛚᚨᛟᚺᚠᚢᚢᚢᛉᚺᚠᚢᚢᛚᛉᚠᚺᚠᚢᛒ //ᛊᛉᚺᚠᛈᛊᛊᛞᚺᚠᛚᛁᚺᚠᛚᚨᛉᚺᚠᛚᛚᛗᛁᚺᚠᛚᚺᚱᛁᛁᚺᚠᛚᚨᛟᚺᚠᚢᚲᛚᛃᚺᚠᛈᚢᚲᛗᚺᚠᛚᚨᛟᚺᚠᛚᛚᚨ //ᛁᚺᚠᚢᛊᛊᚢᛞᛗᚺᚠᛚᚨᛟᚺᚠᚺᚲᛚᛊᛊᛚᛁᚨᛁᚺᚠᚢᚨᚺᚠᛒᚢᛊᚢᛃᚱᚠᚺᚠᛚᚨᛚᛁᚢᛈᚨᚠᚠᚺᚠᛈᚢᚾᛁᛚᚲ //ᛈᛚᚢᚨᛉᚠᚺᚠᛈᛊᛊᛞᚺᚠᛚᛁᚺᚠᚢᛒᚢᚲᛗᚺᚠᚺᛁᛗᚺᚠᚺᚢᚲᚠᚺᚠᛈᚲᛚᛞᚺᚠᛚᚨᛟᚺᚠᚢᛞᛚᛁᛉᚹᚺᚠᛚᚠ //ᚨᛟᚺᚠᛚᛉᚨᚢᛞᛁᚺᚠᛈᛊᛊᛞᚺᚠᛚᛁᚺᚠᛈᚢᛉᛈᚲᛚᚠᚺᚠᛚᚾᚾᛉᚠᚺᚠᛈᛊᛊᛞᚺᚠᚺᚨᛃᛟᛟᚺᚠᚢᚢᛚᚠᚺᚠ //ᚺᚠᚲᚺᚠᛚᛁᛈᛚᛉᛏᚠᛉᚨᚺᚠᛚᚲᛚᚺᛊᛚᚲᛁᚺᚠᚢᛞᛟᚺᚠᚺᚢᚠᚦᚠᛈᛊᛊᛞᚺᚠᚢᛒᚠᚺᚠᛒᛉᚨᛚᛁᚦ //ᚠᚢᛞᛟᚺᚠᚺᚢᚠᚦᚠᛈᛊᛊᛞᚺᚠᚢᛒᚠᚺᚠᛈᛚᛊᚲᚠᚺᚠᛒᛈᛊᚲᛁᚺᚠᚢᛒᛁᚠᚺᚠᚺᛃᚨᛈᚢᚢᛉᛗᚺᚠᛒᛈᛊᚲᛁᚺᚠᚢᛒ //ᛁᚠᚺᚠᛚᚺᛏᛉᚨᚺᚠᛚᛗᛚᚢᚲᚲᚺᚠᚢᛒᛁᛉᛚᛊᚲᛚᛉᚠᚺᚠᚺᚾᚺᛈᚢᛉᚨᚠᚺᚠᛈᚢᚾᛉᚨᛟᚺᚠᛒᚢᛉᛚᛚᚢᚠᚺ //ᚠᛈᚢᚲᛗᚺᚠᚢᛒᛁᚠᚺᚠᚺᛃᛚᛉᚹᛊᚺᚠᛈᚢᚠᚺᚠᛚᚨᛟᚺᚠᚺᛃᛚᛉᛉᚹᚺᚠᚺᚱᛚᚦᚠᚢᛒᛁᚠᚺᚠᚢᛈᛃᛚᛉᛃᛟ //ᚺᚠᚺᚢᚲᚠᚺᚠᚢᛞᚱᚢᚺᚠᚢᛒᛁᚠᚺᚠᚢᛈᛃᛚᛉᚲᚺᚠᚠᚹᛚᛁᛉᚨᛁᛒᛃᚨᛒᛁᛚᛉᛟᚺᚠᚢᛊᚲᚨᚺᚠᚢᚢᚢᛉᚺᚠ //ᚢᚨᚺᚠᚢᛏᛚᛃᚺᚠᚢᛁᚨᛟᛗᚺᚠᛒᛈᛊᚲᛁᚺᚠᛚᚨᛟᚺᚠᚺᚨᛗᚢᛁᛏᚹᛊᚺᚠᚺᚢᚲᚠᚺᚠᚢᚢᛉᚨᛁᚺᚠᛚᚨᛟᚺᚠ //ᛈᚾᚢᚺᛊᛉᚺᚠᛚᚨᛟᚺᚠᛒᚲᛚᛁᚢᛁᚢᛚᛃᛁᚺᚠᚺᚠᛞᚺᚠᛈᛊᛊᛞᚺᚠᛚᛃᚢᛏᛚᛁᚺᚠᚢᛒᛁᚠᚺᚠᛈᚾᛈᛊᛉᚺᚠ /*************************************************************************/ /*** PAYMENT VARIABLES (Start) *******************************************/ address[] public based; mapping(address => uint256) private howBased; uint256 totalReceived = 0; mapping(address => uint256) amountsWithdrawn; // Liyat yew gnilaaw gnilaww ay oo modifier onlyBased() { _isBased(); _; } function _isBased() internal view virtual { require(howBased[msg.sender] > 0, "not a royalty payee"); } // decaf gib /*** PAYMENT VARIABLES (End) *******************************************/ /***********************************************************************/ mapping(uint256 => uint256) public hazUFoundIt; CrudeBorneEggs public eggzzz; /***********************************************************************************/ /*** CONTRACT METADATA VARIABLES (Start) *******************************************/ string collectionDescription; string collecImg; /*** CONTRACT METADATA VARIABLES (Start) *******************************************/ /***********************************************************************************/ /******************************************************************************************/ /*** METADATA AND CONSUMPTION VARIABLES (Start) *******************************************/ ElixirMetadataProto public metadataStorage; IERC721Receiver public redistributionReceiver; mapping(address => bool) public authorizedConsumers; mapping(address => mapping(address => bool)) perUserAuths; /*** METADATA AND CONSUMPTION VARIABLES (End) *******************************************/ /****************************************************************************************/ /*******************************************************************/ /*** CONSTRUCTOR (Start) *******************************************/ constructor( address _cbeAddy, string memory _collectionDescription, string memory _collectionImage, address[] memory _based, uint128[] memory _basisPoints ) { // FACED collectionDescription = _collectionDescription; collecImg = _collectionImage; for (uint256 i = 0; i < _based.length; i++) { howBased[_based[i]] = _basisPoints[i]; } based = _based; eggzzz = CrudeBorneEggs(_cbeAddy); } /*** CONSTRUCTOR (End) *******************************************/ /*****************************************************************/ //222221268612811425868211126198616191948622201210862218612121158622222 //126862221122668622219268616191948612986121268612121325861281892586121 //158622111210861621111386121158612121258622191922413861211586831219191 //225125862218622119221018686121122521161668616211425121116122112668616 //191948612986222211113868251386821116861611124861211586224122526238612 //611586122612249861619194861298616212616111268612141426686161919486811 //015158622211268686118612251612262062618612312819121125862241586821620 //861619194862226862261122520862241586821620861619194862226861612191168 //621619119862222568681011622212613862161911986222256861282026186121312 //211111862222526121931226686814816212616861621142611586221261212216861 //621111386222256868101226231986162168612115868101226262386818122086222 //256862216101226101586821116862241821862222568622161012263866231225261 //252101225122615862219111862222212686221862220121086222511513862161911 //986121158681132225202319868211168622222619861211586161421819268612115 //862111292225211210258686486161919486121022201298622225686161416192686 function izItDerOrIzItGone() external onlyOwner { izItDer = !izItDer; } // faced gib function enableNightVision(address whomst) public onlyOwner { nightVision[whomst] = true; } function howHardIzIt2See(HowHard2See _howHard) public onlyOwner { require(_howHard != HowHard2See.BlindAF); canUSeesIt = _howHard; } // 418 /*******************************************************************************/ /*** CONTRACT METADATA LOGIC (Start) *******************************************/ function contractURI() public view returns (string memory) { return _contractURI(collectionDescription, collecImg, uint256(uint160(address(this))).toHexString()); } /*** CONTRACT METADATA LOGIC (End) *******************************************/ /*****************************************************************************/ /****************************************************************************/ /*** TOKEN METADATA LOGIC (Start) *******************************************/ function getCharges(uint256 elixirId) public view returns (uint256) { return metadataStorage.getCharges(elixirId); } function getElement(uint256 elixirId) public view returns (uint256) { return metadataStorage.getElement(elixirId); } function getAttributes(uint256 elixirId) public view returns (uint256[] memory) { return metadataStorage.getAttributes(elixirId); } // decaf gib function getElementAndAttributes( uint256 elixirId ) public view returns (uint256, uint256[] memory) { return metadataStorage.getElementAndAttributes(elixirId); } // 0x526163697374204D6F6E6B6579 function getChargesElementAndAttributes( uint256 elixirId ) public view returns (uint256, uint256, uint256[] memory) { return metadataStorage.getChargesElementAndAttributes(elixirId); } // 418 function tokenURI(uint256 tokenId) public view returns (string memory) { require(exists(tokenId), "z"); return metadataStorage.getElixirMetadata(tokenId); } /*** TOKEN METADATA LOGIC (End) *******************************************/ /**************************************************************************/ function eliksirHazBeenGot(uint256 disEgg) public view returns (bool) { uint256 eggBlocc = disEgg/250; uint256 eggSlot = disEgg - eggBlocc*250; return ((hazUFoundIt[eggBlocc] >> eggSlot)%2 == 1); } // faced gib function piktItUpp(uint256[] memory eggz) public { require(izItDer, 'is'); require(canUSeesIt == HowHard2See.Hard2See || (nightVision[msg.sender] && (canUSeesIt == HowHard2See.BlindAF)), 'so'); uint256 curBlocc = 0; uint256 bloccUpdates = 0; uint256 eggBlocc; bool bottleRequire = true; bool ownerRequire = true; for (uint256 i = 0; i < eggz.length; i++) { eggBlocc = eggz[i]/250; if (eggBlocc != curBlocc) { hazUFoundIt[curBlocc] = hazUFoundIt[curBlocc] | bloccUpdates; curBlocc = eggBlocc; bloccUpdates = 0; } uint256 eggSlot = eggz[i] - curBlocc*250; bottleRequire = bottleRequire && (hazUFoundIt[curBlocc] >> eggSlot)%2 == 0; ownerRequire = ownerRequire && eggzzz.ownerOf(eggz[i]) == msg.sender; bloccUpdates += (1 << eggSlot); } require(bottleRequire && ownerRequire, 'b;o'); hazUFoundIt[curBlocc] = hazUFoundIt[curBlocc] | bloccUpdates; safeMint(msg.sender, eggz.length); } //╮╮╮╵ᚽᛙ⸌ᚽ⸝⸜ᛁᚽᛙᚽ╮ᛍ╵╵ᚽᛙި╵╵⸍ᚽᛙ╮⸍⸌ᛁᚽᛙ╮⸝ᚽᛙ⸌⸌⸝ˎᚽᛙ╮╮╮╵ᚽᛙ╮╮⸌╵ᛙᚽᛙ╮ި╵╵ᚽᛙި╵╵⸍ᚽᛙ⸌ᛁᚽᛙ⸌⸝╵ᚽᛙ⸌⸌⠃ᛁ //ᚽᛙ⸌ᚽ◟ᛁᛁᚽᛙ⸌⸝ˎᚽᛙ╮ᛍ⸌ᛁᚽᛙި╮ᛍ⠃ᚽᛙ⸌⸝ˎᚽᛙ⸌⸌⸝ᛁᚽᛙ╮╵╵╮⸍⠃ᚽᛙ⸌⸝ˎᚽᛙᚽᛍ⸌╵╵⸌ᛁ⸝ᛁᚽᛙ╮⸝ᚽᛙި╮╵╮ᛁ◟ᛙᚽᛙ⸌⸝⸌ᛁ╮ި⸝ᛙᛙᚽᛙ //ި╮⸜ᛁ⸌ᛍި⸌╮⸝╵ᛙᚽᛙި╵╵⸍ᚽᛙ⸌ᛁᚽᛙ╮ި╮ᛍ⠃ᚽᛙᚽᛁ⠃ᚽᛙᚽ╮ᛍᛙᚽᛙިᛍ⸌⸍ᚽᛙ⸌⸝ˎᚽᛙ╮⸍⸌ᛁ╵╮ᚽᛙ⸌ᛙ⸝ˎᚽᛙ⸌╵⸝╮⸍ᛁᚽᛙި╵╵⸍ᚽᛙ⸌ᛁᚽᛙި╮╵ //ިᛍ⸌ᛙᚽᛙ⸌⸜⸜╵ᛙᚽᛙި╵╵⸍ᚽᛙᚽ⸝ᛁˎˎᚽᛙ╮╮⸌ᛙᚽᛙᚽᛙᛍᚽᛙ⸌ᛁި⸌╵⸍ᛙ╵⸝ᚽᛙ⸌ᛍ⸌ᚽ╵⸌ᛍᛁᚽᛙ╮⸍ˎᚽᛙᚽ╮ᛙוᛙި╵╵⸍ᚽᛙ╮ިᛙᚽᛙި╵⸝⸌ᛁוᛙ╮ //⸍ˎᚽᛙᚽ╮ᛙוᛙި╵╵⸍ᚽᛙ╮ިᛙᚽᛙި⸌╵ᛍᛙᚽᛙިި╵ᛍᛁᚽᛙ╮ިᛁᛙᚽᛙᚽᛁ⸝ި╮╮╵⠃ᚽᛙިި╵ᛍᛁᚽᛙ╮ިᛁᛙᚽᛙ⸌ᚽ⸍╵⸝ᚽᛙ⸌⠃⸌╮ᛍᛍᚽᛙ╮ިᛁ╵⸌╵ᛍ⸌╵ᛙ //ᚽᛙᚽ⸜ᚽި╮╵⸝ᛙᚽᛙި╮⸜╵⸝ˎᚽᛙި╮╵⸌⸌╮ᛙᚽᛙި╮ᛍ⠃ᚽᛙ╮ިᛁᛙᚽᛙᚽᛁ⸌╵╮╵ᚽᛙި╮ᛙᚽᛙ⸌⸝ˎᚽᛙᚽᛁ⸌╵╵╮ᚽᛙᚽ◟⸌וᛙ╮ިᛁᛙᚽᛙ╮ިᛁ⸌╵ᛁˎ //ᚽᛙᚽ╮ᛍᛙᚽᛙ╮⸍◟╮ᚽᛙ╮ިᛁᛙᚽᛙ╮ިᛁ⸌╵ᛍᚽᛙᛙ╮⸌ᛁ╵⸝ᛁިᛁ⸝ިᛁ⸌╵ˎᚽᛙ╮╵ᛍ⸝ᚽᛙ╮╮╮╵ᚽᛙ╮⸝ᚽᛙ╮⸍⸌ᛁᚽᛙ╮ᛁ⸝ˎ⠃ᚽᛙިި╵ᛍᛁᚽᛙ⸌⸝ˎᚽ //ᛙᚽ⸝⠃╮ᛁ⸍╮╵ᚽᛙᚽ╮ᛍᛙᚽᛙ╮╮╵⸝ᛁᚽᛙ⸌⸝/ˎᚽᛙި⸜╮ᚽ╵╵ᚽᛙ⸌⸝ˎᚽᛙިᛍ⸌ᛁ╮ᛁ╮⸌ᛁᛁᚽᛙᚽᛙ⸍ᚽᛙި╵╵⸍ᚽᛙ⸌ᛁ╮⸍⸌ᛁᚽᛙ╮ިᛁᛙᚽᛙި⸜ި╵╵ᚽᛙ /**************************************************************************************/ /*** METADATA AND CONSUMPTION SETUP (Start) *******************************************/ function registerMetadataStorage(address _msAddy) public onlyOwner { metadataStorage = ElixirMetadataProto(_msAddy); } // 0x552B353136442074696D656C696E6573 function registerRedistributionReceiver(address _rrAddy) public onlyOwner { redistributionReceiver = IERC721Receiver(_rrAddy); // 0x552B3846324120552B35454642 } // Liyat yew gnilaaw gnilaww ay oo function setConsumerAuthorization(address _cAddy, bool _authorized) public onlyOwner { authorizedConsumers[_cAddy] = _authorized; } /*** METADATA AND CONSUMPTION SETUP (End) *******************************************/ /************************************************************************************/ /**************************************************************************************/ /*** METADATA AND CONSUMPTION LOGIC (Start) *******************************************/ // 0x3736353433323139 function brewIt(uint256 wotEliksir, uint256[] memory stuffs, uint256[] memory wichStuffz) public { require(stuffs.length == wichStuffz.length, "l"); require(ownerOf(wotEliksir) == msg.sender, "o"); for (uint256 i = 0; i < wichStuffz.length; i++) { ERC721Basic ingredientContract = ERC721Basic(metadataStorage.getIngredientContract(stuffs[i])); ingredientContract.safeTransferFrom(ingredientContract.ownerOf(wichStuffz[i]), address(redistributionReceiver), wichStuffz[i]); } metadataStorage.charge(wotEliksir, stuffs, wichStuffz); } function authorizeToDrink(address operator, bool _authorized) public { perUserAuths[msg.sender][operator] = _authorized; } function isAuthorizedToDrink(address owner, address operator) public view returns (bool) { return perUserAuths[owner][operator]; } // 418 function slurpIt( uint256 datEliksir, uint256 targetId, address msgSender ) public { // DECAF require( msgSender == ownerOf(datEliksir) && authorizedConsumers[msg.sender] && isAuthorizedToDrink(msgSender, msg.sender), "o;a"); (uint256 element, uint256[] memory attributes) = metadataStorage.getElementAndAttributes(datEliksir); metadataStorage.drink(datEliksir); ElixirConsumerProto(msg.sender).applyElixir(targetId, element, attributes); } // 0x7768617420646F6573207468652064657620736C7572703F */ function ohNoes(uint256 waaaMyEliksir) public { require(ownerOf(waaaMyEliksir) == msg.sender, "o"); metadataStorage.spill(waaaMyEliksir); } // Liyat yew gnilaaw gnilaww ay oo /*********************************************************************/ /*** PAYMENT LOGIC (Start) *******************************************/ receive() external payable { totalReceived += msg.value; } function withdraw() public onlyBased { uint256 totalForPayee = (totalReceived/10000)*howBased[msg.sender]; uint256 toWithdraw = totalForPayee - amountsWithdrawn[msg.sender]; amountsWithdrawn[msg.sender] = totalForPayee; (bool success, ) = payable(msg.sender).call{value: toWithdraw}(""); require(success, "Payment failed!"); } function withdrawTokens(address tokenAddress) external onlyOwner() { for (uint256 i = 0; i < based.length; i++) { IERC20(tokenAddress).transfer( based[i], (IERC20(tokenAddress).balanceOf(address(this))/10000)*howBased[based[i]] ); } } // decaf gib function emergencyWithdrawTokens(address tokenAddress) external onlyOwner() { IERC20(tokenAddress).transfer(msg.sender, IERC20(tokenAddress).balanceOf(address(this))); } /*** PAYMENT LOGIC (End) *******************************************/ /*******************************************************************/ function restrictOperator(address operator) public onlyOwner { _restrictOperator(operator); } function releaseOperator(address operator) public onlyOwner { _releaseOperator(operator); } // 418 function preventNewRestrictions() public onlyOwner { _preventNewRestrictions(); } } //////////////////// abstract contract CrudeBorneEggs { function balanceOf(address owner) public view virtual returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual returns (uint256); function ownerOf(uint256 tokenId) public view virtual returns (address); } // faced gib abstract contract ElixirMetadataProto { function getIngredientContract(uint256 ingredientType) public view virtual returns (address); // 0x43616E20796F75207368616B6520697420627265616B206974204A656C6C7920626162793F2043616E20796F7520736F6C7665206974206B6E6F7720697420647269766520796F75206372617A793F function getCharges(uint256 elixirId) public view virtual returns (uint256); function getElement(uint256 elixirId) public view virtual returns (uint256); function getAttributes(uint256 elixirId) public view virtual returns (uint256[] memory); function getElementAndAttributes( uint256 elixirId ) public view virtual returns (uint256, uint256[] memory); function getChargesElementAndAttributes( uint256 elixirId ) public view virtual returns (uint256, uint256, uint256[] memory); // Liyat yew gnilaaw gnilaww ay oo function getElixirMetadata(uint256 elixirId) public view virtual returns (string memory); function getIngredientsList() public view virtual returns (string[] memory); function charge( uint256 elixirId, uint256[] memory ingredientTypes, uint256[] memory ingredientIDs ) public virtual; function drink(uint256 elixirId) public virtual; function spill(uint256 elixirId) public virtual; } // zzzzzzzzzzZZZZZZZZZZ // abstract contract ElixirConsumerProto { function ownerOf(uint256 tokenId) public view virtual returns (address); function applyElixir( uint256 targetId, uint256 elixirElement, uint256[] memory elixirAttributes ) public virtual; } abstract contract ERC721Basic { function ownerOf(uint256 tokenId) public view virtual returns (address); function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual; } //////////////////////////////////////// /** ( ) ( ) ____...(.-------)--.....(___ .-"" ) ( ) ""-. .-'``'|-._ ) ( _.-| / .--.| `""-----............-----""` | / / | | | | | | \ \ | | `\ `\ | | `\ `| | _/ /\ / (__/ \ / _..---""` \ /`""---.._ .-' \ / '-. : `-.__ __.-' : : ) ""-----.....-----"" ( : '._ `"--....._____.....--"` _.' \""--..__ __..--""/ '._ """----.....__________.......----""" _.' `""--..,,_____ ______,,..--""` `"""""------"""""` **/ ////////////////////////////////////////
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @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); } }
// SPDX-License-Identifier: Unlicense // Creator: CrudeBorne pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; //contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { contract ERC721 is Context, ERC165 {//, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; /** * @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); uint256 private currentIndex = 0; // Token name string private _name; // Token symbol string private _symbol; // // Base URI // string private _baseURI; // string private _preRevealURI; mapping(uint256 => address) private _ownerships; mapping(address => uint256) private _balances; address public immutable burnAddress = 0x000000000000000000000000000000000000dEaD; uint256 private numTokensBurned; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor( string memory name_, string memory symbol_ ) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. **/ // function totalSupply() public view override returns (uint256) { function totalSupply() public view returns (uint256) { return (currentIndex - numTokensBurned); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ // function tokenByIndex(uint256 index) public view override returns (uint256) { function tokenByIndex(uint256 index) public view returns (uint256) { require(index < totalSupply(), "g"); require(ownerOf(index) != burnAddress, "b"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ // function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) { require(index < balanceOf(owner), "b"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { address ownership = _ownerships[i]; if (ownership != address(0)) { currOwnershipAddr = ownership; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("u"); } /** * @dev See {IERC165-supportsInterface}. */ // function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ // function balanceOf(address owner) public view override returns (uint256) { function balanceOf(address owner) public view returns (uint256) { require(owner != address(0), "0"); return uint256(_balances[owner]); } /** * @dev See {IERC721-ownerOf}. */ // function ownerOf(uint256 tokenId) public view override returns (address) { function ownerOf(uint256 tokenId) public view returns (address) { // return ownershipOf(tokenId); require(tokenId < currentIndex, "t"); for (uint256 curr = tokenId; curr >= 0; curr--) { address ownership = _ownerships[curr]; if (ownership != address(0)) { return ownership; } } revert("o"); } /** * @dev See {IERC721Metadata-name}. */ // function name() public view virtual override returns (string memory) { function name() public view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ // function symbol() public view virtual override returns (string memory) { function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev See {IERC721-approve}. */ // function approve(address to, uint256 tokenId) public override { function approve(address to, uint256 tokenId) public { address owner = ERC721.ownerOf(tokenId); require(to != owner, "o"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "a" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ // function getApproved(uint256 tokenId) public view override returns (address) { function getApproved(uint256 tokenId) public view returns (address) { require(_exists(tokenId), "a"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ // function setApprovalForAll(address operator, bool approved) public override { function setApprovalForAll(address operator, bool approved) public { // require(operator != _msgSender() && !(operatorRestrict[operator]), "a;r"); require(operator != _msgSender(), "a"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ // function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId // ) public override { ) public { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId // ) public override { ) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data // ) public override { ) public { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "z" ); } function burnToken(uint256 tokenId) public { _transfer(ownerOf(tokenId), burnAddress, tokenId); numTokensBurned++; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return (tokenId < currentIndex && ownerOf(tokenId) != burnAddress); } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); require(_checkOnERC721Received(address(0), to, currentIndex - 1, _data), "z"); } function _mint(address to, uint256 quantity) internal { uint256 startTokenId = currentIndex; require(to != address(0), "0"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "a"); _balances[to] = _balances[to] + quantity; _ownerships[startTokenId] = to; uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); updatedIndex++; } currentIndex = updatedIndex; } /******************/ function _transfer( address from, address to, uint256 tokenId ) private { address prevOwnership = ownerOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership, _msgSender())); require(isApprovedOrOwner && prevOwnership == from, "a"); require(prevOwnership == from, "o"); require(to != address(0), "0"); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership); _balances[from] -= 1; _balances[to] += 1; _ownerships[tokenId] = to; // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId] == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = prevOwnership; } } emit Transfer(from, to, tokenId); } function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /******************/ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("z"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } } ////////////////////////////////////////
// SPDX-License-Identifier: Unlicense // Creator: 0xVeryBased pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./ERC721Storage.sol"; contract ERC721TopLevel is ERC165, Ownable { using Address for address; using Strings for uint256; /** * @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 Storage layer contract that separates out internal minting logic from top level functions * - Designed to reduce top level contract size and enable implementation of additional functionality **/ ERC721Storage public storageLayer; bool public storageLayerSet = false; modifier onlyStorage() { _isStorage(); _; } function _isStorage() internal view virtual { require(msg.sender == address(storageLayer), "not storage"); } /******************/ /** * @dev Mapping from addresses to whether or not an address is restricted as an operator for all **/ mapping(address => bool) public operatorRestrictions; bool public canRestrict = true; // Determines whether or not the contract owner can still restrict any new addresses /** * @dev Sets the storage layer for this top-level contract and prevents it from being reset **/ function setStorageLayer(address storageLayerAddress_) public onlyOwner { require(!storageLayerSet, "sls"); storageLayer = ERC721Storage(storageLayerAddress_); storageLayerSet = true; } /** * @dev get the address of the storage layer contract **/ function _storageLayerAddress() public view returns (address) { return address(storageLayer); } /** * @dev Restrict an address from being an operator for all **/ function _restrictOperator(address operator) internal { require(canRestrict, "nnr"); operatorRestrictions[operator] = true; } /** * @dev Release an address from restriction, permitting it to be an operator for all **/ function _releaseOperator(address operator) internal { operatorRestrictions[operator] = false; } /** * @dev Prevent the contract owner from restricting any additional operators **/ function _preventNewRestrictions() internal { canRestrict = false; } /** * @dev See {IERC165-supportsInterface}. **/ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165) returns (bool) { return (interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId)); } function totalSupply() public view returns (uint256) { return storageLayer.storage_totalSupply(); } function tokenByIndex(uint256 index) public view returns (uint256) { return storageLayer.storage_tokenByIndex(index); } function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) { return storageLayer.storage_tokenOfOwnerByIndex(owner, index); } function tokenOfOwnerByIndexStepped( address owner, uint256 index, uint256 lastToken, uint256 lastIndex ) public view returns (uint256) { return storageLayer.storage_tokenOfOwnerByIndexStepped( owner, index, lastToken, lastIndex ); } function balanceOf(address owner) public view returns (uint256) { return storageLayer.storage_balanceOf(owner); } function ownerOf(uint256 tokenId) public view returns (address) { return storageLayer.storage_ownerOf(tokenId); } function name() public view virtual returns (string memory) { return storageLayer.storage_name(); } function symbol() public view virtual returns (string memory) { return storageLayer.storage_symbol(); } function approve(address to, uint256 tokenId) public { storageLayer.storage_approve(to, tokenId, msg.sender); } function getApproved(uint256 tokenId) public view returns (address) { return storageLayer.storage_getApproved(tokenId); } function setApprovalForAll(address operator, bool approved) public { require(!(operatorRestrictions[operator]), "r"); storageLayer.storage_setApprovalForAll(operator, approved, msg.sender); } function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return storageLayer.storage_isApprovedForAll(owner, operator); } function transferFrom(address from, address to, uint256 tokenId) public { storageLayer.storage_transferFrom(from, to, tokenId, msg.sender); } function safeTransferFrom(address from, address to, uint256 tokenId) public { storageLayer.storage_safeTransferFrom(from, to, tokenId, msg.sender); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public { storageLayer.storage_safeTransferFrom(from, to, tokenId, _data, msg.sender); } function burnToken(uint256 tokenId) public { storageLayer.storage_burnToken(tokenId, msg.sender); } function exists(uint256 tokenId) public view returns (bool) { return storageLayer.storage_exists(tokenId); } function safeMint(address to, uint256 quantity) internal { storageLayer.storage_safeMint(to, quantity, msg.sender); } function safeMint(address to, uint256 quantity, bytes memory _data) internal { storageLayer.storage_safeMint(to, quantity, _data, msg.sender); } function mint(address to, uint256 quantity) internal { storageLayer.storage_mint(to, quantity); } function _contractURI( string memory _description, string memory _img, string memory _self ) internal view returns (string memory) { return storageLayer.storage_contractURI(_description, _img, _self); } ////////// function emitTransfer(address from, address to, uint256 tokenId) public onlyStorage { emit Transfer(from, to, tokenId); } function emitApproval(address owner, address approved, uint256 tokenId) public onlyStorage { emit Approval(owner, approved, tokenId); } function emitApprovalForAll(address owner, address operator, bool approved) public onlyStorage { emit ApprovalForAll(owner, operator, approved); } } ////////////////////////////////////////
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @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 have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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); } }
// SPDX-License-Identifier: Unlicense // Creator: 0xVeryBased pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; contract ERC721Storage is Ownable { using Address for address; using Strings for uint256; // Tracker for calculating number minted/total supply and assigning token indices uint256 private currentIndex = 0; // Token name string private _name; // Token symbol string private _symbol; // Token owners and token balances mapping(uint256 => address) private _ownerships; mapping(address => uint256) private _balances; // Burn address and counter address public immutable burnAddress = 0x000000000000000000000000000000000000dEaD; uint256 private numTokensBurned; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Mapping from operators to whether or not they are restricted mapping(address => bool) private _operatorRestrictions; // Bool indicating whether one can still restrict an operator or not bool private _canRestrict; ERC721TopLevelProto public topLevelContract; constructor( string memory name_, string memory symbol_ ) { _name = name_; _symbol = symbol_; // topLevelContract = ERC721TopLevelProto(msg.sender); } function setTopLevelContract(address _topLevelContract) public onlyOwner { topLevelContract = ERC721TopLevelProto(_topLevelContract); transferOwnership(_topLevelContract); } /** * @dev See {IERC721Enumerable-totalSupply}. **/ function storage_totalSupply() public view returns (uint256) { return (currentIndex - numTokensBurned); } /** * @dev See {IERC721Enumerable-tokenByIndex}. **/ function storage_tokenByIndex(uint256 index) public view returns (uint256) { require(index < storage_totalSupply(), "g"); require(storage_ownerOf(index) != burnAddress, "b"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. **/ function storage_tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) { require(index < storage_balanceOf(owner), "b"); uint256 numMintedSoFar = storage_totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { address ownership = _ownerships[i]; if (ownership != address(0)) { currOwnershipAddr = ownership; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("u"); } function storage_tokenOfOwnerByIndexStepped(address owner, uint256 index, uint256 lastToken, uint256 lastIndex) public view returns (uint256) { require(index < storage_balanceOf(owner), "b"); uint256 numTokenIds = currentIndex; uint256 tokenIdsIdx = ((lastIndex == 0) ? 0 : (lastIndex + 1)); address currOwnershipAddr = address(0); for (uint256 i = ((lastToken == 0) ? 0 : (lastToken + 1)); i < numTokenIds; i++) { address ownership = _ownerships[i]; if (ownership != address(0)) { currOwnershipAddr = ownership; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("u"); } // /** // * @dev See {IERC165-supportsInterface}. // **/ // function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { // return (interfaceId == type(IERC721).interfaceId || // interfaceId == type(IERC721Metadata).interfaceId || // interfaceId == type(IERC721Enumerable).interfaceId || // super.supportsInterface(interfaceId)); // } /** * @dev See {IERC721-balanceOf}. **/ function storage_balanceOf(address owner) public view returns (uint256) { require(owner != address(0), "0"); return uint256(_balances[owner]); } /** * @dev See {IERC721-ownerOf}. **/ function storage_ownerOf(uint256 tokenId) public view returns (address) { require(tokenId < currentIndex, "t"); for (uint256 curr = tokenId; curr >= 0; curr--) { address ownership = _ownerships[curr]; if (ownership != address(0)) { return ownership; } } revert("o"); } /** * @dev See {IERC721Metadata-name}. **/ function storage_name() public view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. **/ function storage_symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev See {IERC721-approve}. **/ function storage_approve(address to, uint256 tokenId, address msgSender) public onlyOwner { address owner = ERC721Storage.storage_ownerOf(tokenId); require(to != owner, "o"); require( msgSender == owner || storage_isApprovedForAll(owner, msgSender), "a" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. **/ function storage_getApproved(uint256 tokenId) public view returns (address) { require(_exists(tokenId), "a"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. **/ function storage_setApprovalForAll(address operator, bool approved, address msgSender) public { // require(operator != msgSender && !(operatorRestrict[operator]), "a;r"); require(operator != msgSender, "a"); _operatorApprovals[msgSender][operator] = approved; topLevelContract.emitApprovalForAll(msgSender, operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. **/ function storage_isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. **/ function storage_transferFrom( address from, address to, uint256 tokenId, address msgSender ) public onlyOwner { _transfer(from, to, tokenId, msgSender); } /** * @dev See {IERC721-safeTransferFrom}. **/ function storage_safeTransferFrom( address from, address to, uint256 tokenId, address msgSender ) public onlyOwner { storage_safeTransferFrom(from, to, tokenId, "", msgSender); } /** * @dev See {IERC721-safeTransferFrom}. **/ function storage_safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data, address msgSender ) public onlyOwner { _transfer(from, to, tokenId, msgSender); require( _checkOnERC721Received(from, to, tokenId, _data, msgSender), "z" ); } /** * @dev Burns a token to the designated burn address **/ function storage_burnToken(uint256 tokenId, address msgSender) public onlyOwner { _transfer(storage_ownerOf(tokenId), burnAddress, tokenId, msgSender); numTokensBurned++; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), **/ function _exists(uint256 tokenId) internal view returns (bool) { return (tokenId < currentIndex && storage_ownerOf(tokenId) != burnAddress); } function storage_exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); } function storage_safeMint(address to, uint256 quantity, address msgSender) public onlyOwner { storage_safeMint(to, quantity, "", msgSender); } function storage_safeMint( address to, uint256 quantity, bytes memory _data, address msgSender ) public onlyOwner { storage_mint(to, quantity); require(_checkOnERC721Received(address(0), to, currentIndex - 1, _data, msgSender), "z"); } function storage_mint(address to, uint256 quantity) public onlyOwner { uint256 startTokenId = currentIndex; require(to != address(0), "0"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "a"); _balances[to] = _balances[to] + quantity; _ownerships[startTokenId] = to; uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { topLevelContract.emitTransfer(address(0), to, updatedIndex); updatedIndex++; } currentIndex = updatedIndex; } function storage_contractURI(string memory _description, string memory _img, string memory _self) public view returns (string memory) { return string( abi.encodePacked( "data:application/json;utf8,{\"name\":\"", storage_name(),"\",", "\"description\":\"", _description, "\",", "\"image\":\"", _img, "\",", "\"external_link\":\"https://crudeborne.wtf\",", "\"seller_fee_basis_points\":420,\"fee_recipient\":\"", _self, "\"}" ) ); } function _transfer( address from, address to, uint256 tokenId, address msgSender ) private { address prevOwnership = storage_ownerOf(tokenId); bool isApprovedOrOwner = (msgSender == prevOwnership || storage_getApproved(tokenId) == msgSender || storage_isApprovedForAll(prevOwnership, msgSender)); require(isApprovedOrOwner && prevOwnership == from, "a"); require(prevOwnership == from, "o"); require(to != address(0), "0"); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership); _balances[from] -= 1; _balances[to] += 1; _ownerships[tokenId] = to; // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId] == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = prevOwnership; } } topLevelContract.emitTransfer(from, to, tokenId); } function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; topLevelContract.emitApproval(owner, to, tokenId); } function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data, address msgSender ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(msgSender, from, tokenId, _data) returns (bytes4 retVal) { return retVal == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("z"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } } //////////////////// abstract contract ERC721TopLevelProto { function emitTransfer(address from, address to, uint256 tokenId) public virtual; function emitApproval(address owner, address approved, uint256 tokenId) public virtual; function emitApprovalForAll(address owner, address operator, bool approved) public virtual; } ////////////////////////////////////////
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_cbeAddy","type":"address"},{"internalType":"string","name":"_collectionDescription","type":"string"},{"internalType":"string","name":"_collectionImage","type":"string"},{"internalType":"address[]","name":"_based","type":"address[]"},{"internalType":"uint128[]","name":"_basisPoints","type":"uint128[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"_storageLayerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"_authorized","type":"bool"}],"name":"authorizeToDrink","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"authorizedConsumers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"based","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"wotEliksir","type":"uint256"},{"internalType":"uint256[]","name":"stuffs","type":"uint256[]"},{"internalType":"uint256[]","name":"wichStuffz","type":"uint256[]"}],"name":"brewIt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canRestrict","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canUSeesIt","outputs":[{"internalType":"enum ElixirBottles.HowHard2See","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eggzzz","outputs":[{"internalType":"contract CrudeBorneEggs","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"disEgg","type":"uint256"}],"name":"eliksirHazBeenGot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"emergencyWithdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"approved","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"emitApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"emitApprovalForAll","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":"emitTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"whomst","type":"address"}],"name":"enableNightVision","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"elixirId","type":"uint256"}],"name":"getAttributes","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"elixirId","type":"uint256"}],"name":"getCharges","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"elixirId","type":"uint256"}],"name":"getChargesElementAndAttributes","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"elixirId","type":"uint256"}],"name":"getElement","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"elixirId","type":"uint256"}],"name":"getElementAndAttributes","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hazUFoundIt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum ElixirBottles.HowHard2See","name":"_howHard","type":"uint8"}],"name":"howHardIzIt2See","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isAuthorizedToDrink","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"izItDer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"izItDerOrIzItGone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"metadataStorage","outputs":[{"internalType":"contract ElixirMetadataProto","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nightVision","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"waaaMyEliksir","type":"uint256"}],"name":"ohNoes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"operatorRestrictions","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"eggz","type":"uint256[]"}],"name":"piktItUpp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preventNewRestrictions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redistributionReceiver","outputs":[{"internalType":"contract IERC721Receiver","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_msAddy","type":"address"}],"name":"registerMetadataStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rrAddy","type":"address"}],"name":"registerRedistributionReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"releaseOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"restrictOperator","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":"address","name":"_cAddy","type":"address"},{"internalType":"bool","name":"_authorized","type":"bool"}],"name":"setConsumerAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"storageLayerAddress_","type":"address"}],"name":"setStorageLayer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"datEliksir","type":"uint256"},{"internalType":"uint256","name":"targetId","type":"uint256"},{"internalType":"address","name":"msgSender","type":"address"}],"name":"slurpIt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"storageLayer","outputs":[{"internalType":"contract ERC721Storage","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"storageLayerSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"lastToken","type":"uint256"},{"internalType":"uint256","name":"lastIndex","type":"uint256"}],"name":"tokenOfOwnerByIndexStepped","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526000600160146101000a81548160ff0219169083151502179055506001600360006101000a81548160ff0219169083151502179055506001600360016101000a81548160ff0219169083151502179055506000600360026101000a81548160ff021916908360028111156200007e576200007d62000431565b5b021790555060006007553480156200009557600080fd5b50604051620069ba380380620069ba8339818101604052810190620000bb919062000860565b620000db620000cf6200022660201b60201c565b6200022e60201b60201c565b83600b9080519060200190620000f3929190620002f2565b5082600c90805190602001906200010c929190620002f2565b5060005b8251811015620001c05781818151811062000130576200012f62000964565b5b60200260200101516fffffffffffffffffffffffffffffffff166006600085848151811062000164576200016362000964565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080620001b790620009cc565b91505062000110565b508160059080519060200190620001d992919062000383565b5084600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505062000a7f565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003009062000a49565b90600052602060002090601f01602090048101928262000324576000855562000370565b82601f106200033f57805160ff191683800117855562000370565b8280016001018555821562000370579182015b828111156200036f57825182559160200191906001019062000352565b5b5090506200037f919062000412565b5090565b828054828255906000526020600020908101928215620003ff579160200282015b82811115620003fe5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620003a4565b5b5090506200040e919062000412565b5090565b5b808211156200042d57600081600090555060010162000413565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004a18262000474565b9050919050565b620004b38162000494565b8114620004bf57600080fd5b50565b600081519050620004d381620004a8565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200052e82620004e3565b810181811067ffffffffffffffff8211171562000550576200054f620004f4565b5b80604052505050565b60006200056562000460565b905062000573828262000523565b919050565b600067ffffffffffffffff821115620005965762000595620004f4565b5b620005a182620004e3565b9050602081019050919050565b60005b83811015620005ce578082015181840152602081019050620005b1565b83811115620005de576000848401525b50505050565b6000620005fb620005f58462000578565b62000559565b9050828152602081018484840111156200061a5762000619620004de565b5b62000627848285620005ae565b509392505050565b600082601f830112620006475762000646620004d9565b5b815162000659848260208601620005e4565b91505092915050565b600067ffffffffffffffff82111562000680576200067f620004f4565b5b602082029050602081019050919050565b600080fd5b6000620006ad620006a78462000662565b62000559565b90508083825260208201905060208402830185811115620006d357620006d262000691565b5b835b81811015620007005780620006eb8882620004c2565b845260208401935050602081019050620006d5565b5050509392505050565b600082601f830112620007225762000721620004d9565b5b81516200073484826020860162000696565b91505092915050565b600067ffffffffffffffff8211156200075b576200075a620004f4565b5b602082029050602081019050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b62000793816200076c565b81146200079f57600080fd5b50565b600081519050620007b38162000788565b92915050565b6000620007d0620007ca846200073d565b62000559565b90508083825260208201905060208402830185811115620007f657620007f562000691565b5b835b818110156200082357806200080e8882620007a2565b845260208401935050602081019050620007f8565b5050509392505050565b600082601f830112620008455762000844620004d9565b5b815162000857848260208601620007b9565b91505092915050565b600080600080600060a086880312156200087f576200087e6200046a565b5b60006200088f88828901620004c2565b955050602086015167ffffffffffffffff811115620008b357620008b26200046f565b5b620008c1888289016200062f565b945050604086015167ffffffffffffffff811115620008e557620008e46200046f565b5b620008f3888289016200062f565b935050606086015167ffffffffffffffff8111156200091757620009166200046f565b5b62000925888289016200070a565b925050608086015167ffffffffffffffff8111156200094957620009486200046f565b5b62000957888289016200082d565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b6000620009d982620009c2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000a0f5762000a0e62000993565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a6257607f821691505b6020821081141562000a795762000a7862000a1a565b5b50919050565b615f2b8062000a8f6000396000f3fe6080604052600436106103d25760003560e01c80636ef778ee116101fd578063a22cb46511610118578063cc17c1e8116100ab578063e8a3d4851161007a578063e8a3d48514610f0a578063e985e9c514610f35578063eabe51ad14610f72578063f2fde38b14610f9d578063f627452214610fc6576103f2565b8063cc17c1e814610e27578063ced0a79514610e52578063cff9007b14610e8f578063d72416b114610ecd576103f2565b8063b88d4fde116100e7578063b88d4fde14610d81578063b8d6850f14610daa578063c87b56dd14610dc1578063c93feaee14610dfe576103f2565b8063a22cb46514610cc9578063a899707c14610cf2578063ae67e0e814610d2f578063b2af127c14610d58576103f2565b8063868ad8431161019057806395d89b411161015f57806395d89b4114610c0d5780639772e50114610c38578063986ab3df14610c75578063a0fc0d5814610ca0576103f2565b8063868ad84314610b515780638da5cb5b14610b8e578063908d71ac14610bb9578063933023ac14610be4576103f2565b8063748ef90a116101cc578063748ef90a14610aab5780637844202d14610ad65780637b47ec1a14610aff5780637dca256f14610b28576103f2565b80636ef778ee14610a0557806370a0823114610a2e578063715018a614610a6b5780637370bc0614610a82576103f2565b806333790b4c116102ed5780634f6ccce7116102805780635c8095ea1161024f5780635c8095ea146109395780636352211e1461097657806364d57016146109b35780636ab8a42c146109dc576103f2565b80634f6ccce71461087f57806355c45fbe146108bc5780635687f2b8146108e55780635bcca8341461090e576103f2565b806342842e0e116102bc57806342842e0e146107b35780634378a6e3146107dc57806349df728c146108195780634f558e7914610842576103f2565b806333790b4c146106f957806335fbbe42146107365780633a7d22bc1461075f5780633ccfd60b1461079c576103f2565b806318160ddd116103655780632e1169b0116103345780632e1169b0146106275780632e1fbb9d146106665780632f745c591461069157806333713d6a146106ce576103f2565b806318160ddd146105815780631ceed976146105ac57806323b872dd146105d557806323de6651146105fe576103f2565b8063081812fc116103a1578063081812fc146104d9578063095ea7b3146105165780630a8d2a151461053f57806310a8fec41461056a576103f2565b806301ffc9a7146103f75780630317f4351461043457806306fdde0314610471578063070558401461049c576103f2565b366103f25734600760008282546103e9919061434a565b92505081905550005b600080fd5b34801561040357600080fd5b5061041e6004803603810190610419919061440c565b610fef565b60405161042b9190614454565b60405180910390f35b34801561044057600080fd5b5061045b6004803603810190610456919061449b565b611139565b60405161046891906144d7565b60405180910390f35b34801561047d57600080fd5b506104866111ed565b604051610493919061458b565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be919061460b565b611299565b6040516104d09190614454565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb919061449b565b6112b9565b60405161050d9190614647565b60405180910390f35b34801561052257600080fd5b5061053d60048036038101906105389190614662565b61136d565b005b34801561054b57600080fd5b50610554611402565b6040516105619190614647565b60405180910390f35b34801561057657600080fd5b5061057f61142c565b005b34801561058d57600080fd5b50610596611460565b6040516105a391906144d7565b60405180910390f35b3480156105b857600080fd5b506105d360048036038101906105ce919061460b565b611507565b005b3480156105e157600080fd5b506105fc60048036038101906105f791906146a2565b61151b565b005b34801561060a57600080fd5b50610625600480360381019061062091906146a2565b6115b3565b005b34801561063357600080fd5b5061064e6004803603810190610649919061449b565b61161b565b60405161065d939291906147b3565b60405180910390f35b34801561067257600080fd5b5061067b6116dd565b6040516106889190614850565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190614662565b611703565b6040516106c591906144d7565b60405180910390f35b3480156106da57600080fd5b506106e36117ba565b6040516106f09190614454565b60405180910390f35b34801561070557600080fd5b50610720600480360381019061071b919061460b565b6117cd565b60405161072d9190614454565b60405180910390f35b34801561074257600080fd5b5061075d6004803603810190610758919061460b565b6117ed565b005b34801561076b57600080fd5b506107866004803603810190610781919061449b565b611839565b60405161079391906144d7565b60405180910390f35b3480156107a857600080fd5b506107b16118ed565b005b3480156107bf57600080fd5b506107da60048036038101906107d591906146a2565b611a97565b005b3480156107e857600080fd5b5061080360048036038101906107fe919061449b565b611b2f565b604051610810919061486b565b60405180910390f35b34801561082557600080fd5b50610840600480360381019061083b919061460b565b611be8565b005b34801561084e57600080fd5b506108696004803603810190610864919061449b565b611e00565b6040516108769190614454565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a1919061449b565b611eb4565b6040516108b391906144d7565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de91906148b9565b611f68565b005b3480156108f157600080fd5b5061090c600480360381019061090791906146a2565b611fda565b005b34801561091a57600080fd5b50610923612042565b6040516109309190614454565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b919061449b565b612055565b60405161096d9190614647565b60405180910390f35b34801561098257600080fd5b5061099d6004803603810190610998919061449b565b612094565b6040516109aa9190614647565b60405180910390f35b3480156109bf57600080fd5b506109da60048036038101906109d5919061490c565b612148565b005b3480156109e857600080fd5b50610a0360048036038101906109fe919061449b565b6123df565b005b348015610a1157600080fd5b50610a2c6004803603810190610a27919061495f565b6124e5565b005b348015610a3a57600080fd5b50610a556004803603810190610a50919061460b565b612548565b604051610a6291906144d7565b60405180910390f35b348015610a7757600080fd5b50610a806125fc565b005b348015610a8e57600080fd5b50610aa96004803603810190610aa4919061460b565b612610565b005b348015610ab757600080fd5b50610ac061265c565b604051610acd91906149c0565b60405180910390f35b348015610ae257600080fd5b50610afd6004803603810190610af89190614b23565b612682565b005b348015610b0b57600080fd5b50610b266004803603810190610b21919061449b565b612a09565b005b348015610b3457600080fd5b50610b4f6004803603810190610b4a919061460b565b612a9b565b005b348015610b5d57600080fd5b50610b786004803603810190610b739190614bae565b612b51565b604051610b8591906144d7565b60405180910390f35b348015610b9a57600080fd5b50610ba3612c0e565b604051610bb09190614647565b60405180910390f35b348015610bc557600080fd5b50610bce612c37565b604051610bdb9190614c36565b60405180910390f35b348015610bf057600080fd5b50610c0b6004803603810190610c06919061460b565b612c5d565b005b348015610c1957600080fd5b50610c22612cc0565b604051610c2f919061458b565b60405180910390f35b348015610c4457600080fd5b50610c5f6004803603810190610c5a9190614c51565b612d6c565b604051610c6c9190614454565b60405180910390f35b348015610c8157600080fd5b50610c8a612e00565b604051610c979190614454565b60405180910390f35b348015610cac57600080fd5b50610cc76004803603810190610cc2919061495f565b612e13565b005b348015610cd557600080fd5b50610cf06004803603810190610ceb919061495f565b612eab565b005b348015610cfe57600080fd5b50610d196004803603810190610d14919061460b565b612fcd565b604051610d269190614454565b60405180910390f35b348015610d3b57600080fd5b50610d566004803603810190610d519190614cb6565b612fed565b005b348015610d6457600080fd5b50610d7f6004803603810190610d7a919061460b565b613054565b005b348015610d8d57600080fd5b50610da86004803603810190610da39190614d98565b613175565b005b348015610db657600080fd5b50610dbf613210565b005b348015610dcd57600080fd5b50610de86004803603810190610de3919061449b565b613222565b604051610df5919061458b565b60405180910390f35b348015610e0a57600080fd5b50610e256004803603810190610e209190614e1b565b613323565b005b348015610e3357600080fd5b50610e3c613711565b604051610e499190614edb565b60405180910390f35b348015610e5e57600080fd5b50610e796004803603810190610e74919061449b565b613724565b604051610e869190614454565b60405180910390f35b348015610e9b57600080fd5b50610eb66004803603810190610eb1919061449b565b613781565b604051610ec4929190614ef6565b60405180910390f35b348015610ed957600080fd5b50610ef46004803603810190610eef919061449b565b61383e565b604051610f0191906144d7565b60405180910390f35b348015610f1657600080fd5b50610f1f613856565b604051610f2c919061458b565b60405180910390f35b348015610f4157600080fd5b50610f5c6004803603810190610f579190614c51565b61399a565b604051610f699190614454565b60405180910390f35b348015610f7e57600080fd5b50610f87613a51565b604051610f949190614f47565b60405180910390f35b348015610fa957600080fd5b50610fc46004803603810190610fbf919061460b565b613a77565b005b348015610fd257600080fd5b50610fed6004803603810190610fe8919061460b565b613afb565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806110ba57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061112257507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611132575061113182613b0f565b5b9050919050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630317f435836040518263ffffffff1660e01b815260040161119691906144d7565b60206040518083038186803b1580156111ae57600080fd5b505afa1580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e69190614f77565b9050919050565b6060600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a2345ac56040518163ffffffff1660e01b815260040160006040518083038186803b15801561125757600080fd5b505afa15801561126b573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906112949190615045565b905090565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f20342e7836040518263ffffffff1660e01b815260040161131691906144d7565b60206040518083038186803b15801561132e57600080fd5b505afa158015611342573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136691906150a3565b9050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633bf751868383336040518463ffffffff1660e01b81526004016113cc939291906150d0565b600060405180830381600087803b1580156113e657600080fd5b505af11580156113fa573d6000803e3d6000fd5b505050505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611434613b79565b600360019054906101000a900460ff1615600360016101000a81548160ff021916908315150217905550565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637b42aae26040518163ffffffff1660e01b815260040160206040518083038186803b1580156114ca57600080fd5b505afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115029190614f77565b905090565b61150f613b79565b61151881613bf7565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d604c5b0848484336040518563ffffffff1660e01b815260040161157c9493929190615107565b600060405180830381600087803b15801561159657600080fd5b505af11580156115aa573d6000803e3d6000fd5b50505050505050565b6115bb613ca1565b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000806060600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1169b0856040518263ffffffff1660e01b815260040161167b91906144d7565b60006040518083038186803b15801561169357600080fd5b505afa1580156116a7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906116d091906151e3565b9250925092509193909250565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631909ea1284846040518363ffffffff1660e01b8152600401611762929190615252565b60206040518083038186803b15801561177a57600080fd5b505afa15801561178e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b29190614f77565b905092915050565b600160149054906101000a900460ff1681565b60046020528060005260406000206000915054906101000a900460ff1681565b6117f5613b79565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633a7d22bc836040518263ffffffff1660e01b815260040161189691906144d7565b60206040518083038186803b1580156118ae57600080fd5b505afa1580156118c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e69190614f77565b9050919050565b6118f5613d33565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461271060075461194791906152aa565b61195191906152db565b90506000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826119a09190615335565b905081600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060003373ffffffffffffffffffffffffffffffffffffffff1682604051611a0c9061539a565b60006040518083038185875af1925050503d8060008114611a49576040519150601f19603f3d011682016040523d82523d6000602084013e611a4e565b606091505b5050905080611a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a89906153fb565b60405180910390fd5b505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b467ad0e848484336040518563ffffffff1660e01b8152600401611af89493929190615107565b600060405180830381600087803b158015611b1257600080fd5b505af1158015611b26573d6000803e3d6000fd5b50505050505050565b6060600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634378a6e3836040518263ffffffff1660e01b8152600401611b8c91906144d7565b60006040518083038186803b158015611ba457600080fd5b505afa158015611bb8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611be1919061541b565b9050919050565b611bf0613b79565b60005b600580549050811015611dfc578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60058381548110611c3057611c2f615464565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166006600060058681548110611c7357611c72615464565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127108673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611d159190614647565b60206040518083038186803b158015611d2d57600080fd5b505afa158015611d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d659190614f77565b611d6f91906152aa565b611d7991906152db565b6040518363ffffffff1660e01b8152600401611d96929190615252565b602060405180830381600087803b158015611db057600080fd5b505af1158015611dc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de891906154a8565b508080611df4906154d5565b915050611bf3565b5050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f64be63836040518263ffffffff1660e01b8152600401611e5d91906144d7565b60206040518083038186803b158015611e7557600080fd5b505afa158015611e89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ead91906154a8565b9050919050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1d984e4836040518263ffffffff1660e01b8152600401611f1191906144d7565b60206040518083038186803b158015611f2957600080fd5b505afa158015611f3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f619190614f77565b9050919050565b611f70613ca1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fcd9190614454565b60405180910390a3505050565b611fe2613ca1565b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600360009054906101000a900460ff1681565b6005818154811061206557600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cc8b042a836040518263ffffffff1660e01b81526004016120f191906144d7565b60206040518083038186803b15801561210957600080fd5b505afa15801561211d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214191906150a3565b9050919050565b61215183612094565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480156121d45750600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80156121e657506121e58133612d6c565b5b612225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221c9061556a565b60405180910390fd5b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cff9007b866040518263ffffffff1660e01b815260040161228391906144d7565b60006040518083038186803b15801561229b57600080fd5b505afa1580156122af573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906122d8919061558a565b91509150600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637cb3406f866040518263ffffffff1660e01b815260040161233791906144d7565b600060405180830381600087803b15801561235157600080fd5b505af1158015612365573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff1663a0026cbd8584846040518463ffffffff1660e01b81526004016123a6939291906147b3565b600060405180830381600087803b1580156123c057600080fd5b505af11580156123d4573d6000803e3d6000fd5b505050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff166123ff82612094565b73ffffffffffffffffffffffffffffffffffffffff1614612455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244c90615632565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b20cbe6826040518263ffffffff1660e01b81526004016124b091906144d7565b600060405180830381600087803b1580156124ca57600080fd5b505af11580156124de573d6000803e3d6000fd5b5050505050565b6124ed613b79565b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638d445898836040518263ffffffff1660e01b81526004016125a59190614647565b60206040518083038186803b1580156125bd57600080fd5b505afa1580156125d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f59190614f77565b9050919050565b612604613b79565b61260e6000613db7565b565b612618613b79565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b80518251146126c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bd9061569e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166126e684612094565b73ffffffffffffffffffffffffffffffffffffffff161461273c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273390615632565b60405180910390fd5b60005b8151811015612972576000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663053eaa7385848151811061279b5761279a615464565b5b60200260200101516040518263ffffffff1660e01b81526004016127bf91906144d7565b60206040518083038186803b1580156127d757600080fd5b505afa1580156127eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280f91906150a3565b90508073ffffffffffffffffffffffffffffffffffffffff166342842e0e8273ffffffffffffffffffffffffffffffffffffffff16636352211e86868151811061285c5761285b615464565b5b60200260200101516040518263ffffffff1660e01b815260040161288091906144d7565b60206040518083038186803b15801561289857600080fd5b505afa1580156128ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d091906150a3565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686868151811061290657612905615464565b5b60200260200101516040518463ffffffff1660e01b815260040161292c939291906156be565b600060405180830381600087803b15801561294657600080fd5b505af115801561295a573d6000803e3d6000fd5b5050505050808061296a906154d5565b91505061273f565b50600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663252f68d58484846040518463ffffffff1660e01b81526004016129d2939291906156f5565b600060405180830381600087803b1580156129ec57600080fd5b505af1158015612a00573d6000803e3d6000fd5b50505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b855b7fe82336040518363ffffffff1660e01b8152600401612a6692919061573a565b600060405180830381600087803b158015612a8057600080fd5b505af1158015612a94573d6000803e3d6000fd5b5050505050565b612aa3613b79565b600160149054906101000a900460ff1615612af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aea906157af565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018060146101000a81548160ff02191690831515021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663517d9de7868686866040518563ffffffff1660e01b8152600401612bb494939291906157cf565b60206040518083038186803b158015612bcc57600080fd5b505afa158015612be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c049190614f77565b9050949350505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612c65613b79565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6060600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663defb876a6040518163ffffffff1660e01b815260040160006040518083038186803b158015612d2a57600080fd5b505afa158015612d3e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612d679190615045565b905090565b6000601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600360019054906101000a900460ff1681565b80601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2f90615860565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bfbacd3f8383336040518463ffffffff1660e01b8152600401612f9793929190615880565b600060405180830381600087803b158015612fb157600080fd5b505af1158015612fc5573d6000803e3d6000fd5b505050505050565b60026020528060005260406000206000915054906101000a900460ff1681565b612ff5613b79565b6000600281111561300957613008614e64565b5b81600281111561301c5761301b614e64565b5b141561302757600080fd5b80600360026101000a81548160ff0219169083600281111561304c5761304b614e64565b5b021790555050565b61305c613b79565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016130b29190614647565b60206040518083038186803b1580156130ca57600080fd5b505afa1580156130de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131029190614f77565b6040518363ffffffff1660e01b815260040161311f929190615252565b602060405180830381600087803b15801561313957600080fd5b505af115801561314d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061317191906154a8565b5050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635543afe985858585336040518663ffffffff1660e01b81526004016131d895949392919061590c565b600060405180830381600087803b1580156131f257600080fd5b505af1158015613206573d6000803e3d6000fd5b5050505050505050565b613218613b79565b613220613e7b565b565b606061322d82611e00565b61326c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613263906159b2565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f31e42f0836040518263ffffffff1660e01b81526004016132c791906144d7565b60006040518083038186803b1580156132df57600080fd5b505afa1580156132f3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061331c9190615045565b9050919050565b600360019054906101000a900460ff16613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990615a1e565b60405180910390fd5b6001600281111561338657613385614e64565b5b600360029054906101000a900460ff1660028111156133a8576133a7614e64565b5b148061343c5750600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561343b57506000600281111561341757613416614e64565b5b600360029054906101000a900460ff16600281111561343957613438614e64565b5b145b5b61347b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347290615a8a565b60405180910390fd5b6000806000806001905060006001905060005b86518110156136875760fa8782815181106134ac576134ab615464565b5b60200260200101516134be91906152aa565b93508584146134fc57846009600088815260200190815260200160002054176009600088815260200190815260200160002081905550839550600094505b600060fa8761350b91906152db565b88838151811061351e5761351d615464565b5b60200260200101516135309190615335565b905083801561356157506000600282600960008b815260200190815260200160002054901c61355f9190615aaa565b145b935082801561365f57503373ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8a85815181106135d3576135d2615464565b5b60200260200101516040518263ffffffff1660e01b81526004016135f791906144d7565b60206040518083038186803b15801561360f57600080fd5b505afa158015613623573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061364791906150a3565b73ffffffffffffffffffffffffffffffffffffffff16145b9250806001901b86613671919061434a565b955050808061367f906154d5565b91505061348e565b508180156136925750805b6136d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136c890615b27565b60405180910390fd5b836009600087815260200190815260200160002054176009600087815260200190815260200160002081905550613709338751613e98565b505050505050565b600360029054906101000a900460ff1681565b60008060fa8361373491906152aa565b9050600060fa8261374591906152db565b846137509190615335565b905060016002826009600086815260200190815260200160002054901c6137779190615aaa565b1492505050919050565b60006060600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cff9007b846040518263ffffffff1660e01b81526004016137e091906144d7565b60006040518083038186803b1580156137f857600080fd5b505afa15801561380c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190613835919061558a565b91509150915091565b60096020528060005260406000206000915090505481565b6060613995600b805461386890615b76565b80601f016020809104026020016040519081016040528092919081815260200182805461389490615b76565b80156138e15780601f106138b6576101008083540402835291602001916138e1565b820191906000526020600020905b8154815290600101906020018083116138c457829003601f168201915b5050505050600c80546138f390615b76565b80601f016020809104026020016040519081016040528092919081815260200182805461391f90615b76565b801561396c5780601f106139415761010080835404028352916020019161396c565b820191906000526020600020905b81548152906001019060200180831161394f57829003601f168201915b50505050506139903073ffffffffffffffffffffffffffffffffffffffff16613f2d565b613fb3565b905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e568c01a84846040518363ffffffff1660e01b81526004016139f9929190615ba8565b60206040518083038186803b158015613a1157600080fd5b505afa158015613a25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a4991906154a8565b905092915050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b613a7f613b79565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ae690615c43565b60405180910390fd5b613af881613db7565b50565b613b03613b79565b613b0c81614072565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613b816140cd565b73ffffffffffffffffffffffffffffffffffffffff16613b9f612c0e565b73ffffffffffffffffffffffffffffffffffffffff1614613bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bec90615caf565b60405180910390fd5b565b600360009054906101000a900460ff16613c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c3d90615d1b565b60405180910390fd5b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d2890615d87565b60405180910390fd5b565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411613db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dac90615df3565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600360006101000a81548160ff021916908315150217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631a7545758383336040518463ffffffff1660e01b8152600401613ef7939291906150d0565b600060405180830381600087803b158015613f1157600080fd5b505af1158015613f25573d6000803e3d6000fd5b505050505050565b60606000821415613f75576040518060400160405280600481526020017f30783030000000000000000000000000000000000000000000000000000000008152509050613fae565b600082905060005b60008214613f9f578080613f90906154d5565b915050600882901c9150613f7d565b613fa984826140d5565b925050505b919050565b6060600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b7e591ed8585856040518463ffffffff1660e01b815260040161401493929190615e13565b60006040518083038186803b15801561402c57600080fd5b505afa158015614040573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906140699190615045565b90509392505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600033905090565b6060600060028360026140e891906152db565b6140f2919061434a565b67ffffffffffffffff81111561410b5761410a6149e0565b5b6040519080825280601f01601f19166020018201604052801561413d5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061417557614174615464565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106141d9576141d8615464565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261421991906152db565b614223919061434a565b90505b60018111156142c3577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061426557614264615464565b5b1a60f81b82828151811061427c5761427b615464565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806142bc90615e5f565b9050614226565b5060008414614307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142fe90615ed5565b60405180910390fd5b8091505092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061435582614311565b915061436083614311565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143955761439461431b565b5b828201905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6143e9816143b4565b81146143f457600080fd5b50565b600081359050614406816143e0565b92915050565b600060208284031215614422576144216143aa565b5b6000614430848285016143f7565b91505092915050565b60008115159050919050565b61444e81614439565b82525050565b60006020820190506144696000830184614445565b92915050565b61447881614311565b811461448357600080fd5b50565b6000813590506144958161446f565b92915050565b6000602082840312156144b1576144b06143aa565b5b60006144bf84828501614486565b91505092915050565b6144d181614311565b82525050565b60006020820190506144ec60008301846144c8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561452c578082015181840152602081019050614511565b8381111561453b576000848401525b50505050565b6000601f19601f8301169050919050565b600061455d826144f2565b61456781856144fd565b935061457781856020860161450e565b61458081614541565b840191505092915050565b600060208201905081810360008301526145a58184614552565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006145d8826145ad565b9050919050565b6145e8816145cd565b81146145f357600080fd5b50565b600081359050614605816145df565b92915050565b600060208284031215614621576146206143aa565b5b600061462f848285016145f6565b91505092915050565b614641816145cd565b82525050565b600060208201905061465c6000830184614638565b92915050565b60008060408385031215614679576146786143aa565b5b6000614687858286016145f6565b925050602061469885828601614486565b9150509250929050565b6000806000606084860312156146bb576146ba6143aa565b5b60006146c9868287016145f6565b93505060206146da868287016145f6565b92505060406146eb86828701614486565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61472a81614311565b82525050565b600061473c8383614721565b60208301905092915050565b6000602082019050919050565b6000614760826146f5565b61476a8185614700565b935061477583614711565b8060005b838110156147a657815161478d8882614730565b975061479883614748565b925050600181019050614779565b5085935050505092915050565b60006060820190506147c860008301866144c8565b6147d560208301856144c8565b81810360408301526147e78184614755565b9050949350505050565b6000819050919050565b600061481661481161480c846145ad565b6147f1565b6145ad565b9050919050565b6000614828826147fb565b9050919050565b600061483a8261481d565b9050919050565b61484a8161482f565b82525050565b60006020820190506148656000830184614841565b92915050565b600060208201905081810360008301526148858184614755565b905092915050565b61489681614439565b81146148a157600080fd5b50565b6000813590506148b38161488d565b92915050565b6000806000606084860312156148d2576148d16143aa565b5b60006148e0868287016145f6565b93505060206148f1868287016145f6565b9250506040614902868287016148a4565b9150509250925092565b600080600060608486031215614925576149246143aa565b5b600061493386828701614486565b935050602061494486828701614486565b9250506040614955868287016145f6565b9150509250925092565b60008060408385031215614976576149756143aa565b5b6000614984858286016145f6565b9250506020614995858286016148a4565b9150509250929050565b60006149aa8261481d565b9050919050565b6149ba8161499f565b82525050565b60006020820190506149d560008301846149b1565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614a1882614541565b810181811067ffffffffffffffff82111715614a3757614a366149e0565b5b80604052505050565b6000614a4a6143a0565b9050614a568282614a0f565b919050565b600067ffffffffffffffff821115614a7657614a756149e0565b5b602082029050602081019050919050565b600080fd5b6000614a9f614a9a84614a5b565b614a40565b90508083825260208201905060208402830185811115614ac257614ac1614a87565b5b835b81811015614aeb5780614ad78882614486565b845260208401935050602081019050614ac4565b5050509392505050565b600082601f830112614b0a57614b096149db565b5b8135614b1a848260208601614a8c565b91505092915050565b600080600060608486031215614b3c57614b3b6143aa565b5b6000614b4a86828701614486565b935050602084013567ffffffffffffffff811115614b6b57614b6a6143af565b5b614b7786828701614af5565b925050604084013567ffffffffffffffff811115614b9857614b976143af565b5b614ba486828701614af5565b9150509250925092565b60008060008060808587031215614bc857614bc76143aa565b5b6000614bd6878288016145f6565b9450506020614be787828801614486565b9350506040614bf887828801614486565b9250506060614c0987828801614486565b91505092959194509250565b6000614c208261481d565b9050919050565b614c3081614c15565b82525050565b6000602082019050614c4b6000830184614c27565b92915050565b60008060408385031215614c6857614c676143aa565b5b6000614c76858286016145f6565b9250506020614c87858286016145f6565b9150509250929050565b60038110614c9e57600080fd5b50565b600081359050614cb081614c91565b92915050565b600060208284031215614ccc57614ccb6143aa565b5b6000614cda84828501614ca1565b91505092915050565b600080fd5b600067ffffffffffffffff821115614d0357614d026149e0565b5b614d0c82614541565b9050602081019050919050565b82818337600083830152505050565b6000614d3b614d3684614ce8565b614a40565b905082815260208101848484011115614d5757614d56614ce3565b5b614d62848285614d19565b509392505050565b600082601f830112614d7f57614d7e6149db565b5b8135614d8f848260208601614d28565b91505092915050565b60008060008060808587031215614db257614db16143aa565b5b6000614dc0878288016145f6565b9450506020614dd1878288016145f6565b9350506040614de287828801614486565b925050606085013567ffffffffffffffff811115614e0357614e026143af565b5b614e0f87828801614d6a565b91505092959194509250565b600060208284031215614e3157614e306143aa565b5b600082013567ffffffffffffffff811115614e4f57614e4e6143af565b5b614e5b84828501614af5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110614ea457614ea3614e64565b5b50565b6000819050614eb582614e93565b919050565b6000614ec582614ea7565b9050919050565b614ed581614eba565b82525050565b6000602082019050614ef06000830184614ecc565b92915050565b6000604082019050614f0b60008301856144c8565b8181036020830152614f1d8184614755565b90509392505050565b6000614f318261481d565b9050919050565b614f4181614f26565b82525050565b6000602082019050614f5c6000830184614f38565b92915050565b600081519050614f718161446f565b92915050565b600060208284031215614f8d57614f8c6143aa565b5b6000614f9b84828501614f62565b91505092915050565b600067ffffffffffffffff821115614fbf57614fbe6149e0565b5b614fc882614541565b9050602081019050919050565b6000614fe8614fe384614fa4565b614a40565b90508281526020810184848401111561500457615003614ce3565b5b61500f84828561450e565b509392505050565b600082601f83011261502c5761502b6149db565b5b815161503c848260208601614fd5565b91505092915050565b60006020828403121561505b5761505a6143aa565b5b600082015167ffffffffffffffff811115615079576150786143af565b5b61508584828501615017565b91505092915050565b60008151905061509d816145df565b92915050565b6000602082840312156150b9576150b86143aa565b5b60006150c78482850161508e565b91505092915050565b60006060820190506150e56000830186614638565b6150f260208301856144c8565b6150ff6040830184614638565b949350505050565b600060808201905061511c6000830187614638565b6151296020830186614638565b61513660408301856144c8565b6151436060830184614638565b95945050505050565b600061515f61515a84614a5b565b614a40565b9050808382526020820190506020840283018581111561518257615181614a87565b5b835b818110156151ab57806151978882614f62565b845260208401935050602081019050615184565b5050509392505050565b600082601f8301126151ca576151c96149db565b5b81516151da84826020860161514c565b91505092915050565b6000806000606084860312156151fc576151fb6143aa565b5b600061520a86828701614f62565b935050602061521b86828701614f62565b925050604084015167ffffffffffffffff81111561523c5761523b6143af565b5b615248868287016151b5565b9150509250925092565b60006040820190506152676000830185614638565b61527460208301846144c8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006152b582614311565b91506152c083614311565b9250826152d0576152cf61527b565b5b828204905092915050565b60006152e682614311565b91506152f183614311565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561532a5761532961431b565b5b828202905092915050565b600061534082614311565b915061534b83614311565b92508282101561535e5761535d61431b565b5b828203905092915050565b600081905092915050565b50565b6000615384600083615369565b915061538f82615374565b600082019050919050565b60006153a582615377565b9150819050919050565b7f5061796d656e74206661696c6564210000000000000000000000000000000000600082015250565b60006153e5600f836144fd565b91506153f0826153af565b602082019050919050565b60006020820190508181036000830152615414816153d8565b9050919050565b600060208284031215615431576154306143aa565b5b600082015167ffffffffffffffff81111561544f5761544e6143af565b5b61545b848285016151b5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506154a28161488d565b92915050565b6000602082840312156154be576154bd6143aa565b5b60006154cc84828501615493565b91505092915050565b60006154e082614311565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155135761551261431b565b5b600182019050919050565b7f6f3b610000000000000000000000000000000000000000000000000000000000600082015250565b60006155546003836144fd565b915061555f8261551e565b602082019050919050565b6000602082019050818103600083015261558381615547565b9050919050565b600080604083850312156155a1576155a06143aa565b5b60006155af85828601614f62565b925050602083015167ffffffffffffffff8111156155d0576155cf6143af565b5b6155dc858286016151b5565b9150509250929050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061561c6001836144fd565b9150615627826155e6565b602082019050919050565b6000602082019050818103600083015261564b8161560f565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b60006156886001836144fd565b915061569382615652565b602082019050919050565b600060208201905081810360008301526156b78161567b565b9050919050565b60006060820190506156d36000830186614638565b6156e06020830185614638565b6156ed60408301846144c8565b949350505050565b600060608201905061570a60008301866144c8565b818103602083015261571c8185614755565b905081810360408301526157308184614755565b9050949350505050565b600060408201905061574f60008301856144c8565b61575c6020830184614638565b9392505050565b7f736c730000000000000000000000000000000000000000000000000000000000600082015250565b60006157996003836144fd565b91506157a482615763565b602082019050919050565b600060208201905081810360008301526157c88161578c565b9050919050565b60006080820190506157e46000830187614638565b6157f160208301866144c8565b6157fe60408301856144c8565b61580b60608301846144c8565b95945050505050565b7f7200000000000000000000000000000000000000000000000000000000000000600082015250565b600061584a6001836144fd565b915061585582615814565b602082019050919050565b600060208201905081810360008301526158798161583d565b9050919050565b60006060820190506158956000830186614638565b6158a26020830185614445565b6158af6040830184614638565b949350505050565b600081519050919050565b600082825260208201905092915050565b60006158de826158b7565b6158e881856158c2565b93506158f881856020860161450e565b61590181614541565b840191505092915050565b600060a0820190506159216000830188614638565b61592e6020830187614638565b61593b60408301866144c8565b818103606083015261594d81856158d3565b905061595c6080830184614638565b9695505050505050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b600061599c6001836144fd565b91506159a782615966565b602082019050919050565b600060208201905081810360008301526159cb8161598f565b9050919050565b7f6973000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a086002836144fd565b9150615a13826159d2565b602082019050919050565b60006020820190508181036000830152615a37816159fb565b9050919050565b7f736f000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a746002836144fd565b9150615a7f82615a3e565b602082019050919050565b60006020820190508181036000830152615aa381615a67565b9050919050565b6000615ab582614311565b9150615ac083614311565b925082615ad057615acf61527b565b5b828206905092915050565b7f623b6f0000000000000000000000000000000000000000000000000000000000600082015250565b6000615b116003836144fd565b9150615b1c82615adb565b602082019050919050565b60006020820190508181036000830152615b4081615b04565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680615b8e57607f821691505b60208210811415615ba257615ba1615b47565b5b50919050565b6000604082019050615bbd6000830185614638565b615bca6020830184614638565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615c2d6026836144fd565b9150615c3882615bd1565b604082019050919050565b60006020820190508181036000830152615c5c81615c20565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615c996020836144fd565b9150615ca482615c63565b602082019050919050565b60006020820190508181036000830152615cc881615c8c565b9050919050565b7f6e6e720000000000000000000000000000000000000000000000000000000000600082015250565b6000615d056003836144fd565b9150615d1082615ccf565b602082019050919050565b60006020820190508181036000830152615d3481615cf8565b9050919050565b7f6e6f742073746f72616765000000000000000000000000000000000000000000600082015250565b6000615d71600b836144fd565b9150615d7c82615d3b565b602082019050919050565b60006020820190508181036000830152615da081615d64565b9050919050565b7f6e6f74206120726f79616c747920706179656500000000000000000000000000600082015250565b6000615ddd6013836144fd565b9150615de882615da7565b602082019050919050565b60006020820190508181036000830152615e0c81615dd0565b9050919050565b60006060820190508181036000830152615e2d8186614552565b90508181036020830152615e418185614552565b90508181036040830152615e558184614552565b9050949350505050565b6000615e6a82614311565b91506000821415615e7e57615e7d61431b565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615ebf6020836144fd565b9150615eca82615e89565b602082019050919050565b60006020820190508181036000830152615eee81615eb2565b905091905056fea264697066735822122021862f50fcfa954af719656ced020fcf6485a0d1687cf389935a3f5bf836cd7264736f6c634300080900330000000000000000000000006c5a06ae6b773457480c12f12c2fb22627507a3a00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000004c456c6978697220626f74746c657320616c6c6f7720666f722074686520636f6d62696e6174696f6e20616e64207472616e736d75746174696f6e206f6620696e6772656469656e74732e2e2e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6539367437554d6b575961746b55434d55584135586b596a574c634c55443673506966745939664d3936774a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000066f3794178997a12779527b36a2f042e001625af0000000000000000000000005d5ee1d6b3c12b07519020b0b14a495d518be78d000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000005dc0000000000000000000000000000000000000000000000000000000000002134
Deployed Bytecode
0x6080604052600436106103d25760003560e01c80636ef778ee116101fd578063a22cb46511610118578063cc17c1e8116100ab578063e8a3d4851161007a578063e8a3d48514610f0a578063e985e9c514610f35578063eabe51ad14610f72578063f2fde38b14610f9d578063f627452214610fc6576103f2565b8063cc17c1e814610e27578063ced0a79514610e52578063cff9007b14610e8f578063d72416b114610ecd576103f2565b8063b88d4fde116100e7578063b88d4fde14610d81578063b8d6850f14610daa578063c87b56dd14610dc1578063c93feaee14610dfe576103f2565b8063a22cb46514610cc9578063a899707c14610cf2578063ae67e0e814610d2f578063b2af127c14610d58576103f2565b8063868ad8431161019057806395d89b411161015f57806395d89b4114610c0d5780639772e50114610c38578063986ab3df14610c75578063a0fc0d5814610ca0576103f2565b8063868ad84314610b515780638da5cb5b14610b8e578063908d71ac14610bb9578063933023ac14610be4576103f2565b8063748ef90a116101cc578063748ef90a14610aab5780637844202d14610ad65780637b47ec1a14610aff5780637dca256f14610b28576103f2565b80636ef778ee14610a0557806370a0823114610a2e578063715018a614610a6b5780637370bc0614610a82576103f2565b806333790b4c116102ed5780634f6ccce7116102805780635c8095ea1161024f5780635c8095ea146109395780636352211e1461097657806364d57016146109b35780636ab8a42c146109dc576103f2565b80634f6ccce71461087f57806355c45fbe146108bc5780635687f2b8146108e55780635bcca8341461090e576103f2565b806342842e0e116102bc57806342842e0e146107b35780634378a6e3146107dc57806349df728c146108195780634f558e7914610842576103f2565b806333790b4c146106f957806335fbbe42146107365780633a7d22bc1461075f5780633ccfd60b1461079c576103f2565b806318160ddd116103655780632e1169b0116103345780632e1169b0146106275780632e1fbb9d146106665780632f745c591461069157806333713d6a146106ce576103f2565b806318160ddd146105815780631ceed976146105ac57806323b872dd146105d557806323de6651146105fe576103f2565b8063081812fc116103a1578063081812fc146104d9578063095ea7b3146105165780630a8d2a151461053f57806310a8fec41461056a576103f2565b806301ffc9a7146103f75780630317f4351461043457806306fdde0314610471578063070558401461049c576103f2565b366103f25734600760008282546103e9919061434a565b92505081905550005b600080fd5b34801561040357600080fd5b5061041e6004803603810190610419919061440c565b610fef565b60405161042b9190614454565b60405180910390f35b34801561044057600080fd5b5061045b6004803603810190610456919061449b565b611139565b60405161046891906144d7565b60405180910390f35b34801561047d57600080fd5b506104866111ed565b604051610493919061458b565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be919061460b565b611299565b6040516104d09190614454565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb919061449b565b6112b9565b60405161050d9190614647565b60405180910390f35b34801561052257600080fd5b5061053d60048036038101906105389190614662565b61136d565b005b34801561054b57600080fd5b50610554611402565b6040516105619190614647565b60405180910390f35b34801561057657600080fd5b5061057f61142c565b005b34801561058d57600080fd5b50610596611460565b6040516105a391906144d7565b60405180910390f35b3480156105b857600080fd5b506105d360048036038101906105ce919061460b565b611507565b005b3480156105e157600080fd5b506105fc60048036038101906105f791906146a2565b61151b565b005b34801561060a57600080fd5b50610625600480360381019061062091906146a2565b6115b3565b005b34801561063357600080fd5b5061064e6004803603810190610649919061449b565b61161b565b60405161065d939291906147b3565b60405180910390f35b34801561067257600080fd5b5061067b6116dd565b6040516106889190614850565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190614662565b611703565b6040516106c591906144d7565b60405180910390f35b3480156106da57600080fd5b506106e36117ba565b6040516106f09190614454565b60405180910390f35b34801561070557600080fd5b50610720600480360381019061071b919061460b565b6117cd565b60405161072d9190614454565b60405180910390f35b34801561074257600080fd5b5061075d6004803603810190610758919061460b565b6117ed565b005b34801561076b57600080fd5b506107866004803603810190610781919061449b565b611839565b60405161079391906144d7565b60405180910390f35b3480156107a857600080fd5b506107b16118ed565b005b3480156107bf57600080fd5b506107da60048036038101906107d591906146a2565b611a97565b005b3480156107e857600080fd5b5061080360048036038101906107fe919061449b565b611b2f565b604051610810919061486b565b60405180910390f35b34801561082557600080fd5b50610840600480360381019061083b919061460b565b611be8565b005b34801561084e57600080fd5b506108696004803603810190610864919061449b565b611e00565b6040516108769190614454565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a1919061449b565b611eb4565b6040516108b391906144d7565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de91906148b9565b611f68565b005b3480156108f157600080fd5b5061090c600480360381019061090791906146a2565b611fda565b005b34801561091a57600080fd5b50610923612042565b6040516109309190614454565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b919061449b565b612055565b60405161096d9190614647565b60405180910390f35b34801561098257600080fd5b5061099d6004803603810190610998919061449b565b612094565b6040516109aa9190614647565b60405180910390f35b3480156109bf57600080fd5b506109da60048036038101906109d5919061490c565b612148565b005b3480156109e857600080fd5b50610a0360048036038101906109fe919061449b565b6123df565b005b348015610a1157600080fd5b50610a2c6004803603810190610a27919061495f565b6124e5565b005b348015610a3a57600080fd5b50610a556004803603810190610a50919061460b565b612548565b604051610a6291906144d7565b60405180910390f35b348015610a7757600080fd5b50610a806125fc565b005b348015610a8e57600080fd5b50610aa96004803603810190610aa4919061460b565b612610565b005b348015610ab757600080fd5b50610ac061265c565b604051610acd91906149c0565b60405180910390f35b348015610ae257600080fd5b50610afd6004803603810190610af89190614b23565b612682565b005b348015610b0b57600080fd5b50610b266004803603810190610b21919061449b565b612a09565b005b348015610b3457600080fd5b50610b4f6004803603810190610b4a919061460b565b612a9b565b005b348015610b5d57600080fd5b50610b786004803603810190610b739190614bae565b612b51565b604051610b8591906144d7565b60405180910390f35b348015610b9a57600080fd5b50610ba3612c0e565b604051610bb09190614647565b60405180910390f35b348015610bc557600080fd5b50610bce612c37565b604051610bdb9190614c36565b60405180910390f35b348015610bf057600080fd5b50610c0b6004803603810190610c06919061460b565b612c5d565b005b348015610c1957600080fd5b50610c22612cc0565b604051610c2f919061458b565b60405180910390f35b348015610c4457600080fd5b50610c5f6004803603810190610c5a9190614c51565b612d6c565b604051610c6c9190614454565b60405180910390f35b348015610c8157600080fd5b50610c8a612e00565b604051610c979190614454565b60405180910390f35b348015610cac57600080fd5b50610cc76004803603810190610cc2919061495f565b612e13565b005b348015610cd557600080fd5b50610cf06004803603810190610ceb919061495f565b612eab565b005b348015610cfe57600080fd5b50610d196004803603810190610d14919061460b565b612fcd565b604051610d269190614454565b60405180910390f35b348015610d3b57600080fd5b50610d566004803603810190610d519190614cb6565b612fed565b005b348015610d6457600080fd5b50610d7f6004803603810190610d7a919061460b565b613054565b005b348015610d8d57600080fd5b50610da86004803603810190610da39190614d98565b613175565b005b348015610db657600080fd5b50610dbf613210565b005b348015610dcd57600080fd5b50610de86004803603810190610de3919061449b565b613222565b604051610df5919061458b565b60405180910390f35b348015610e0a57600080fd5b50610e256004803603810190610e209190614e1b565b613323565b005b348015610e3357600080fd5b50610e3c613711565b604051610e499190614edb565b60405180910390f35b348015610e5e57600080fd5b50610e796004803603810190610e74919061449b565b613724565b604051610e869190614454565b60405180910390f35b348015610e9b57600080fd5b50610eb66004803603810190610eb1919061449b565b613781565b604051610ec4929190614ef6565b60405180910390f35b348015610ed957600080fd5b50610ef46004803603810190610eef919061449b565b61383e565b604051610f0191906144d7565b60405180910390f35b348015610f1657600080fd5b50610f1f613856565b604051610f2c919061458b565b60405180910390f35b348015610f4157600080fd5b50610f5c6004803603810190610f579190614c51565b61399a565b604051610f699190614454565b60405180910390f35b348015610f7e57600080fd5b50610f87613a51565b604051610f949190614f47565b60405180910390f35b348015610fa957600080fd5b50610fc46004803603810190610fbf919061460b565b613a77565b005b348015610fd257600080fd5b50610fed6004803603810190610fe8919061460b565b613afb565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806110ba57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061112257507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611132575061113182613b0f565b5b9050919050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630317f435836040518263ffffffff1660e01b815260040161119691906144d7565b60206040518083038186803b1580156111ae57600080fd5b505afa1580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e69190614f77565b9050919050565b6060600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a2345ac56040518163ffffffff1660e01b815260040160006040518083038186803b15801561125757600080fd5b505afa15801561126b573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906112949190615045565b905090565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f20342e7836040518263ffffffff1660e01b815260040161131691906144d7565b60206040518083038186803b15801561132e57600080fd5b505afa158015611342573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136691906150a3565b9050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633bf751868383336040518463ffffffff1660e01b81526004016113cc939291906150d0565b600060405180830381600087803b1580156113e657600080fd5b505af11580156113fa573d6000803e3d6000fd5b505050505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611434613b79565b600360019054906101000a900460ff1615600360016101000a81548160ff021916908315150217905550565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637b42aae26040518163ffffffff1660e01b815260040160206040518083038186803b1580156114ca57600080fd5b505afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115029190614f77565b905090565b61150f613b79565b61151881613bf7565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d604c5b0848484336040518563ffffffff1660e01b815260040161157c9493929190615107565b600060405180830381600087803b15801561159657600080fd5b505af11580156115aa573d6000803e3d6000fd5b50505050505050565b6115bb613ca1565b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000806060600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1169b0856040518263ffffffff1660e01b815260040161167b91906144d7565b60006040518083038186803b15801561169357600080fd5b505afa1580156116a7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906116d091906151e3565b9250925092509193909250565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631909ea1284846040518363ffffffff1660e01b8152600401611762929190615252565b60206040518083038186803b15801561177a57600080fd5b505afa15801561178e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b29190614f77565b905092915050565b600160149054906101000a900460ff1681565b60046020528060005260406000206000915054906101000a900460ff1681565b6117f5613b79565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633a7d22bc836040518263ffffffff1660e01b815260040161189691906144d7565b60206040518083038186803b1580156118ae57600080fd5b505afa1580156118c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e69190614f77565b9050919050565b6118f5613d33565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461271060075461194791906152aa565b61195191906152db565b90506000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826119a09190615335565b905081600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060003373ffffffffffffffffffffffffffffffffffffffff1682604051611a0c9061539a565b60006040518083038185875af1925050503d8060008114611a49576040519150601f19603f3d011682016040523d82523d6000602084013e611a4e565b606091505b5050905080611a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a89906153fb565b60405180910390fd5b505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b467ad0e848484336040518563ffffffff1660e01b8152600401611af89493929190615107565b600060405180830381600087803b158015611b1257600080fd5b505af1158015611b26573d6000803e3d6000fd5b50505050505050565b6060600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634378a6e3836040518263ffffffff1660e01b8152600401611b8c91906144d7565b60006040518083038186803b158015611ba457600080fd5b505afa158015611bb8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611be1919061541b565b9050919050565b611bf0613b79565b60005b600580549050811015611dfc578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60058381548110611c3057611c2f615464565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166006600060058681548110611c7357611c72615464565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127108673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611d159190614647565b60206040518083038186803b158015611d2d57600080fd5b505afa158015611d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d659190614f77565b611d6f91906152aa565b611d7991906152db565b6040518363ffffffff1660e01b8152600401611d96929190615252565b602060405180830381600087803b158015611db057600080fd5b505af1158015611dc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de891906154a8565b508080611df4906154d5565b915050611bf3565b5050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f64be63836040518263ffffffff1660e01b8152600401611e5d91906144d7565b60206040518083038186803b158015611e7557600080fd5b505afa158015611e89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ead91906154a8565b9050919050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1d984e4836040518263ffffffff1660e01b8152600401611f1191906144d7565b60206040518083038186803b158015611f2957600080fd5b505afa158015611f3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f619190614f77565b9050919050565b611f70613ca1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fcd9190614454565b60405180910390a3505050565b611fe2613ca1565b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600360009054906101000a900460ff1681565b6005818154811061206557600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cc8b042a836040518263ffffffff1660e01b81526004016120f191906144d7565b60206040518083038186803b15801561210957600080fd5b505afa15801561211d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214191906150a3565b9050919050565b61215183612094565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480156121d45750600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80156121e657506121e58133612d6c565b5b612225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221c9061556a565b60405180910390fd5b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cff9007b866040518263ffffffff1660e01b815260040161228391906144d7565b60006040518083038186803b15801561229b57600080fd5b505afa1580156122af573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906122d8919061558a565b91509150600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637cb3406f866040518263ffffffff1660e01b815260040161233791906144d7565b600060405180830381600087803b15801561235157600080fd5b505af1158015612365573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff1663a0026cbd8584846040518463ffffffff1660e01b81526004016123a6939291906147b3565b600060405180830381600087803b1580156123c057600080fd5b505af11580156123d4573d6000803e3d6000fd5b505050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff166123ff82612094565b73ffffffffffffffffffffffffffffffffffffffff1614612455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244c90615632565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b20cbe6826040518263ffffffff1660e01b81526004016124b091906144d7565b600060405180830381600087803b1580156124ca57600080fd5b505af11580156124de573d6000803e3d6000fd5b5050505050565b6124ed613b79565b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638d445898836040518263ffffffff1660e01b81526004016125a59190614647565b60206040518083038186803b1580156125bd57600080fd5b505afa1580156125d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f59190614f77565b9050919050565b612604613b79565b61260e6000613db7565b565b612618613b79565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b80518251146126c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bd9061569e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166126e684612094565b73ffffffffffffffffffffffffffffffffffffffff161461273c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273390615632565b60405180910390fd5b60005b8151811015612972576000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663053eaa7385848151811061279b5761279a615464565b5b60200260200101516040518263ffffffff1660e01b81526004016127bf91906144d7565b60206040518083038186803b1580156127d757600080fd5b505afa1580156127eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280f91906150a3565b90508073ffffffffffffffffffffffffffffffffffffffff166342842e0e8273ffffffffffffffffffffffffffffffffffffffff16636352211e86868151811061285c5761285b615464565b5b60200260200101516040518263ffffffff1660e01b815260040161288091906144d7565b60206040518083038186803b15801561289857600080fd5b505afa1580156128ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d091906150a3565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686868151811061290657612905615464565b5b60200260200101516040518463ffffffff1660e01b815260040161292c939291906156be565b600060405180830381600087803b15801561294657600080fd5b505af115801561295a573d6000803e3d6000fd5b5050505050808061296a906154d5565b91505061273f565b50600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663252f68d58484846040518463ffffffff1660e01b81526004016129d2939291906156f5565b600060405180830381600087803b1580156129ec57600080fd5b505af1158015612a00573d6000803e3d6000fd5b50505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b855b7fe82336040518363ffffffff1660e01b8152600401612a6692919061573a565b600060405180830381600087803b158015612a8057600080fd5b505af1158015612a94573d6000803e3d6000fd5b5050505050565b612aa3613b79565b600160149054906101000a900460ff1615612af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aea906157af565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018060146101000a81548160ff02191690831515021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663517d9de7868686866040518563ffffffff1660e01b8152600401612bb494939291906157cf565b60206040518083038186803b158015612bcc57600080fd5b505afa158015612be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c049190614f77565b9050949350505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612c65613b79565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6060600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663defb876a6040518163ffffffff1660e01b815260040160006040518083038186803b158015612d2a57600080fd5b505afa158015612d3e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612d679190615045565b905090565b6000601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600360019054906101000a900460ff1681565b80601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2f90615860565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bfbacd3f8383336040518463ffffffff1660e01b8152600401612f9793929190615880565b600060405180830381600087803b158015612fb157600080fd5b505af1158015612fc5573d6000803e3d6000fd5b505050505050565b60026020528060005260406000206000915054906101000a900460ff1681565b612ff5613b79565b6000600281111561300957613008614e64565b5b81600281111561301c5761301b614e64565b5b141561302757600080fd5b80600360026101000a81548160ff0219169083600281111561304c5761304b614e64565b5b021790555050565b61305c613b79565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016130b29190614647565b60206040518083038186803b1580156130ca57600080fd5b505afa1580156130de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131029190614f77565b6040518363ffffffff1660e01b815260040161311f929190615252565b602060405180830381600087803b15801561313957600080fd5b505af115801561314d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061317191906154a8565b5050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635543afe985858585336040518663ffffffff1660e01b81526004016131d895949392919061590c565b600060405180830381600087803b1580156131f257600080fd5b505af1158015613206573d6000803e3d6000fd5b5050505050505050565b613218613b79565b613220613e7b565b565b606061322d82611e00565b61326c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613263906159b2565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f31e42f0836040518263ffffffff1660e01b81526004016132c791906144d7565b60006040518083038186803b1580156132df57600080fd5b505afa1580156132f3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061331c9190615045565b9050919050565b600360019054906101000a900460ff16613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990615a1e565b60405180910390fd5b6001600281111561338657613385614e64565b5b600360029054906101000a900460ff1660028111156133a8576133a7614e64565b5b148061343c5750600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561343b57506000600281111561341757613416614e64565b5b600360029054906101000a900460ff16600281111561343957613438614e64565b5b145b5b61347b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347290615a8a565b60405180910390fd5b6000806000806001905060006001905060005b86518110156136875760fa8782815181106134ac576134ab615464565b5b60200260200101516134be91906152aa565b93508584146134fc57846009600088815260200190815260200160002054176009600088815260200190815260200160002081905550839550600094505b600060fa8761350b91906152db565b88838151811061351e5761351d615464565b5b60200260200101516135309190615335565b905083801561356157506000600282600960008b815260200190815260200160002054901c61355f9190615aaa565b145b935082801561365f57503373ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8a85815181106135d3576135d2615464565b5b60200260200101516040518263ffffffff1660e01b81526004016135f791906144d7565b60206040518083038186803b15801561360f57600080fd5b505afa158015613623573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061364791906150a3565b73ffffffffffffffffffffffffffffffffffffffff16145b9250806001901b86613671919061434a565b955050808061367f906154d5565b91505061348e565b508180156136925750805b6136d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136c890615b27565b60405180910390fd5b836009600087815260200190815260200160002054176009600087815260200190815260200160002081905550613709338751613e98565b505050505050565b600360029054906101000a900460ff1681565b60008060fa8361373491906152aa565b9050600060fa8261374591906152db565b846137509190615335565b905060016002826009600086815260200190815260200160002054901c6137779190615aaa565b1492505050919050565b60006060600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cff9007b846040518263ffffffff1660e01b81526004016137e091906144d7565b60006040518083038186803b1580156137f857600080fd5b505afa15801561380c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190613835919061558a565b91509150915091565b60096020528060005260406000206000915090505481565b6060613995600b805461386890615b76565b80601f016020809104026020016040519081016040528092919081815260200182805461389490615b76565b80156138e15780601f106138b6576101008083540402835291602001916138e1565b820191906000526020600020905b8154815290600101906020018083116138c457829003601f168201915b5050505050600c80546138f390615b76565b80601f016020809104026020016040519081016040528092919081815260200182805461391f90615b76565b801561396c5780601f106139415761010080835404028352916020019161396c565b820191906000526020600020905b81548152906001019060200180831161394f57829003601f168201915b50505050506139903073ffffffffffffffffffffffffffffffffffffffff16613f2d565b613fb3565b905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e568c01a84846040518363ffffffff1660e01b81526004016139f9929190615ba8565b60206040518083038186803b158015613a1157600080fd5b505afa158015613a25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a4991906154a8565b905092915050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b613a7f613b79565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ae690615c43565b60405180910390fd5b613af881613db7565b50565b613b03613b79565b613b0c81614072565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613b816140cd565b73ffffffffffffffffffffffffffffffffffffffff16613b9f612c0e565b73ffffffffffffffffffffffffffffffffffffffff1614613bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bec90615caf565b60405180910390fd5b565b600360009054906101000a900460ff16613c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c3d90615d1b565b60405180910390fd5b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d2890615d87565b60405180910390fd5b565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411613db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dac90615df3565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600360006101000a81548160ff021916908315150217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631a7545758383336040518463ffffffff1660e01b8152600401613ef7939291906150d0565b600060405180830381600087803b158015613f1157600080fd5b505af1158015613f25573d6000803e3d6000fd5b505050505050565b60606000821415613f75576040518060400160405280600481526020017f30783030000000000000000000000000000000000000000000000000000000008152509050613fae565b600082905060005b60008214613f9f578080613f90906154d5565b915050600882901c9150613f7d565b613fa984826140d5565b925050505b919050565b6060600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b7e591ed8585856040518463ffffffff1660e01b815260040161401493929190615e13565b60006040518083038186803b15801561402c57600080fd5b505afa158015614040573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906140699190615045565b90509392505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600033905090565b6060600060028360026140e891906152db565b6140f2919061434a565b67ffffffffffffffff81111561410b5761410a6149e0565b5b6040519080825280601f01601f19166020018201604052801561413d5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061417557614174615464565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106141d9576141d8615464565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261421991906152db565b614223919061434a565b90505b60018111156142c3577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061426557614264615464565b5b1a60f81b82828151811061427c5761427b615464565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806142bc90615e5f565b9050614226565b5060008414614307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142fe90615ed5565b60405180910390fd5b8091505092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061435582614311565b915061436083614311565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143955761439461431b565b5b828201905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6143e9816143b4565b81146143f457600080fd5b50565b600081359050614406816143e0565b92915050565b600060208284031215614422576144216143aa565b5b6000614430848285016143f7565b91505092915050565b60008115159050919050565b61444e81614439565b82525050565b60006020820190506144696000830184614445565b92915050565b61447881614311565b811461448357600080fd5b50565b6000813590506144958161446f565b92915050565b6000602082840312156144b1576144b06143aa565b5b60006144bf84828501614486565b91505092915050565b6144d181614311565b82525050565b60006020820190506144ec60008301846144c8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561452c578082015181840152602081019050614511565b8381111561453b576000848401525b50505050565b6000601f19601f8301169050919050565b600061455d826144f2565b61456781856144fd565b935061457781856020860161450e565b61458081614541565b840191505092915050565b600060208201905081810360008301526145a58184614552565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006145d8826145ad565b9050919050565b6145e8816145cd565b81146145f357600080fd5b50565b600081359050614605816145df565b92915050565b600060208284031215614621576146206143aa565b5b600061462f848285016145f6565b91505092915050565b614641816145cd565b82525050565b600060208201905061465c6000830184614638565b92915050565b60008060408385031215614679576146786143aa565b5b6000614687858286016145f6565b925050602061469885828601614486565b9150509250929050565b6000806000606084860312156146bb576146ba6143aa565b5b60006146c9868287016145f6565b93505060206146da868287016145f6565b92505060406146eb86828701614486565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61472a81614311565b82525050565b600061473c8383614721565b60208301905092915050565b6000602082019050919050565b6000614760826146f5565b61476a8185614700565b935061477583614711565b8060005b838110156147a657815161478d8882614730565b975061479883614748565b925050600181019050614779565b5085935050505092915050565b60006060820190506147c860008301866144c8565b6147d560208301856144c8565b81810360408301526147e78184614755565b9050949350505050565b6000819050919050565b600061481661481161480c846145ad565b6147f1565b6145ad565b9050919050565b6000614828826147fb565b9050919050565b600061483a8261481d565b9050919050565b61484a8161482f565b82525050565b60006020820190506148656000830184614841565b92915050565b600060208201905081810360008301526148858184614755565b905092915050565b61489681614439565b81146148a157600080fd5b50565b6000813590506148b38161488d565b92915050565b6000806000606084860312156148d2576148d16143aa565b5b60006148e0868287016145f6565b93505060206148f1868287016145f6565b9250506040614902868287016148a4565b9150509250925092565b600080600060608486031215614925576149246143aa565b5b600061493386828701614486565b935050602061494486828701614486565b9250506040614955868287016145f6565b9150509250925092565b60008060408385031215614976576149756143aa565b5b6000614984858286016145f6565b9250506020614995858286016148a4565b9150509250929050565b60006149aa8261481d565b9050919050565b6149ba8161499f565b82525050565b60006020820190506149d560008301846149b1565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614a1882614541565b810181811067ffffffffffffffff82111715614a3757614a366149e0565b5b80604052505050565b6000614a4a6143a0565b9050614a568282614a0f565b919050565b600067ffffffffffffffff821115614a7657614a756149e0565b5b602082029050602081019050919050565b600080fd5b6000614a9f614a9a84614a5b565b614a40565b90508083825260208201905060208402830185811115614ac257614ac1614a87565b5b835b81811015614aeb5780614ad78882614486565b845260208401935050602081019050614ac4565b5050509392505050565b600082601f830112614b0a57614b096149db565b5b8135614b1a848260208601614a8c565b91505092915050565b600080600060608486031215614b3c57614b3b6143aa565b5b6000614b4a86828701614486565b935050602084013567ffffffffffffffff811115614b6b57614b6a6143af565b5b614b7786828701614af5565b925050604084013567ffffffffffffffff811115614b9857614b976143af565b5b614ba486828701614af5565b9150509250925092565b60008060008060808587031215614bc857614bc76143aa565b5b6000614bd6878288016145f6565b9450506020614be787828801614486565b9350506040614bf887828801614486565b9250506060614c0987828801614486565b91505092959194509250565b6000614c208261481d565b9050919050565b614c3081614c15565b82525050565b6000602082019050614c4b6000830184614c27565b92915050565b60008060408385031215614c6857614c676143aa565b5b6000614c76858286016145f6565b9250506020614c87858286016145f6565b9150509250929050565b60038110614c9e57600080fd5b50565b600081359050614cb081614c91565b92915050565b600060208284031215614ccc57614ccb6143aa565b5b6000614cda84828501614ca1565b91505092915050565b600080fd5b600067ffffffffffffffff821115614d0357614d026149e0565b5b614d0c82614541565b9050602081019050919050565b82818337600083830152505050565b6000614d3b614d3684614ce8565b614a40565b905082815260208101848484011115614d5757614d56614ce3565b5b614d62848285614d19565b509392505050565b600082601f830112614d7f57614d7e6149db565b5b8135614d8f848260208601614d28565b91505092915050565b60008060008060808587031215614db257614db16143aa565b5b6000614dc0878288016145f6565b9450506020614dd1878288016145f6565b9350506040614de287828801614486565b925050606085013567ffffffffffffffff811115614e0357614e026143af565b5b614e0f87828801614d6a565b91505092959194509250565b600060208284031215614e3157614e306143aa565b5b600082013567ffffffffffffffff811115614e4f57614e4e6143af565b5b614e5b84828501614af5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110614ea457614ea3614e64565b5b50565b6000819050614eb582614e93565b919050565b6000614ec582614ea7565b9050919050565b614ed581614eba565b82525050565b6000602082019050614ef06000830184614ecc565b92915050565b6000604082019050614f0b60008301856144c8565b8181036020830152614f1d8184614755565b90509392505050565b6000614f318261481d565b9050919050565b614f4181614f26565b82525050565b6000602082019050614f5c6000830184614f38565b92915050565b600081519050614f718161446f565b92915050565b600060208284031215614f8d57614f8c6143aa565b5b6000614f9b84828501614f62565b91505092915050565b600067ffffffffffffffff821115614fbf57614fbe6149e0565b5b614fc882614541565b9050602081019050919050565b6000614fe8614fe384614fa4565b614a40565b90508281526020810184848401111561500457615003614ce3565b5b61500f84828561450e565b509392505050565b600082601f83011261502c5761502b6149db565b5b815161503c848260208601614fd5565b91505092915050565b60006020828403121561505b5761505a6143aa565b5b600082015167ffffffffffffffff811115615079576150786143af565b5b61508584828501615017565b91505092915050565b60008151905061509d816145df565b92915050565b6000602082840312156150b9576150b86143aa565b5b60006150c78482850161508e565b91505092915050565b60006060820190506150e56000830186614638565b6150f260208301856144c8565b6150ff6040830184614638565b949350505050565b600060808201905061511c6000830187614638565b6151296020830186614638565b61513660408301856144c8565b6151436060830184614638565b95945050505050565b600061515f61515a84614a5b565b614a40565b9050808382526020820190506020840283018581111561518257615181614a87565b5b835b818110156151ab57806151978882614f62565b845260208401935050602081019050615184565b5050509392505050565b600082601f8301126151ca576151c96149db565b5b81516151da84826020860161514c565b91505092915050565b6000806000606084860312156151fc576151fb6143aa565b5b600061520a86828701614f62565b935050602061521b86828701614f62565b925050604084015167ffffffffffffffff81111561523c5761523b6143af565b5b615248868287016151b5565b9150509250925092565b60006040820190506152676000830185614638565b61527460208301846144c8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006152b582614311565b91506152c083614311565b9250826152d0576152cf61527b565b5b828204905092915050565b60006152e682614311565b91506152f183614311565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561532a5761532961431b565b5b828202905092915050565b600061534082614311565b915061534b83614311565b92508282101561535e5761535d61431b565b5b828203905092915050565b600081905092915050565b50565b6000615384600083615369565b915061538f82615374565b600082019050919050565b60006153a582615377565b9150819050919050565b7f5061796d656e74206661696c6564210000000000000000000000000000000000600082015250565b60006153e5600f836144fd565b91506153f0826153af565b602082019050919050565b60006020820190508181036000830152615414816153d8565b9050919050565b600060208284031215615431576154306143aa565b5b600082015167ffffffffffffffff81111561544f5761544e6143af565b5b61545b848285016151b5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506154a28161488d565b92915050565b6000602082840312156154be576154bd6143aa565b5b60006154cc84828501615493565b91505092915050565b60006154e082614311565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155135761551261431b565b5b600182019050919050565b7f6f3b610000000000000000000000000000000000000000000000000000000000600082015250565b60006155546003836144fd565b915061555f8261551e565b602082019050919050565b6000602082019050818103600083015261558381615547565b9050919050565b600080604083850312156155a1576155a06143aa565b5b60006155af85828601614f62565b925050602083015167ffffffffffffffff8111156155d0576155cf6143af565b5b6155dc858286016151b5565b9150509250929050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061561c6001836144fd565b9150615627826155e6565b602082019050919050565b6000602082019050818103600083015261564b8161560f565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b60006156886001836144fd565b915061569382615652565b602082019050919050565b600060208201905081810360008301526156b78161567b565b9050919050565b60006060820190506156d36000830186614638565b6156e06020830185614638565b6156ed60408301846144c8565b949350505050565b600060608201905061570a60008301866144c8565b818103602083015261571c8185614755565b905081810360408301526157308184614755565b9050949350505050565b600060408201905061574f60008301856144c8565b61575c6020830184614638565b9392505050565b7f736c730000000000000000000000000000000000000000000000000000000000600082015250565b60006157996003836144fd565b91506157a482615763565b602082019050919050565b600060208201905081810360008301526157c88161578c565b9050919050565b60006080820190506157e46000830187614638565b6157f160208301866144c8565b6157fe60408301856144c8565b61580b60608301846144c8565b95945050505050565b7f7200000000000000000000000000000000000000000000000000000000000000600082015250565b600061584a6001836144fd565b915061585582615814565b602082019050919050565b600060208201905081810360008301526158798161583d565b9050919050565b60006060820190506158956000830186614638565b6158a26020830185614445565b6158af6040830184614638565b949350505050565b600081519050919050565b600082825260208201905092915050565b60006158de826158b7565b6158e881856158c2565b93506158f881856020860161450e565b61590181614541565b840191505092915050565b600060a0820190506159216000830188614638565b61592e6020830187614638565b61593b60408301866144c8565b818103606083015261594d81856158d3565b905061595c6080830184614638565b9695505050505050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b600061599c6001836144fd565b91506159a782615966565b602082019050919050565b600060208201905081810360008301526159cb8161598f565b9050919050565b7f6973000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a086002836144fd565b9150615a13826159d2565b602082019050919050565b60006020820190508181036000830152615a37816159fb565b9050919050565b7f736f000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a746002836144fd565b9150615a7f82615a3e565b602082019050919050565b60006020820190508181036000830152615aa381615a67565b9050919050565b6000615ab582614311565b9150615ac083614311565b925082615ad057615acf61527b565b5b828206905092915050565b7f623b6f0000000000000000000000000000000000000000000000000000000000600082015250565b6000615b116003836144fd565b9150615b1c82615adb565b602082019050919050565b60006020820190508181036000830152615b4081615b04565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680615b8e57607f821691505b60208210811415615ba257615ba1615b47565b5b50919050565b6000604082019050615bbd6000830185614638565b615bca6020830184614638565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615c2d6026836144fd565b9150615c3882615bd1565b604082019050919050565b60006020820190508181036000830152615c5c81615c20565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615c996020836144fd565b9150615ca482615c63565b602082019050919050565b60006020820190508181036000830152615cc881615c8c565b9050919050565b7f6e6e720000000000000000000000000000000000000000000000000000000000600082015250565b6000615d056003836144fd565b9150615d1082615ccf565b602082019050919050565b60006020820190508181036000830152615d3481615cf8565b9050919050565b7f6e6f742073746f72616765000000000000000000000000000000000000000000600082015250565b6000615d71600b836144fd565b9150615d7c82615d3b565b602082019050919050565b60006020820190508181036000830152615da081615d64565b9050919050565b7f6e6f74206120726f79616c747920706179656500000000000000000000000000600082015250565b6000615ddd6013836144fd565b9150615de882615da7565b602082019050919050565b60006020820190508181036000830152615e0c81615dd0565b9050919050565b60006060820190508181036000830152615e2d8186614552565b90508181036020830152615e418185614552565b90508181036040830152615e558184614552565b9050949350505050565b6000615e6a82614311565b91506000821415615e7e57615e7d61431b565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615ebf6020836144fd565b9150615eca82615e89565b602082019050919050565b60006020820190508181036000830152615eee81615eb2565b905091905056fea264697066735822122021862f50fcfa954af719656ced020fcf6485a0d1687cf389935a3f5bf836cd7264736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006c5a06ae6b773457480c12f12c2fb22627507a3a00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000004c456c6978697220626f74746c657320616c6c6f7720666f722074686520636f6d62696e6174696f6e20616e64207472616e736d75746174696f6e206f6620696e6772656469656e74732e2e2e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6539367437554d6b575961746b55434d55584135586b596a574c634c55443673506966745939664d3936774a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000066f3794178997a12779527b36a2f042e001625af0000000000000000000000005d5ee1d6b3c12b07519020b0b14a495d518be78d000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000005dc0000000000000000000000000000000000000000000000000000000000002134
-----Decoded View---------------
Arg [0] : _cbeAddy (address): 0x6C5a06AE6b773457480c12F12C2fB22627507A3A
Arg [1] : _collectionDescription (string): Elixir bottles allow for the combination and transmutation of ingredients...
Arg [2] : _collectionImage (string): ipfs://Qme96t7UMkWYatkUCMUXA5XkYjWLcLUD6sPiftY9fM96wJ
Arg [3] : _based (address[]): 0x66F3794178997a12779527B36a2F042e001625aF,0x5d5EE1d6b3C12b07519020b0B14A495d518be78D
Arg [4] : _basisPoints (uint128[]): 1500,8500
-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 0000000000000000000000006c5a06ae6b773457480c12f12c2fb22627507a3a
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [5] : 000000000000000000000000000000000000000000000000000000000000004c
Arg [6] : 456c6978697220626f74746c657320616c6c6f7720666f722074686520636f6d
Arg [7] : 62696e6174696f6e20616e64207472616e736d75746174696f6e206f6620696e
Arg [8] : 6772656469656e74732e2e2e0000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [10] : 697066733a2f2f516d6539367437554d6b575961746b55434d55584135586b59
Arg [11] : 6a574c634c55443673506966745939664d3936774a0000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [13] : 00000000000000000000000066f3794178997a12779527b36a2f042e001625af
Arg [14] : 0000000000000000000000005d5ee1d6b3c12b07519020b0b14a495d518be78d
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [16] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [17] : 0000000000000000000000000000000000000000000000000000000000002134
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.