ETH Price: $2,021.00 (+1.92%)

Contract

0xBE41713a34c28DE907C045e64458AEB616b293C4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deploy DCNT721A203139482024-07-15 19:17:59620 days ago1721071079IN
0xBE41713a...616b293C4
0 ETH0.0136001937.14358314
Deploy DCNT721A203135162024-07-15 17:51:11621 days ago1721065871IN
0xBE41713a...616b293C4
0 ETH0.0093891124.49853956
Deploy DCNT721A203123892024-07-15 14:04:11621 days ago1721052251IN
0xBE41713a...616b293C4
0 ETH0.002861226.67592473
Deploy DCNT721A183563582023-10-15 14:25:35895 days ago1697379935IN
0xBE41713a...616b293C4
0 ETH0.002734645.44784983
Deploy DCNT721A183561072023-10-15 13:34:59895 days ago1697376899IN
0xBE41713a...616b293C4
0 ETH0.00365117.03332081
Deploy DCNT721A182864552023-10-05 19:41:11904 days ago1696534871IN
0xBE41713a...616b293C4
0 ETH0.0074710714.39727606
Deploy DCNT721A181796282023-09-20 20:56:35919 days ago1695243395IN
0xBE41713a...616b293C4
0 ETH0.0110823220.26407824
Deploy DCNT721A180430962023-09-01 17:08:35939 days ago1693588115IN
0xBE41713a...616b293C4
0 ETH0.0167029533.26944005
Deploy DCNT721A180019462023-08-26 22:52:23944 days ago1693090343IN
0xBE41713a...616b293C4
0 ETH0.0067261811.93028911
Deploy DCNT721A178449722023-08-04 23:43:59966 days ago1691192639IN
0xBE41713a...616b293C4
0 ETH0.006668612.84611244
Deploy DCNT721A178063692023-07-30 14:13:47972 days ago1690726427IN
0xBE41713a...616b293C4
0 ETH0.0098093318.70949322
Deploy DCNT721A177870082023-07-27 21:13:23974 days ago1690492403IN
0xBE41713a...616b293C4
0 ETH0.0125915225.23235953
Deploy DCNT721A176563362023-07-09 13:06:11993 days ago1688907971IN
0xBE41713a...616b293C4
0 ETH0.0122424824.37677947

Latest 13 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
0x3d602d80203139482024-07-15 19:17:59620 days ago1721071079
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80203135162024-07-15 17:51:11621 days ago1721065871
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80203123892024-07-15 14:04:11621 days ago1721052251
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80183563582023-10-15 14:25:35895 days ago1697379935
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80183561072023-10-15 13:34:59895 days ago1697376899
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80182864552023-10-05 19:41:11904 days ago1696534871
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80181796282023-09-20 20:56:35919 days ago1695243395
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80180430962023-09-01 17:08:35939 days ago1693588115
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80180019462023-08-26 22:52:23944 days ago1693090343
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80178449722023-08-04 23:43:59966 days ago1691192639
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80178063692023-07-30 14:13:47972 days ago1690726427
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80177870082023-07-27 21:13:23974 days ago1690492403
0xBE41713a...616b293C4
 Contract Creation0 ETH
0x3d602d80176563362023-07-09 13:06:11993 days ago1688907971
0xBE41713a...616b293C4
 Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x94e85aEA...8F34Fb1b9
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
DCNTSDK

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/*
 ______   _______  _______  _______  _       _________
(  __  \ (  ____ \(  ____ \(  ____ \( (    /|\__   __/
| (  \  )| (    \/| (    \/| (    \/|  \  ( |   ) (
| |   ) || (__    | |      | (__    |   \ | |   | |
| |   | ||  __)   | |      |  __)   | (\ \) |   | |
| |   ) || (      | |      | (      | | \   |   | |
| (__/  )| (____/\| (____/\| (____/\| )  \  |   | |
(______/ (_______/(_______/(_______/|/    )_)   )_(

*/

/// ============ Imports ============

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/proxy/Clones.sol";

import "./interfaces/IDCNTRegistry.sol";
import "./interfaces/IDCNTSeries.sol";
import "./storage/EditionConfig.sol";
import "./storage/MetadataConfig.sol";
import "./storage/TokenGateConfig.sol";
import "./storage/CrescendoConfig.sol";

contract DCNTSDK is Ownable {
  /// ============ Storage ===========
  /// @notice implementation addresses for base contracts
  address public DCNT721AImplementation;
  address public DCNT4907AImplementation;
  address public DCNTSeriesImplementation;
  address public DCNTCrescendoImplementation;
  address public DCNTVaultImplementation;
  address public DCNTStakingImplementation;
  address public ZKEditionImplementation;

  /// @notice address of the metadata renderer
  address public metadataRenderer;

  /// @notice address of the associated registry
  address public contractRegistry;

  /// ============ Events ============

  /// @notice Emitted after successfully deploying a contract
  event DeployDCNT721A(address DCNT721A);
  event DeployDCNT4907A(address DCNT4907A);
  event DeployDCNTSeries(address DCNTSeries);
  event DeployDCNTCrescendo(address DCNTCrescendo);
  event DeployDCNTVault(address DCNTVault);
  event DeployDCNTStaking(address DCNTStaking);
  event DeployZKEdition(address ZKEdition);

  /// ============ Constructor ============

  /// @notice Creates a new DecentSDK instance
  constructor(
    address _DCNT721AImplementation,
    address _DCNT4907AImplementation,
    address _DCNTSeriesImplementation,
    address _DCNTCrescendoImplementation,
    address _DCNTVaultImplementation,
    address _DCNTStakingImplementation,
    address _metadataRenderer,
    address _contractRegistry,
    address _ZKEditionImplementation
  ) {
    DCNT721AImplementation = _DCNT721AImplementation;
    DCNT4907AImplementation = _DCNT4907AImplementation;
    DCNTSeriesImplementation = _DCNTSeriesImplementation;
    DCNTCrescendoImplementation = _DCNTCrescendoImplementation;
    DCNTVaultImplementation = _DCNTVaultImplementation;
    DCNTStakingImplementation = _DCNTStakingImplementation;
    metadataRenderer = _metadataRenderer;
    contractRegistry = _contractRegistry;
    ZKEditionImplementation = _ZKEditionImplementation;
  }

  /// ============ Functions ============

  /// @notice deploy and initialize an erc721a clone
  function deployDCNT721A(
    EditionConfig calldata _editionConfig,
    MetadataConfig calldata _metadataConfig,
    TokenGateConfig calldata _tokenGateConfig
  ) external returns (address clone) {
    clone = Clones.clone(DCNT721AImplementation);
    (bool success, ) = clone.call(
      abi.encodeWithSignature(
        "initialize("
          "address,"
          "(string,string,bool,bool,uint32,uint32,uint32,uint32,uint32,uint32,uint16,uint96,address,address,bytes32),"
          "(string,string,bytes,address),"
          "(address,uint88,uint8),"
          "address"
        ")",
        msg.sender,
        _editionConfig,
        _metadataConfig,
        _tokenGateConfig,
        metadataRenderer
      )
    );
    require(success);
    IDCNTRegistry(contractRegistry).register(msg.sender, clone, "DCNT721A");
    emit DeployDCNT721A(clone);
  }

  /// @notice deploy and initialize a ZKEdition clone
  function deployZKEdition(
    EditionConfig calldata _editionConfig,
    MetadataConfig calldata _metadataConfig,
    TokenGateConfig calldata _tokenGateConfig,
    address zkVerifier
  ) external returns (address clone) {
    clone = Clones.clone(ZKEditionImplementation); //zkedition implementation
    (bool success, ) = clone.call(
      abi.encodeWithSignature(
        "initialize("
          "address,"
          "(string,string,bool,bool,uint32,uint32,uint32,uint32,uint32,uint32,uint16,uint96,address,address,bytes32),"
          "(string,string,bytes,address),"
          "(address,uint88,uint8),"
          "address,"
          "address"
        ")",
        msg.sender,
        _editionConfig,
        _metadataConfig,
        _tokenGateConfig,
        metadataRenderer,
        zkVerifier
      )
    );
    require(success);
    IDCNTRegistry(contractRegistry).register(msg.sender, clone, "ZKEdition");
    emit DeployZKEdition(clone);
  }

  /// @notice deploy and initialize an erc4907a clone
  function deployDCNT4907A(
    EditionConfig calldata _editionConfig,
    MetadataConfig calldata _metadataConfig,
    TokenGateConfig calldata _tokenGateConfig
  ) external returns (address clone) {
    clone = Clones.clone(DCNT4907AImplementation);
    (bool success, ) = clone.call(
      abi.encodeWithSignature(
        "initialize("
          "address,"
          "(string,string,bool,bool,uint32,uint32,uint32,uint32,uint32,uint32,uint16,uint96,address,address,bytes32),"
          "(string,string,bytes,address),"
          "(address,uint88,uint8),"
          "address"
        ")",
        msg.sender,
        _editionConfig,
        _metadataConfig,
        _tokenGateConfig,
        metadataRenderer
      )
    );
    require(success);
    IDCNTRegistry(contractRegistry).register(msg.sender, clone, "DCNT4907A");
    emit DeployDCNT4907A(clone);
  }

  // deploy and initialize an erc1155 clone
  function deployDCNTSeries(
    IDCNTSeries.SeriesConfig calldata _config,
    IDCNTSeries.Drop calldata _defaultDrop,
    IDCNTSeries.DropMap calldata _dropOverrides
  ) external returns (address clone) {
    clone = Clones.clone(DCNTSeriesImplementation);
    (bool success, ) = clone.call(
      abi.encodeWithSignature(
        "initialize("
          "address,"
          "(string,string,string,string,uint128,uint128,uint16,address,address,address,bool,bool),"
          "(uint32,uint32,uint32,uint32,uint32,uint32,uint96,bytes32,(address,uint88,uint8)),"
          "("
            "uint256[],"
            "uint256[],"
            "uint256[],"
            "(uint32,uint32,uint32,uint32,uint32,uint32,uint96,bytes32,(address,uint88,uint8))[]"
          ")"
        ")",
        msg.sender,
        _config,
        _defaultDrop,
        _dropOverrides
      )
    );
    require(success);
    IDCNTRegistry(contractRegistry).register(
      msg.sender,
      clone,
      "DCNTSeries"
    );
    emit DeployDCNTSeries(clone);
  }

  // deploy and initialize a Crescendo clone
  function deployDCNTCrescendo(
    CrescendoConfig calldata _config,
    MetadataConfig calldata _metadataConfig
  ) external returns (address clone) {
    clone = Clones.clone(DCNTCrescendoImplementation);
    (bool success, ) = clone.call(
      abi.encodeWithSignature(
        "initialize("
          "address,"
          "(string,string,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256),"
          "(string,string,bytes,address),"
          "address"
        ")",
        msg.sender,
        _config,
        _metadataConfig,
        metadataRenderer
      )
    );
    require(success);
    IDCNTRegistry(contractRegistry).register(
      msg.sender,
      clone,
      "DCNTCrescendo"
    );
    emit DeployDCNTCrescendo(clone);
  }

  // deploy and initialize a vault wrapper clone
  function deployDCNTVault(
    address _vaultDistributionTokenAddress,
    address _nftVaultKeyAddress,
    uint256 _nftTotalSupply,
    uint256 _unlockDate
  ) external returns (address clone) {
    clone = Clones.clone(DCNTVaultImplementation);
    (bool success, ) = clone.call(
      abi.encodeWithSignature(
        "initialize(address,address,address,uint256,uint256)",
        msg.sender,
        _vaultDistributionTokenAddress,
        _nftVaultKeyAddress,
        _nftTotalSupply,
        _unlockDate
      )
    );
    require(success);
    IDCNTRegistry(contractRegistry).register(msg.sender, clone, "DCNTVault");
    emit DeployDCNTVault(clone);
  }

  // deploy and initialize a vault wrapper clone
  function deployDCNTStaking(
    address _nft,
    address _token,
    uint256 _vaultDuration,
    uint256 _totalSupply
  ) external returns (address clone) {
    clone = Clones.clone(DCNTStakingImplementation);
    (bool success, ) = clone.call(
      abi.encodeWithSignature(
        "initialize(address,address,address,uint256,uint256)",
        msg.sender,
        _nft,
        _token,
        _vaultDuration,
        _totalSupply
      )
    );
    require(success);
    IDCNTRegistry(contractRegistry).register(msg.sender, clone, "DCNTStaking");
    emit DeployDCNTStaking(clone);
  }
}

// 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: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (proxy/Clones.sol)

pragma solidity ^0.8.0;

/**
 * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for
 * deploying minimal proxy contracts, also known as "clones".
 *
 * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies
 * > a minimal bytecode implementation that delegates all calls to a known, fixed address.
 *
 * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2`
 * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the
 * deterministic method.
 *
 * _Available since v3.4._
 */
library Clones {
    /**
     * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
     *
     * This function uses the create opcode, which should never revert.
     */
    function clone(address implementation) internal returns (address instance) {
        /// @solidity memory-safe-assembly
        assembly {
            // Cleans the upper 96 bits of the `implementation` word, then packs the first 3 bytes
            // of the `implementation` address with the bytecode before the address.
            mstore(0x00, or(shr(0xe8, shl(0x60, implementation)), 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000))
            // Packs the remaining 17 bytes of `implementation` with the bytecode after the address.
            mstore(0x20, or(shl(0x78, implementation), 0x5af43d82803e903d91602b57fd5bf3))
            instance := create(0, 0x09, 0x37)
        }
        require(instance != address(0), "ERC1167: create failed");
    }

    /**
     * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
     *
     * This function uses the create2 opcode and a `salt` to deterministically deploy
     * the clone. Using the same `implementation` and `salt` multiple time will revert, since
     * the clones cannot be deployed twice at the same address.
     */
    function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) {
        /// @solidity memory-safe-assembly
        assembly {
            // Cleans the upper 96 bits of the `implementation` word, then packs the first 3 bytes
            // of the `implementation` address with the bytecode before the address.
            mstore(0x00, or(shr(0xe8, shl(0x60, implementation)), 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000))
            // Packs the remaining 17 bytes of `implementation` with the bytecode after the address.
            mstore(0x20, or(shl(0x78, implementation), 0x5af43d82803e903d91602b57fd5bf3))
            instance := create2(0, 0x09, 0x37, salt)
        }
        require(instance != address(0), "ERC1167: create2 failed");
    }

    /**
     * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
     */
    function predictDeterministicAddress(
        address implementation,
        bytes32 salt,
        address deployer
    ) internal pure returns (address predicted) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(add(ptr, 0x38), deployer)
            mstore(add(ptr, 0x24), 0x5af43d82803e903d91602b57fd5bf3ff)
            mstore(add(ptr, 0x14), implementation)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73)
            mstore(add(ptr, 0x58), salt)
            mstore(add(ptr, 0x78), keccak256(add(ptr, 0x0c), 0x37))
            predicted := keccak256(add(ptr, 0x43), 0x55)
        }
    }

    /**
     * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
     */
    function predictDeterministicAddress(address implementation, bytes32 salt)
        internal
        view
        returns (address predicted)
    {
        return predictDeterministicAddress(implementation, salt, address(this));
    }
}

// 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
pragma solidity ^0.8.0;

import 'solmate/src/tokens/ERC1155.sol';

abstract contract ERC1155Hooks is ERC1155 {
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256[] memory ids,
    uint256[] memory amounts
  ) internal virtual {}

  function safeTransferFrom(
    address from,
    address to,
    uint256 id,
    uint256 amount,
    bytes calldata data
  ) public virtual override {
    _beforeTokenTransfers(from, to, _asSingletonArray(id), _asSingletonArray(amount));
    super.safeTransferFrom(from, to, id, amount, data);
  }

  function safeBatchTransferFrom(
    address from,
    address to,
    uint256[] calldata ids,
    uint256[] calldata amounts,
    bytes calldata data
  ) public virtual override {
    _beforeTokenTransfers(from, to, ids, amounts);
    super.safeBatchTransferFrom(from, to, ids, amounts, data);
  }

  function _mint(
    address to,
    uint256 id,
    uint256 amount,
    bytes memory data
  ) internal virtual override {
    _beforeTokenTransfers(address(0), to, _asSingletonArray(id), _asSingletonArray(amount));
    super._mint(to, id, amount, data);
  }

  function _batchMint(
    address to,
    uint256[] memory ids,
    uint256[] memory amounts,
    bytes memory data
  ) internal virtual override {
    _beforeTokenTransfers(address(0), to, ids, amounts);
    super._batchMint(to, ids, amounts, data);
  }

  function _burn(
    address from,
    uint256 id,
    uint256 amount
  ) internal virtual override {
    _beforeTokenTransfers(msg.sender, address(0), _asSingletonArray(id), _asSingletonArray(amount));
    super._burn(from, id, amount);
  }

  function _batchBurn(
    address from,
    uint256[] memory ids,
    uint256[] memory amounts
  ) internal virtual override {
    _beforeTokenTransfers(msg.sender, address(0), ids, amounts);
    super._batchBurn(from, ids, amounts);
  }

  function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
    uint256[] memory array = new uint256[](1);
    array[0] = element;
    return array;
  }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IDCNTRegistry {
  function register(
    address _deployer,
    address _deployment,
    string calldata _key
  ) external;

  function remove(address _deployer, address _deployment) external;

  function query(address _deployer) external returns (address[] memory);
}

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.0;

import '../extensions/ERC1155Hooks.sol';
import '../storage/TokenGateConfig.sol';

/**
 * @title IDCNTSeries
 * @author Zev Nevo. Will Kantaros.
 * @dev An implementation of the ERC1155 multi-token standard.
 */
interface IDCNTSeries {
  /*
   * @dev A parameter object used to set the initial configuration of a token series.
   */
  struct SeriesConfig {
    string name;
    string symbol;
    string contractURI;
    string metadataURI;
    uint128 startTokenId;
    uint128 endTokenId;
    uint16 royaltyBPS;
    address feeManager;
    address payoutAddress;
    address currencyOracle;
    bool isSoulbound;
    bool hasAdjustableCaps;
  }

  /*
   * @dev The configuration settings for individual tokens within the series
   */
  struct Drop {
    uint32 maxTokens;                  // Slot 1: XXXX---------------------------- 4  bytes (max: 4,294,967,295)
    uint32 maxTokensPerOwner;          // Slot 1: ----XXXX------------------------ 4  bytes (max: 4,294,967,295)
    uint32 presaleStart;               // Slot 1: --------XXXX-------------------- 4  bytes (max: Feburary 7th, 2106)
    uint32 presaleEnd;                 // Slot 1: ------------XXXX---------------- 4  bytes (max: Feburary 7th, 2106)
    uint32 saleStart;                  // Slot 1: ----------------XXXX------------ 4  bytes (max: Feburary 7th, 2106)
    uint32 saleEnd;                    // Slot 1: --------------------XXXX-------- 4  bytes (max: Feburary 7th, 2106)
    uint96 tokenPrice;                 // Slot 2: XXXXXXXXXXXX-------------------- 12  bytes (max: 79,228,162,514 ETH)
    bytes32 presaleMerkleRoot;         // Slot 3: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 32 bytes
    TokenGateConfig tokenGate;         // Slot 4: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 32 bytes
  }

  /**
   * @dev A parameter object mapping token IDs, drop IDs, and drops.
   */
  struct DropMap {
    uint256[] tokenIds;
    uint256[] tokenIdDropIds;
    uint256[] dropIds;
    Drop[] drops;
  }

  /*
   * @dev Only admins can perform this action.
   */
  error OnlyAdmin();

  /*
   * @dev The provided arrays have unequal lengths.
   */
  error ArrayLengthMismatch();

  /*
   * @dev The requested token does not exist.
   */
  error NonexistentToken();

  /*
   * @dev The provided token range is invalid.
   */
  error InvalidTokenRange();

  /*
   * @dev The token supply caps are locked and cannot be adjusted.
   */
  error CapsAreLocked();

  /*
   * @dev The token supply cap cannot be decreased.
   */
  error CannotDecreaseCap();

  /*
   * @dev Insufficient minimum balance for the token gate.
   */
  error TokenGateDenied();

  /*
   * @dev Sales for this drop are not currently active.
   */
  error SaleNotActive();

  /*
   * @dev The provided funds are insufficient to complete this transaction.
   */
  error InsufficientFunds();

  /*
   * @dev The requested mint exceeds the maximum supply for this drop.
   */
  error MintExceedsMaxSupply();

  /*
   * @dev The requested mint exceeds the maximum tokens per owner for this drop.
   */
  error MintExceedsMaxTokensPerOwner();

  /*
   * @dev The requested airdrop exceeds the maximum supply for this drop.
   */
  error AirdropExceedsMaxSupply();

  /*
   * @dev The requested burn exceeds the number of owned tokens.
   */
  error BurnExceedsOwnedTokens();

  /*
   * @dev The presale is not currently active.
   */
  error PresaleNotActive();

  /*
   * @dev Verification for the presale failed.
   */
  error PresaleVerificationFailed();

  /*
   * @dev Soulbound tokens cannot be transferred.
   */
  error CannotTransferSoulbound();

  /*
   * @dev Basis points may not exceed 100_00 (100 percent)
   */
  error InvalidBPS();

  /*
   * @dev Splits are currently active and withdrawals are disabled.
   */
  error SplitsAreActive();

  /*
   * @dev Transfer of fees failed.
   */
  error FeeTransferFailed();

  /*
   * @dev Refund of excess funds failed.
   */
  error RefundFailed();

  /*
   * @dev Withdrawal of funds failed.
   */
  error WithdrawFailed();

  /**
   * @dev Initializes the contract with the specified parameters.
   * param _owner The owner of the contract.
   * param _config The configuration for the contract.
   * param _drops The drop configurations for the initial tokens.
   */
  function initialize(
    address _owner,
    SeriesConfig calldata _config,
    Drop calldata _defaultDrop,
    DropMap calldata _dropOverrides
  ) external;

  /**
   * @dev Returns the name of the contract.
   */
  function name() external view returns (string memory);

  /**
   * @dev Returns the symbol of the contract.
   */
  function symbol() external view returns (string memory);

  /**
   * @dev Returns the URI for a given token ID.
   * A single URI is returned for all token types as defined in EIP-1155's token type ID substitution mechanism.
   * Clients should replace `{id}` with the actual token type ID when calling the function.
   * @dev unused @param tokenId ID of the token to retrieve the URI for.
   */
  function uri(uint256) external view returns (string memory);

  /**
   * @dev Set the URI for all token IDs.
   * @param uri_ The URI for token all token IDs.
   */
  function setURI(string memory uri_) external;

  /**
   * @dev Returns the URI of the contract metadata.
   */
  function contractURI() external view returns (string memory);

  /**
   * @dev Sets the URI of the contract metadata.
   * @param contractURI_ The URI of the contract metadata.
   */
  function setContractURI(string memory contractURI_) external;


  /**
   * @dev Returns the range of token IDs that are valid for this contract.
   * @return startTokenId The starting token ID for this contract.
   * @return endTokenId The ending token ID for this contract.
   */
  function tokenRange() external view returns (uint128 startTokenId, uint128 endTokenId);

  /**
   * @dev Returns the drop configuration for the specified token ID.
   * @param tokenId The ID of the token to retrieve the drop configuration for.
   * @return drop The drop configuration mapped to the specified token ID.
   */
  function tokenDrop(uint128 tokenId) external view returns (Drop memory);

  /**
   * @dev Creates new tokens and updates drop configurations for specified token IDs.
   * @param newTokens Optional number of new token IDs to add to the existing token range.
   * @param dropMap Optional parameter object mapping token IDs, drop IDs, and drops.
   */
  function setTokenDrops(uint128 newTokens, DropMap calldata dropMap) external;

  /**
   * @dev Gets the current price for the specified token. If a currency oracle is set,
   * the price is calculated in native currency using the oracle exchange rate.
   * @param tokenId The ID of the token to get the price for.
   * @return The current price of the specified token.
   */
  function tokenPrice(uint256 tokenId) external view returns (uint256);

  /**
   * @dev Gets the current minting fee for the specified token.
   * @param tokenId The ID of the token to get the minting fee for.
   * @param quantity The quantity of tokens used to calculate the minting fee.
   * @return The current fee for minting the specified token.
   */
  function mintFee(uint256 tokenId, uint256 quantity) external view returns (uint256);

  /**
   * @dev Mints a specified number of tokens to a specified address.
   * @param tokenId The ID of the token to mint.
   * @param to The address to which the minted tokens will be sent.
   * @param quantity The quantity of tokens to mint.
   */
  function mint(uint256 tokenId, address to, uint256 quantity) external payable;

  /**
   * @dev Mints a batch of tokens to a specified address.
   * @param tokenIds The IDs of the tokens to mint.
   * @param to The address to which the minted tokens will be sent.
   * @param quantities The quantities to mint of each token.
   */
  function mintBatch(
    address to,
    uint256[] calldata tokenIds,
    uint256[] calldata quantities
  ) external payable;

  /**
   * @dev Burns a specified quantity of tokens from the caller's account.
   * @param tokenId The ID of the token to burn.
   * @param quantity The quantity of tokens to burn.
   */
  function burn(uint256 tokenId, uint256 quantity) external;

  /**
   * @dev Mints specified tokens to multiple recipients as part of an airdrop.
   * @param tokenIds The IDs of the tokens to mint.
   * @param recipients The list of addresses to receive the minted tokens.
   */
  function mintAirdrop(uint256[] calldata tokenIds, address[] calldata recipients) external;

  /**
   * @dev Mints a specified number of tokens to the presale buyer address.
   * @param to The address to which the minted tokens will be sent.
   * @param tokenId The ID of the token to mint.
   * @param quantity The quantity of tokens to mint.
   * @param maxQuantity The maximum quantity of tokens that can be minted.
   * @param pricePerToken The price per token in wei.
   * @param merkleProof The Merkle proof verifying that the presale buyer is eligible to mint tokens.
   */
  function mintPresale(
    address to,
    uint256 tokenId,
    uint256 quantity,
    uint256 maxQuantity,
    uint256 pricePerToken,
    bytes32[] calldata merkleProof
  ) external payable;

  /**
   * @dev Pauses public minting.
   */
  function pause() external;

  /**
   * @dev Unpauses public minting.
   */
  function unpause() external;

  /**
   * @dev Sets the payout address to the specified address.
   * Use 0x0 to default to the contract owner.
   * @param _payoutAddress The address to set as the payout address.
   */
  function setPayoutAddress(address _payoutAddress) external;

  /**
   * @dev Withdraws the balance of the contract to the payout address or the contract owner.
  */
  function withdraw() external;

  /**
   * @dev Sets the royalty fee (ERC-2981: NFT Royalty Standard).
   * @param _royaltyBPS The royalty fee in basis points. (1/100th of a percent)
   */
  function setRoyaltyBPS(uint16 _royaltyBPS) external;

  /**
   * @dev Returns the royalty recipient and amount for a given sale price.
   * @param tokenId The ID of the token being sold.
   * @param salePrice The sale price of the token.
   * @return receiver The address of the royalty recipient.
   * @return royaltyAmount The amount to be paid to the royalty recipient.
   */
  function royaltyInfo(uint256 tokenId, uint256 salePrice)
    external
    view
    returns (address receiver, uint256 royaltyAmount);

  /**
   * @dev Returns true if the contract supports the given interface (ERC2981 or ERC1155),
   * as specified by interfaceId, false otherwise.
   * @param interfaceId The interface identifier, as specified in ERC-165.
   * @return True if the contract supports interfaceId, false otherwise.
   */
  function supportsInterface(bytes4 interfaceId)
    external
    view
    returns (bool);

  /**
   * @dev Updates the operator filter registry with the specified subscription.
   * @param enable If true, enables the operator filter, if false, disables it.
   * @param operatorFilter The address of the operator filter subscription.
   */
  function updateOperatorFilter(bool enable, address operatorFilter) external;

  /**
   * @dev Sets or revokes approval for a third party ("operator") to manage all of the caller's tokens.
   * @param operator The address of the operator to grant or revoke approval.
   * @param approved True to grant approval, false to revoke it.
   */
  function setApprovalForAll(
    address operator,
    bool approved
  ) external;
}

File 8 of 12 : CrescendoConfig.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

struct CrescendoConfig {
  string name;
  string symbol;
  uint256 initialPrice;
  uint256 step1;
  uint256 step2;
  uint256 hitch;
  uint256 takeRateBPS;
  uint256 unlockDate;
  uint256 saleStart;
  uint256 royaltyBPS;
}

File 9 of 12 : EditionConfig.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

struct EditionConfig {
  string name;
  string symbol;
  bool hasAdjustableCap;
  bool isSoulbound;
  uint32 maxTokens;
  uint32 maxTokenPurchase;
  uint32 presaleStart;
  uint32 presaleEnd;
  uint32 saleStart;
  uint32 saleEnd;
  uint16 royaltyBPS;
  uint96 tokenPrice;
  address feeManager;
  address payoutAddress;
  bytes32 presaleMerkleRoot;
}

File 10 of 12 : MetadataConfig.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

struct MetadataConfig {
  string contractURI;
  string metadataURI;
  bytes metadataRendererInit;
  address parentIP;
}

File 11 of 12 : TokenGateConfig.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

enum SaleType {
  ALL,
  PRESALE,
  PRIMARY
}

struct TokenGateConfig {
  address tokenAddress; 
  uint88 minBalance;
  SaleType saleType;
}

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Minimalist and gas efficient standard ERC1155 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC1155.sol)
abstract contract ERC1155 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event TransferSingle(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256 id,
        uint256 amount
    );

    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] amounts
    );

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    event URI(string value, uint256 indexed id);

    /*//////////////////////////////////////////////////////////////
                             ERC1155 STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(address => mapping(uint256 => uint256)) public balanceOf;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*//////////////////////////////////////////////////////////////
                             METADATA LOGIC
    //////////////////////////////////////////////////////////////*/

    function uri(uint256 id) public view virtual returns (string memory);

    /*//////////////////////////////////////////////////////////////
                              ERC1155 LOGIC
    //////////////////////////////////////////////////////////////*/

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) public virtual {
        require(msg.sender == from || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED");

        balanceOf[from][id] -= amount;
        balanceOf[to][id] += amount;

        emit TransferSingle(msg.sender, from, to, id, amount);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, from, id, amount, data) ==
                    ERC1155TokenReceiver.onERC1155Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) public virtual {
        require(ids.length == amounts.length, "LENGTH_MISMATCH");

        require(msg.sender == from || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED");

        // Storing these outside the loop saves ~15 gas per iteration.
        uint256 id;
        uint256 amount;

        for (uint256 i = 0; i < ids.length; ) {
            id = ids[i];
            amount = amounts[i];

            balanceOf[from][id] -= amount;
            balanceOf[to][id] += amount;

            // An array can't have a total length
            // larger than the max uint256 value.
            unchecked {
                ++i;
            }
        }

        emit TransferBatch(msg.sender, from, to, ids, amounts);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, from, ids, amounts, data) ==
                    ERC1155TokenReceiver.onERC1155BatchReceived.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function balanceOfBatch(address[] calldata owners, uint256[] calldata ids)
        public
        view
        virtual
        returns (uint256[] memory balances)
    {
        require(owners.length == ids.length, "LENGTH_MISMATCH");

        balances = new uint256[](owners.length);

        // Unchecked because the only math done is incrementing
        // the array index counter which cannot possibly overflow.
        unchecked {
            for (uint256 i = 0; i < owners.length; ++i) {
                balances[i] = balanceOf[owners[i]][ids[i]];
            }
        }
    }

    /*//////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0xd9b67a26 || // ERC165 Interface ID for ERC1155
            interfaceId == 0x0e89341c; // ERC165 Interface ID for ERC1155MetadataURI
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        balanceOf[to][id] += amount;

        emit TransferSingle(msg.sender, address(0), to, id, amount);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, address(0), id, amount, data) ==
                    ERC1155TokenReceiver.onERC1155Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _batchMint(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        uint256 idsLength = ids.length; // Saves MLOADs.

        require(idsLength == amounts.length, "LENGTH_MISMATCH");

        for (uint256 i = 0; i < idsLength; ) {
            balanceOf[to][ids[i]] += amounts[i];

            // An array can't have a total length
            // larger than the max uint256 value.
            unchecked {
                ++i;
            }
        }

        emit TransferBatch(msg.sender, address(0), to, ids, amounts);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, address(0), ids, amounts, data) ==
                    ERC1155TokenReceiver.onERC1155BatchReceived.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _batchBurn(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        uint256 idsLength = ids.length; // Saves MLOADs.

        require(idsLength == amounts.length, "LENGTH_MISMATCH");

        for (uint256 i = 0; i < idsLength; ) {
            balanceOf[from][ids[i]] -= amounts[i];

            // An array can't have a total length
            // larger than the max uint256 value.
            unchecked {
                ++i;
            }
        }

        emit TransferBatch(msg.sender, from, address(0), ids, amounts);
    }

    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        balanceOf[from][id] -= amount;

        emit TransferSingle(msg.sender, from, address(0), id, amount);
    }
}

/// @notice A generic interface for a contract which properly accepts ERC1155 tokens.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC1155.sol)
abstract contract ERC1155TokenReceiver {
    function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC1155TokenReceiver.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address,
        uint256[] calldata,
        uint256[] calldata,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC1155TokenReceiver.onERC1155BatchReceived.selector;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_DCNT721AImplementation","type":"address"},{"internalType":"address","name":"_DCNT4907AImplementation","type":"address"},{"internalType":"address","name":"_DCNTSeriesImplementation","type":"address"},{"internalType":"address","name":"_DCNTCrescendoImplementation","type":"address"},{"internalType":"address","name":"_DCNTVaultImplementation","type":"address"},{"internalType":"address","name":"_DCNTStakingImplementation","type":"address"},{"internalType":"address","name":"_metadataRenderer","type":"address"},{"internalType":"address","name":"_contractRegistry","type":"address"},{"internalType":"address","name":"_ZKEditionImplementation","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"DCNT4907A","type":"address"}],"name":"DeployDCNT4907A","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"DCNT721A","type":"address"}],"name":"DeployDCNT721A","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"DCNTCrescendo","type":"address"}],"name":"DeployDCNTCrescendo","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"DCNTSeries","type":"address"}],"name":"DeployDCNTSeries","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"DCNTStaking","type":"address"}],"name":"DeployDCNTStaking","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"DCNTVault","type":"address"}],"name":"DeployDCNTVault","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"ZKEdition","type":"address"}],"name":"DeployZKEdition","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"},{"inputs":[],"name":"DCNT4907AImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DCNT721AImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DCNTCrescendoImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DCNTSeriesImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DCNTStakingImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DCNTVaultImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ZKEditionImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"bool","name":"hasAdjustableCap","type":"bool"},{"internalType":"bool","name":"isSoulbound","type":"bool"},{"internalType":"uint32","name":"maxTokens","type":"uint32"},{"internalType":"uint32","name":"maxTokenPurchase","type":"uint32"},{"internalType":"uint32","name":"presaleStart","type":"uint32"},{"internalType":"uint32","name":"presaleEnd","type":"uint32"},{"internalType":"uint32","name":"saleStart","type":"uint32"},{"internalType":"uint32","name":"saleEnd","type":"uint32"},{"internalType":"uint16","name":"royaltyBPS","type":"uint16"},{"internalType":"uint96","name":"tokenPrice","type":"uint96"},{"internalType":"address","name":"feeManager","type":"address"},{"internalType":"address","name":"payoutAddress","type":"address"},{"internalType":"bytes32","name":"presaleMerkleRoot","type":"bytes32"}],"internalType":"struct EditionConfig","name":"_editionConfig","type":"tuple"},{"components":[{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"string","name":"metadataURI","type":"string"},{"internalType":"bytes","name":"metadataRendererInit","type":"bytes"},{"internalType":"address","name":"parentIP","type":"address"}],"internalType":"struct MetadataConfig","name":"_metadataConfig","type":"tuple"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint88","name":"minBalance","type":"uint88"},{"internalType":"enum SaleType","name":"saleType","type":"uint8"}],"internalType":"struct TokenGateConfig","name":"_tokenGateConfig","type":"tuple"}],"name":"deployDCNT4907A","outputs":[{"internalType":"address","name":"clone","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"bool","name":"hasAdjustableCap","type":"bool"},{"internalType":"bool","name":"isSoulbound","type":"bool"},{"internalType":"uint32","name":"maxTokens","type":"uint32"},{"internalType":"uint32","name":"maxTokenPurchase","type":"uint32"},{"internalType":"uint32","name":"presaleStart","type":"uint32"},{"internalType":"uint32","name":"presaleEnd","type":"uint32"},{"internalType":"uint32","name":"saleStart","type":"uint32"},{"internalType":"uint32","name":"saleEnd","type":"uint32"},{"internalType":"uint16","name":"royaltyBPS","type":"uint16"},{"internalType":"uint96","name":"tokenPrice","type":"uint96"},{"internalType":"address","name":"feeManager","type":"address"},{"internalType":"address","name":"payoutAddress","type":"address"},{"internalType":"bytes32","name":"presaleMerkleRoot","type":"bytes32"}],"internalType":"struct EditionConfig","name":"_editionConfig","type":"tuple"},{"components":[{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"string","name":"metadataURI","type":"string"},{"internalType":"bytes","name":"metadataRendererInit","type":"bytes"},{"internalType":"address","name":"parentIP","type":"address"}],"internalType":"struct MetadataConfig","name":"_metadataConfig","type":"tuple"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint88","name":"minBalance","type":"uint88"},{"internalType":"enum SaleType","name":"saleType","type":"uint8"}],"internalType":"struct TokenGateConfig","name":"_tokenGateConfig","type":"tuple"}],"name":"deployDCNT721A","outputs":[{"internalType":"address","name":"clone","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialPrice","type":"uint256"},{"internalType":"uint256","name":"step1","type":"uint256"},{"internalType":"uint256","name":"step2","type":"uint256"},{"internalType":"uint256","name":"hitch","type":"uint256"},{"internalType":"uint256","name":"takeRateBPS","type":"uint256"},{"internalType":"uint256","name":"unlockDate","type":"uint256"},{"internalType":"uint256","name":"saleStart","type":"uint256"},{"internalType":"uint256","name":"royaltyBPS","type":"uint256"}],"internalType":"struct CrescendoConfig","name":"_config","type":"tuple"},{"components":[{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"string","name":"metadataURI","type":"string"},{"internalType":"bytes","name":"metadataRendererInit","type":"bytes"},{"internalType":"address","name":"parentIP","type":"address"}],"internalType":"struct MetadataConfig","name":"_metadataConfig","type":"tuple"}],"name":"deployDCNTCrescendo","outputs":[{"internalType":"address","name":"clone","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"string","name":"metadataURI","type":"string"},{"internalType":"uint128","name":"startTokenId","type":"uint128"},{"internalType":"uint128","name":"endTokenId","type":"uint128"},{"internalType":"uint16","name":"royaltyBPS","type":"uint16"},{"internalType":"address","name":"feeManager","type":"address"},{"internalType":"address","name":"payoutAddress","type":"address"},{"internalType":"address","name":"currencyOracle","type":"address"},{"internalType":"bool","name":"isSoulbound","type":"bool"},{"internalType":"bool","name":"hasAdjustableCaps","type":"bool"}],"internalType":"struct IDCNTSeries.SeriesConfig","name":"_config","type":"tuple"},{"components":[{"internalType":"uint32","name":"maxTokens","type":"uint32"},{"internalType":"uint32","name":"maxTokensPerOwner","type":"uint32"},{"internalType":"uint32","name":"presaleStart","type":"uint32"},{"internalType":"uint32","name":"presaleEnd","type":"uint32"},{"internalType":"uint32","name":"saleStart","type":"uint32"},{"internalType":"uint32","name":"saleEnd","type":"uint32"},{"internalType":"uint96","name":"tokenPrice","type":"uint96"},{"internalType":"bytes32","name":"presaleMerkleRoot","type":"bytes32"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint88","name":"minBalance","type":"uint88"},{"internalType":"enum SaleType","name":"saleType","type":"uint8"}],"internalType":"struct TokenGateConfig","name":"tokenGate","type":"tuple"}],"internalType":"struct IDCNTSeries.Drop","name":"_defaultDrop","type":"tuple"},{"components":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"tokenIdDropIds","type":"uint256[]"},{"internalType":"uint256[]","name":"dropIds","type":"uint256[]"},{"components":[{"internalType":"uint32","name":"maxTokens","type":"uint32"},{"internalType":"uint32","name":"maxTokensPerOwner","type":"uint32"},{"internalType":"uint32","name":"presaleStart","type":"uint32"},{"internalType":"uint32","name":"presaleEnd","type":"uint32"},{"internalType":"uint32","name":"saleStart","type":"uint32"},{"internalType":"uint32","name":"saleEnd","type":"uint32"},{"internalType":"uint96","name":"tokenPrice","type":"uint96"},{"internalType":"bytes32","name":"presaleMerkleRoot","type":"bytes32"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint88","name":"minBalance","type":"uint88"},{"internalType":"enum SaleType","name":"saleType","type":"uint8"}],"internalType":"struct TokenGateConfig","name":"tokenGate","type":"tuple"}],"internalType":"struct IDCNTSeries.Drop[]","name":"drops","type":"tuple[]"}],"internalType":"struct IDCNTSeries.DropMap","name":"_dropOverrides","type":"tuple"}],"name":"deployDCNTSeries","outputs":[{"internalType":"address","name":"clone","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nft","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_vaultDuration","type":"uint256"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"deployDCNTStaking","outputs":[{"internalType":"address","name":"clone","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vaultDistributionTokenAddress","type":"address"},{"internalType":"address","name":"_nftVaultKeyAddress","type":"address"},{"internalType":"uint256","name":"_nftTotalSupply","type":"uint256"},{"internalType":"uint256","name":"_unlockDate","type":"uint256"}],"name":"deployDCNTVault","outputs":[{"internalType":"address","name":"clone","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"bool","name":"hasAdjustableCap","type":"bool"},{"internalType":"bool","name":"isSoulbound","type":"bool"},{"internalType":"uint32","name":"maxTokens","type":"uint32"},{"internalType":"uint32","name":"maxTokenPurchase","type":"uint32"},{"internalType":"uint32","name":"presaleStart","type":"uint32"},{"internalType":"uint32","name":"presaleEnd","type":"uint32"},{"internalType":"uint32","name":"saleStart","type":"uint32"},{"internalType":"uint32","name":"saleEnd","type":"uint32"},{"internalType":"uint16","name":"royaltyBPS","type":"uint16"},{"internalType":"uint96","name":"tokenPrice","type":"uint96"},{"internalType":"address","name":"feeManager","type":"address"},{"internalType":"address","name":"payoutAddress","type":"address"},{"internalType":"bytes32","name":"presaleMerkleRoot","type":"bytes32"}],"internalType":"struct EditionConfig","name":"_editionConfig","type":"tuple"},{"components":[{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"string","name":"metadataURI","type":"string"},{"internalType":"bytes","name":"metadataRendererInit","type":"bytes"},{"internalType":"address","name":"parentIP","type":"address"}],"internalType":"struct MetadataConfig","name":"_metadataConfig","type":"tuple"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint88","name":"minBalance","type":"uint88"},{"internalType":"enum SaleType","name":"saleType","type":"uint8"}],"internalType":"struct TokenGateConfig","name":"_tokenGateConfig","type":"tuple"},{"internalType":"address","name":"zkVerifier","type":"address"}],"name":"deployZKEdition","outputs":[{"internalType":"address","name":"clone","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"metadataRenderer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x60806040523480156200001157600080fd5b5060405162001d7038038062001d7083398101604081905262000034916200014d565b6200003f33620000e0565b600180546001600160a01b03199081166001600160a01b039b8c1617909155600280548216998b1699909917909855600380548916978a1697909717909655600480548816958916959095179094556005805487169388169390931790925560068054861691871691909117905560088054851691861691909117905560098054841691851691909117905560078054909216921691909117905562000208565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200014857600080fd5b919050565b60008060008060008060008060006101208a8c0312156200016d57600080fd5b620001788a62000130565b98506200018860208b0162000130565b97506200019860408b0162000130565b9650620001a860608b0162000130565b9550620001b860808b0162000130565b9450620001c860a08b0162000130565b9350620001d860c08b0162000130565b9250620001e860e08b0162000130565b9150620001f96101008b0162000130565b90509295985092959850929598565b611b5880620002186000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063b8ab450d11610071578063b8ab450d14610241578063bc10a4fa14610254578063ca825bb514610267578063d0ae315a1461027a578063f2fde38b1461028d57600080fd5b8063715018a6146101ed57806373d622f8146101f75780638da5cb5b1461020a5780639f61dfec1461021b578063abf410e51461022e57600080fd5b80633c3b370b116100f45780633c3b370b1461018e5780634285656b146101a15780634b477284146101b45780636572e5f1146101c757806370319970146101da57600080fd5b806310a089131461012657806315605173146101555780632d11e65e14610168578063389058981461017b575b600080fd5b600154610139906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b610139610163366004610fbd565b6102a0565b600354610139906001600160a01b031681565b610139610189366004611032565b610437565b600654610139906001600160a01b031681565b600254610139906001600160a01b031681565b6101396101c2366004610fbd565b6105ce565b6101396101d536600461109f565b61075b565b600854610139906001600160a01b031681565b6101f56108dd565b005b610139610205366004611142565b6108f1565b6000546001600160a01b0316610139565b600554610139906001600160a01b031681565b600954610139906001600160a01b031681565b61013961024f366004611184565b610a96565b610139610262366004611142565b610c25565b600454610139906001600160a01b031681565b600754610139906001600160a01b031681565b6101f561029b36600461120a565b610dbe565b6001546000906102b8906001600160a01b0316610e3c565b6008546040519192506000916001600160a01b03808516926102e89233928a928a928a9290911690602401611547565b60408051601f198184030181529181526020820180516001600160e01b031663569c66c560e01b1790525161031d919061159e565b6000604051808303816000865af19150503d806000811461035a576040519150601f19603f3d011682016040523d82523d6000602084013e61035f565b606091505b505090508061036d57600080fd5b60095460405163ede4973960e01b81523360048201526001600160a01b03848116602483015260606044830152600860648301526744434e543732314160c01b60848301529091169063ede497399060a401600060405180830381600087803b1580156103d957600080fd5b505af11580156103ed573d6000803e3d6000fd5b50506040516001600160a01b03851681527f149ce80ffd882db4157fb46dd05201336d87f52ace89212615557e5455b8a0df925060200190505b60405180910390a1509392505050565b60045460009061044f906001600160a01b0316610e3c565b6008546040519192506000916001600160a01b038085169261047c923392899289929116906024016115cd565b60408051601f198184030181529181526020820180516001600160e01b0316636a276a6360e11b179052516104b1919061159e565b6000604051808303816000865af19150503d80600081146104ee576040519150601f19603f3d011682016040523d82523d6000602084013e6104f3565b606091505b505090508061050157600080fd5b60095460405163ede4973960e01b81523360048201526001600160a01b03848116602483015260606044830152600d60648301526c44434e544372657363656e646f60981b60848301529091169063ede497399060a401600060405180830381600087803b15801561057257600080fd5b505af1158015610586573d6000803e3d6000fd5b50506040516001600160a01b03851681527f2c14c8ffafc8bfdf42e6469d6c292eeaebf445beafb817fb0bc9df3ebd89f0069250602001905060405180910390a15092915050565b6002546000906105e6906001600160a01b0316610e3c565b6008546040519192506000916001600160a01b03808516926106169233928a928a928a9290911690602401611547565b60408051601f198184030181529181526020820180516001600160e01b031663569c66c560e01b1790525161064b919061159e565b6000604051808303816000865af19150503d8060008114610688576040519150601f19603f3d011682016040523d82523d6000602084013e61068d565b606091505b505090508061069b57600080fd5b6009805460405163ede4973960e01b81523360048201526001600160a01b0385811660248301526060604483015260648201939093526844434e54343930374160b81b608482015291169063ede497399060a401600060405180830381600087803b15801561070957600080fd5b505af115801561071d573d6000803e3d6000fd5b50506040516001600160a01b03851681527f3758a9cde202b40b236c1867c2734461fd598d835ad020bda26ca4f85838f2c492506020019050610427565b600354600090610773906001600160a01b0316610e3c565b90506000816001600160a01b031633868686604051602401610798949392919061190d565b60408051601f198184030181529181526020820180516001600160e01b031663747ae48760e11b179052516107cd919061159e565b6000604051808303816000865af19150503d806000811461080a576040519150601f19603f3d011682016040523d82523d6000602084013e61080f565b606091505b505090508061081d57600080fd5b60095460405163ede4973960e01b81523360048201526001600160a01b03848116602483015260606044830152600a60648301526944434e5453657269657360b01b60848301529091169063ede497399060a401600060405180830381600087803b15801561088b57600080fd5b505af115801561089f573d6000803e3d6000fd5b50506040516001600160a01b03851681527f1110b9d4e98ce9495365b594b3a8b9eba38d4c31da9dbacffb3c1f23ee40843792506020019050610427565b6108e5610ed6565b6108ef6000610f30565b565b600554600090610909906001600160a01b0316610e3c565b6040513360248201526001600160a01b03878116604483015286811660648301526084820186905260a4820185905291925060009183169060c40160408051601f198184030181529181526020820180516001600160e01b03166314d6c7d760e31b17905251610979919061159e565b6000604051808303816000865af19150503d80600081146109b6576040519150601f19603f3d011682016040523d82523d6000602084013e6109bb565b606091505b50509050806109c957600080fd5b6009805460405163ede4973960e01b81523360048201526001600160a01b038581166024830152606060448301526064820193909352681110d39515985d5b1d60ba1b608482015291169063ede497399060a401600060405180830381600087803b158015610a3757600080fd5b505af1158015610a4b573d6000803e3d6000fd5b50506040516001600160a01b03851681527ff12b488daa6140ffee78fe266c37addbbaea912b09ce36e613a17844dac4255b925060200190505b60405180910390a150949350505050565b600754600090610aae906001600160a01b0316610e3c565b6008546040519192506000916001600160a01b0380851692610ae09233928b928b928b92909116908a90602401611abc565b60408051601f198184030181529181526020820180516001600160e01b031663146d68a360e21b17905251610b15919061159e565b6000604051808303816000865af19150503d8060008114610b52576040519150601f19603f3d011682016040523d82523d6000602084013e610b57565b606091505b5050905080610b6557600080fd5b6009805460405163ede4973960e01b81523360048201526001600160a01b038581166024830152606060448301526064820193909352682d25a2b234ba34b7b760b91b608482015291169063ede497399060a401600060405180830381600087803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50506040516001600160a01b03851681527f49451ac6869c0fa590f484823265bd786e5c483c78431c2fc0cc2f7f939678e492506020019050610a85565b600654600090610c3d906001600160a01b0316610e3c565b6040513360248201526001600160a01b03878116604483015286811660648301526084820186905260a4820185905291925060009183169060c40160408051601f198184030181529181526020820180516001600160e01b03166314d6c7d760e31b17905251610cad919061159e565b6000604051808303816000865af19150503d8060008114610cea576040519150601f19603f3d011682016040523d82523d6000602084013e610cef565b606091505b5050905080610cfd57600080fd5b60095460405163ede4973960e01b81523360048201526001600160a01b03848116602483015260606044830152600b60648301526a44434e545374616b696e6760a81b60848301529091169063ede497399060a401600060405180830381600087803b158015610d6c57600080fd5b505af1158015610d80573d6000803e3d6000fd5b50506040516001600160a01b03851681527fe9eeb18af71a650338802cfcb86b39b211ed34fd8a37cacc5a16514a183e8d6692506020019050610a85565b610dc6610ed6565b6001600160a01b038116610e305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610e3981610f30565b50565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116610ed15760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610e27565b919050565b6000546001600160a01b031633146108ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e27565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006101e08284031215610f9357600080fd5b50919050565b600060808284031215610f9357600080fd5b600060608284031215610f9357600080fd5b600080600060a08486031215610fd257600080fd5b833567ffffffffffffffff80821115610fea57600080fd5b610ff687838801610f80565b9450602086013591508082111561100c57600080fd5b5061101986828701610f99565b9250506110298560408601610fab565b90509250925092565b6000806040838503121561104557600080fd5b823567ffffffffffffffff8082111561105d57600080fd5b90840190610140828703121561107257600080fd5b9092506020840135908082111561108857600080fd5b5061109585828601610f99565b9150509250929050565b60008060008385036101a08112156110b657600080fd5b843567ffffffffffffffff808211156110ce57600080fd5b818701915061018080838a0312156110e557600080fd5b829650610160601f19850112156110fb57600080fd5b60208801955087013592508083111561111357600080fd5b505061112186828701610f99565b9150509250925092565b80356001600160a01b0381168114610ed157600080fd5b6000806000806080858703121561115857600080fd5b6111618561112b565b935061116f6020860161112b565b93969395505050506040820135916060013590565b60008060008060c0858703121561119a57600080fd5b843567ffffffffffffffff808211156111b257600080fd5b6111be88838901610f80565b955060208701359150808211156111d457600080fd5b506111e187828801610f99565b9350506111f18660408701610fab565b91506111ff60a0860161112b565b905092959194509250565b60006020828403121561121c57600080fd5b6112258261112b565b9392505050565b6000808335601e1984360301811261124357600080fd5b830160208101925035905067ffffffffffffffff81111561126357600080fd5b80360382131561127257600080fd5b9250929050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b80358015158114610ed157600080fd5b803563ffffffff81168114610ed157600080fd5b803561ffff81168114610ed157600080fd5b80356001600160601b0381168114610ed157600080fd5b60006101e06112fe838461122c565b82865261130e8387018284611279565b9250505061131f602084018461122c565b8583036020870152611332838284611279565b92505050611342604084016112a2565b15156040850152611355606084016112a2565b15156060850152611368608084016112b2565b63ffffffff16608085015261137f60a084016112b2565b63ffffffff1660a085015261139660c084016112b2565b63ffffffff1660c08501526113ad60e084016112b2565b63ffffffff1660e08501526101006113c68482016112b2565b63ffffffff16908501526101206113de8482016112b2565b63ffffffff16908501526101406113f68482016112c6565b61ffff169085015261016061140c8482016112d8565b6001600160601b03169085015261018061142784820161112b565b6001600160a01b0316908501526101a061144284820161112b565b6001600160a01b0316908501526101c09283013592909301919091525090565b600061146e828361122c565b60808552611480608086018284611279565b915050611490602084018461122c565b85830360208701526114a3838284611279565b925050506114b4604084018461122c565b85830360408701526114c7838284611279565b92506001600160a01b0391506114e190506060850161112b565b1660608501528091505092915050565b6001600160a01b036115028261112b565b16825260208101356affffffffffffffffffffff811680821461152457600080fd5b60208401525060408101356003811061153c57600080fd5b806040840152505050565b600060018060a01b03808816835260e0602084015261156960e08401886112ef565b838103604085015261157b8188611462565b92505061158b60608401866114f1565b80841660c0840152509695505050505050565b6000825160005b818110156115bf57602081860181015185830152016115a5565b506000920191825250919050565b6001600160a01b03851681526080602082015260006115ec858061122c565b6101408060808601526116046101c086018385611279565b9250611613602089018961122c565b868503607f190160a0880152925061162c848483611279565b935050604088013560c0860152606088013560e0860152610100915060808801358286015261012060a08901358187015260c08901358287015260e089013561016087015282890135610180870152808901356101a0870152505050828103604084015261169a8186611462565b9150506116b260608301846001600160a01b03169052565b95945050505050565b80356001600160801b0381168114610ed157600080fd5b63ffffffff806116e1836112b2565b168352806116f1602084016112b2565b16602084015280611704604084016112b2565b16604084015280611717606084016112b2565b1660608401525061172a608082016112b2565b63ffffffff16608083015261174160a082016112b2565b63ffffffff1660a083015261175860c082016112d8565b6001600160601b031660c083015260e081810135908301526101006117818184018284016114f1565b505050565b6000808335601e1984360301811261179d57600080fd5b830160208101925035905067ffffffffffffffff8111156117bd57600080fd5b8060051b360382131561127257600080fd5b81835260006001600160fb1b038311156117e857600080fd5b8260051b80836020870137939093016020019392505050565b81835260208301925060008160005b848110156118365761182286836116d2565b610160958601959190910190600101611810565b5093949350505050565b600061184c8283611786565b6080855261185e6080860182846117cf565b91505061186e6020840184611786565b85830360208701526118818382846117cf565b925050506118926040840184611786565b85830360408701526118a58382846117cf565b925050506060830135601e198436030181126118c057600080fd5b830160208101903567ffffffffffffffff8111156118dd57600080fd5b610160810236038213156118f057600080fd5b8583036060870152611903838284611801565b9695505050505050565b6001600160a01b03851681526101c060208201819052600090611930868061122c565b6101808386015261194661034086018284611279565b92505050611957602087018761122c565b6101bf1980868503016101e0870152611971848385611279565b935061198060408a018a61122c565b93509150808685030161020087015261199a848484611279565b93506119a960608a018a61122c565b935091508086850301610220870152506119c4838383611279565b925050506119d4608087016116bb565b6001600160801b03166102408401526119ef60a087016116bb565b6001600160801b0316610260840152611a0a60c087016112c6565b61ffff16610280840152611a2060e0870161112b565b6001600160a01b03166102a0840152611a3c610100870161112b565b6001600160a01b03166102c0840152611a58610120870161112b565b6001600160a01b03166102e0840152611a7461014087016112a2565b1515610300840152611a8961016087016112a2565b1515610320840152611a9e60408401866116d2565b8281036101a0840152611ab18185611840565b979650505050505050565b6001600160a01b03878116825261010060208301819052600091611ae28483018a6112ef565b91508382036040850152611af68289611462565b9250611b0560608501886114f1565b80861660c085015280851660e0850152505097965050505050505056fea26469706673582212207de67640329659b524f5ea419f4e250d6c9cd38b92897fa16dbab69fd065b27a64736f6c63430008110033000000000000000000000000e7ae230f1b330866aae93960305fca251eb5f0fb00000000000000000000000002389ff7db92d9b1063b64ce1fc0bdba841854720000000000000000000000004e1cc2fed80fa764e05eaedb807a9c2fc85e1fd9000000000000000000000000a35e98971608803c4f4bcd876451bff3f822cfe500000000000000000000000036c3a2b8550558fe7eb86541dafed469cacd2ff90000000000000000000000005392e06ac979e370fd45d25d0b5424cd8ca5652900000000000000000000000049799190ad4ef8299e0d078eef07bdb4309f718600000000000000000000000079cc3c93e7bec01e03ee3249e1a661dd09a1cbcd00000000000000000000000001e90044e2089a2d5d8e84eed1139c2742bdf43e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063b8ab450d11610071578063b8ab450d14610241578063bc10a4fa14610254578063ca825bb514610267578063d0ae315a1461027a578063f2fde38b1461028d57600080fd5b8063715018a6146101ed57806373d622f8146101f75780638da5cb5b1461020a5780639f61dfec1461021b578063abf410e51461022e57600080fd5b80633c3b370b116100f45780633c3b370b1461018e5780634285656b146101a15780634b477284146101b45780636572e5f1146101c757806370319970146101da57600080fd5b806310a089131461012657806315605173146101555780632d11e65e14610168578063389058981461017b575b600080fd5b600154610139906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b610139610163366004610fbd565b6102a0565b600354610139906001600160a01b031681565b610139610189366004611032565b610437565b600654610139906001600160a01b031681565b600254610139906001600160a01b031681565b6101396101c2366004610fbd565b6105ce565b6101396101d536600461109f565b61075b565b600854610139906001600160a01b031681565b6101f56108dd565b005b610139610205366004611142565b6108f1565b6000546001600160a01b0316610139565b600554610139906001600160a01b031681565b600954610139906001600160a01b031681565b61013961024f366004611184565b610a96565b610139610262366004611142565b610c25565b600454610139906001600160a01b031681565b600754610139906001600160a01b031681565b6101f561029b36600461120a565b610dbe565b6001546000906102b8906001600160a01b0316610e3c565b6008546040519192506000916001600160a01b03808516926102e89233928a928a928a9290911690602401611547565b60408051601f198184030181529181526020820180516001600160e01b031663569c66c560e01b1790525161031d919061159e565b6000604051808303816000865af19150503d806000811461035a576040519150601f19603f3d011682016040523d82523d6000602084013e61035f565b606091505b505090508061036d57600080fd5b60095460405163ede4973960e01b81523360048201526001600160a01b03848116602483015260606044830152600860648301526744434e543732314160c01b60848301529091169063ede497399060a401600060405180830381600087803b1580156103d957600080fd5b505af11580156103ed573d6000803e3d6000fd5b50506040516001600160a01b03851681527f149ce80ffd882db4157fb46dd05201336d87f52ace89212615557e5455b8a0df925060200190505b60405180910390a1509392505050565b60045460009061044f906001600160a01b0316610e3c565b6008546040519192506000916001600160a01b038085169261047c923392899289929116906024016115cd565b60408051601f198184030181529181526020820180516001600160e01b0316636a276a6360e11b179052516104b1919061159e565b6000604051808303816000865af19150503d80600081146104ee576040519150601f19603f3d011682016040523d82523d6000602084013e6104f3565b606091505b505090508061050157600080fd5b60095460405163ede4973960e01b81523360048201526001600160a01b03848116602483015260606044830152600d60648301526c44434e544372657363656e646f60981b60848301529091169063ede497399060a401600060405180830381600087803b15801561057257600080fd5b505af1158015610586573d6000803e3d6000fd5b50506040516001600160a01b03851681527f2c14c8ffafc8bfdf42e6469d6c292eeaebf445beafb817fb0bc9df3ebd89f0069250602001905060405180910390a15092915050565b6002546000906105e6906001600160a01b0316610e3c565b6008546040519192506000916001600160a01b03808516926106169233928a928a928a9290911690602401611547565b60408051601f198184030181529181526020820180516001600160e01b031663569c66c560e01b1790525161064b919061159e565b6000604051808303816000865af19150503d8060008114610688576040519150601f19603f3d011682016040523d82523d6000602084013e61068d565b606091505b505090508061069b57600080fd5b6009805460405163ede4973960e01b81523360048201526001600160a01b0385811660248301526060604483015260648201939093526844434e54343930374160b81b608482015291169063ede497399060a401600060405180830381600087803b15801561070957600080fd5b505af115801561071d573d6000803e3d6000fd5b50506040516001600160a01b03851681527f3758a9cde202b40b236c1867c2734461fd598d835ad020bda26ca4f85838f2c492506020019050610427565b600354600090610773906001600160a01b0316610e3c565b90506000816001600160a01b031633868686604051602401610798949392919061190d565b60408051601f198184030181529181526020820180516001600160e01b031663747ae48760e11b179052516107cd919061159e565b6000604051808303816000865af19150503d806000811461080a576040519150601f19603f3d011682016040523d82523d6000602084013e61080f565b606091505b505090508061081d57600080fd5b60095460405163ede4973960e01b81523360048201526001600160a01b03848116602483015260606044830152600a60648301526944434e5453657269657360b01b60848301529091169063ede497399060a401600060405180830381600087803b15801561088b57600080fd5b505af115801561089f573d6000803e3d6000fd5b50506040516001600160a01b03851681527f1110b9d4e98ce9495365b594b3a8b9eba38d4c31da9dbacffb3c1f23ee40843792506020019050610427565b6108e5610ed6565b6108ef6000610f30565b565b600554600090610909906001600160a01b0316610e3c565b6040513360248201526001600160a01b03878116604483015286811660648301526084820186905260a4820185905291925060009183169060c40160408051601f198184030181529181526020820180516001600160e01b03166314d6c7d760e31b17905251610979919061159e565b6000604051808303816000865af19150503d80600081146109b6576040519150601f19603f3d011682016040523d82523d6000602084013e6109bb565b606091505b50509050806109c957600080fd5b6009805460405163ede4973960e01b81523360048201526001600160a01b038581166024830152606060448301526064820193909352681110d39515985d5b1d60ba1b608482015291169063ede497399060a401600060405180830381600087803b158015610a3757600080fd5b505af1158015610a4b573d6000803e3d6000fd5b50506040516001600160a01b03851681527ff12b488daa6140ffee78fe266c37addbbaea912b09ce36e613a17844dac4255b925060200190505b60405180910390a150949350505050565b600754600090610aae906001600160a01b0316610e3c565b6008546040519192506000916001600160a01b0380851692610ae09233928b928b928b92909116908a90602401611abc565b60408051601f198184030181529181526020820180516001600160e01b031663146d68a360e21b17905251610b15919061159e565b6000604051808303816000865af19150503d8060008114610b52576040519150601f19603f3d011682016040523d82523d6000602084013e610b57565b606091505b5050905080610b6557600080fd5b6009805460405163ede4973960e01b81523360048201526001600160a01b038581166024830152606060448301526064820193909352682d25a2b234ba34b7b760b91b608482015291169063ede497399060a401600060405180830381600087803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50506040516001600160a01b03851681527f49451ac6869c0fa590f484823265bd786e5c483c78431c2fc0cc2f7f939678e492506020019050610a85565b600654600090610c3d906001600160a01b0316610e3c565b6040513360248201526001600160a01b03878116604483015286811660648301526084820186905260a4820185905291925060009183169060c40160408051601f198184030181529181526020820180516001600160e01b03166314d6c7d760e31b17905251610cad919061159e565b6000604051808303816000865af19150503d8060008114610cea576040519150601f19603f3d011682016040523d82523d6000602084013e610cef565b606091505b5050905080610cfd57600080fd5b60095460405163ede4973960e01b81523360048201526001600160a01b03848116602483015260606044830152600b60648301526a44434e545374616b696e6760a81b60848301529091169063ede497399060a401600060405180830381600087803b158015610d6c57600080fd5b505af1158015610d80573d6000803e3d6000fd5b50506040516001600160a01b03851681527fe9eeb18af71a650338802cfcb86b39b211ed34fd8a37cacc5a16514a183e8d6692506020019050610a85565b610dc6610ed6565b6001600160a01b038116610e305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610e3981610f30565b50565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116610ed15760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610e27565b919050565b6000546001600160a01b031633146108ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e27565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006101e08284031215610f9357600080fd5b50919050565b600060808284031215610f9357600080fd5b600060608284031215610f9357600080fd5b600080600060a08486031215610fd257600080fd5b833567ffffffffffffffff80821115610fea57600080fd5b610ff687838801610f80565b9450602086013591508082111561100c57600080fd5b5061101986828701610f99565b9250506110298560408601610fab565b90509250925092565b6000806040838503121561104557600080fd5b823567ffffffffffffffff8082111561105d57600080fd5b90840190610140828703121561107257600080fd5b9092506020840135908082111561108857600080fd5b5061109585828601610f99565b9150509250929050565b60008060008385036101a08112156110b657600080fd5b843567ffffffffffffffff808211156110ce57600080fd5b818701915061018080838a0312156110e557600080fd5b829650610160601f19850112156110fb57600080fd5b60208801955087013592508083111561111357600080fd5b505061112186828701610f99565b9150509250925092565b80356001600160a01b0381168114610ed157600080fd5b6000806000806080858703121561115857600080fd5b6111618561112b565b935061116f6020860161112b565b93969395505050506040820135916060013590565b60008060008060c0858703121561119a57600080fd5b843567ffffffffffffffff808211156111b257600080fd5b6111be88838901610f80565b955060208701359150808211156111d457600080fd5b506111e187828801610f99565b9350506111f18660408701610fab565b91506111ff60a0860161112b565b905092959194509250565b60006020828403121561121c57600080fd5b6112258261112b565b9392505050565b6000808335601e1984360301811261124357600080fd5b830160208101925035905067ffffffffffffffff81111561126357600080fd5b80360382131561127257600080fd5b9250929050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b80358015158114610ed157600080fd5b803563ffffffff81168114610ed157600080fd5b803561ffff81168114610ed157600080fd5b80356001600160601b0381168114610ed157600080fd5b60006101e06112fe838461122c565b82865261130e8387018284611279565b9250505061131f602084018461122c565b8583036020870152611332838284611279565b92505050611342604084016112a2565b15156040850152611355606084016112a2565b15156060850152611368608084016112b2565b63ffffffff16608085015261137f60a084016112b2565b63ffffffff1660a085015261139660c084016112b2565b63ffffffff1660c08501526113ad60e084016112b2565b63ffffffff1660e08501526101006113c68482016112b2565b63ffffffff16908501526101206113de8482016112b2565b63ffffffff16908501526101406113f68482016112c6565b61ffff169085015261016061140c8482016112d8565b6001600160601b03169085015261018061142784820161112b565b6001600160a01b0316908501526101a061144284820161112b565b6001600160a01b0316908501526101c09283013592909301919091525090565b600061146e828361122c565b60808552611480608086018284611279565b915050611490602084018461122c565b85830360208701526114a3838284611279565b925050506114b4604084018461122c565b85830360408701526114c7838284611279565b92506001600160a01b0391506114e190506060850161112b565b1660608501528091505092915050565b6001600160a01b036115028261112b565b16825260208101356affffffffffffffffffffff811680821461152457600080fd5b60208401525060408101356003811061153c57600080fd5b806040840152505050565b600060018060a01b03808816835260e0602084015261156960e08401886112ef565b838103604085015261157b8188611462565b92505061158b60608401866114f1565b80841660c0840152509695505050505050565b6000825160005b818110156115bf57602081860181015185830152016115a5565b506000920191825250919050565b6001600160a01b03851681526080602082015260006115ec858061122c565b6101408060808601526116046101c086018385611279565b9250611613602089018961122c565b868503607f190160a0880152925061162c848483611279565b935050604088013560c0860152606088013560e0860152610100915060808801358286015261012060a08901358187015260c08901358287015260e089013561016087015282890135610180870152808901356101a0870152505050828103604084015261169a8186611462565b9150506116b260608301846001600160a01b03169052565b95945050505050565b80356001600160801b0381168114610ed157600080fd5b63ffffffff806116e1836112b2565b168352806116f1602084016112b2565b16602084015280611704604084016112b2565b16604084015280611717606084016112b2565b1660608401525061172a608082016112b2565b63ffffffff16608083015261174160a082016112b2565b63ffffffff1660a083015261175860c082016112d8565b6001600160601b031660c083015260e081810135908301526101006117818184018284016114f1565b505050565b6000808335601e1984360301811261179d57600080fd5b830160208101925035905067ffffffffffffffff8111156117bd57600080fd5b8060051b360382131561127257600080fd5b81835260006001600160fb1b038311156117e857600080fd5b8260051b80836020870137939093016020019392505050565b81835260208301925060008160005b848110156118365761182286836116d2565b610160958601959190910190600101611810565b5093949350505050565b600061184c8283611786565b6080855261185e6080860182846117cf565b91505061186e6020840184611786565b85830360208701526118818382846117cf565b925050506118926040840184611786565b85830360408701526118a58382846117cf565b925050506060830135601e198436030181126118c057600080fd5b830160208101903567ffffffffffffffff8111156118dd57600080fd5b610160810236038213156118f057600080fd5b8583036060870152611903838284611801565b9695505050505050565b6001600160a01b03851681526101c060208201819052600090611930868061122c565b6101808386015261194661034086018284611279565b92505050611957602087018761122c565b6101bf1980868503016101e0870152611971848385611279565b935061198060408a018a61122c565b93509150808685030161020087015261199a848484611279565b93506119a960608a018a61122c565b935091508086850301610220870152506119c4838383611279565b925050506119d4608087016116bb565b6001600160801b03166102408401526119ef60a087016116bb565b6001600160801b0316610260840152611a0a60c087016112c6565b61ffff16610280840152611a2060e0870161112b565b6001600160a01b03166102a0840152611a3c610100870161112b565b6001600160a01b03166102c0840152611a58610120870161112b565b6001600160a01b03166102e0840152611a7461014087016112a2565b1515610300840152611a8961016087016112a2565b1515610320840152611a9e60408401866116d2565b8281036101a0840152611ab18185611840565b979650505050505050565b6001600160a01b03878116825261010060208301819052600091611ae28483018a6112ef565b91508382036040850152611af68289611462565b9250611b0560608501886114f1565b80861660c085015280851660e0850152505097965050505050505056fea26469706673582212207de67640329659b524f5ea419f4e250d6c9cd38b92897fa16dbab69fd065b27a64736f6c63430008110033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.