ETH Price: $2,786.95 (+1.37%)

Contract

0xBa32Eb9f5fB4d1cA17DFaB18EBcfa7baf37A0163
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Public Mint148339692022-05-24 5:32:59990 days ago1653370379IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0003897311.65365207
Whitelist Mint148329962022-05-24 1:42:02990 days ago1653356522IN
0xBa32Eb9f...af37A0163
0.138 ETH0.0006580320.35315758
Whitelist Mint148329952022-05-24 1:41:57990 days ago1653356517IN
0xBa32Eb9f...af37A0163
0.138 ETH0.00069921.62028727
Whitelist Mint148329952022-05-24 1:41:57990 days ago1653356517IN
0xBa32Eb9f...af37A0163
0.138 ETH0.0006992621.62028727
Whitelist Mint148329952022-05-24 1:41:57990 days ago1653356517IN
0xBa32Eb9f...af37A0163
0.138 ETH0.0006992621.62028727
Whitelist Mint148329952022-05-24 1:41:57990 days ago1653356517IN
0xBa32Eb9f...af37A0163
0.138 ETH0.0006569220.31131298
Withdraw148195692022-05-21 21:26:43992 days ago1653168403IN
0xBa32Eb9f...af37A0163
0 ETH0.0011144719.06481163
Public Mint148192942022-05-21 20:20:32992 days ago1653164432IN
0xBa32Eb9f...af37A0163
0.069 ETH0.000468214
Public Mint148192622022-05-21 20:14:14992 days ago1653164054IN
0xBa32Eb9f...af37A0163
0.138 ETH0.0009393828.08909847
Public Mint148192622022-05-21 20:14:14992 days ago1653164054IN
0xBa32Eb9f...af37A0163
0.345 ETH0.0009594428.68909847
Raffle Mint148192502022-05-21 20:11:24992 days ago1653163884IN
0xBa32Eb9f...af37A0163
0.138 ETH0.0013411339
Public Mint148192062022-05-21 19:58:31992 days ago1653163111IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0007698123.01886377
Public Mint148192062022-05-21 19:58:31992 days ago1653163111IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0007698123.01886377
Public Mint148192002022-05-21 19:57:18992 days ago1653163038IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0007349621.9765959
Public Mint148191982022-05-21 19:56:52992 days ago1653163012IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0007004920.94593018
Public Mint148191982022-05-21 19:56:52992 days ago1653163012IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0007004920.94593018
Public Mint148191982022-05-21 19:56:52992 days ago1653163012IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0007004920.94593018
Public Mint148191982022-05-21 19:56:52992 days ago1653163012IN
0xBa32Eb9f...af37A0163
0.138 ETH0.0007007420.94593018
Public Mint148191972022-05-21 19:56:39992 days ago1653162999IN
0xBa32Eb9f...af37A0163
0.69 ETH0.0006593819.71657989
Public Mint148191972022-05-21 19:56:39992 days ago1653162999IN
0xBa32Eb9f...af37A0163
0.276 ETH0.0006593819.71657989
Public Mint148191972022-05-21 19:56:39992 days ago1653162999IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0006593819.71657989
Public Mint148191972022-05-21 19:56:39992 days ago1653162999IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0006593819.71657989
Public Mint148191972022-05-21 19:56:39992 days ago1653162999IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0006593819.71657989
Public Mint148191972022-05-21 19:56:39992 days ago1653162999IN
0xBa32Eb9f...af37A0163
0.138 ETH0.0006596119.71657989
Public Mint148191972022-05-21 19:56:39992 days ago1653162999IN
0xBa32Eb9f...af37A0163
0.069 ETH0.0006593819.71657989
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
148339692022-05-24 5:32:59990 days ago1653370379
0xBa32Eb9f...af37A0163
0 ETH
148195692022-05-21 21:26:43992 days ago1653168403
0xBa32Eb9f...af37A0163
480.792 ETH
148192942022-05-21 20:20:32992 days ago1653164432
0xBa32Eb9f...af37A0163
0 ETH
148192622022-05-21 20:14:14992 days ago1653164054
0xBa32Eb9f...af37A0163
0 ETH
148192622022-05-21 20:14:14992 days ago1653164054
0xBa32Eb9f...af37A0163
0 ETH
148192062022-05-21 19:58:31992 days ago1653163111
0xBa32Eb9f...af37A0163
0 ETH
148192062022-05-21 19:58:31992 days ago1653163111
0xBa32Eb9f...af37A0163
0 ETH
148192002022-05-21 19:57:18992 days ago1653163038
0xBa32Eb9f...af37A0163
0 ETH
148191982022-05-21 19:56:52992 days ago1653163012
0xBa32Eb9f...af37A0163
0 ETH
148191982022-05-21 19:56:52992 days ago1653163012
0xBa32Eb9f...af37A0163
0 ETH
148191982022-05-21 19:56:52992 days ago1653163012
0xBa32Eb9f...af37A0163
0 ETH
148191982022-05-21 19:56:52992 days ago1653163012
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191972022-05-21 19:56:39992 days ago1653162999
0xBa32Eb9f...af37A0163
0 ETH
148191962022-05-21 19:56:27992 days ago1653162987
0xBa32Eb9f...af37A0163
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FlowerFamMinter

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 4 : FlowerFamMinter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

interface IFlowerFam {
    function ownerOf(uint256 tokenId) external view returns (address);
     function mint(
        address sender,
        uint256 amount
    ) external;
    function getLastMintedId() external view returns (uint256);
    function totalSupply() external view returns (uint256);
}

interface IFlowerFamMintPass {
    function balanceOf(address owner) external view returns (uint256);
    function userPassesLeft(address owner) external view returns (uint256);
    function redeemPasses(address owner, uint256 amount) external;
}

interface IFlowerFamEcoSystem {
    function mintAndStakeFlowerFamFlower(address staker, uint256 flowerFamId) external;
    function mintAndBatchStakeFlowerFamFlowers(address staker, uint256[] calldata flowerFamIds) external; 
}

contract FlowerFamMinter is Ownable {

    IFlowerFam public immutable flowerFam;
    IFlowerFamMintPass public immutable flowerFamMintPass;
    IFlowerFamEcoSystem public immutable flowerFamEcoSystem;

    uint256 public whitelistRound = 0;
    uint256 public giveawaysRound = 1;
    uint256 public raffleRound = 2;
    uint256 public publicRound = 3;

    uint256 public maxSupply = 6969;
    uint256 public price = 0.069 ether;

    uint256 public mintDuration = 69 minutes; /// @dev unix timestamp duration of each mint round.
    uint256 public startTimeWL = 1653148800 - 1 minutes; /// @dev unix timestamp of start time of whitelist mint (first round).
    uint256 public startTimeGiveaway = startTimeWL + mintDuration;
    uint256 public startTimeRaffle = startTimeGiveaway + mintDuration;
    uint256 public startTimePublic = startTimeRaffle + mintDuration;

    mapping(uint256 => uint256) public roundToMintLimits; /// @dev mint per wallet limit per round
    mapping(address => mapping(uint256 => uint256)) public roundToMinted; /// @dev number of flowers minted per wallet per round
    mapping(uint256 => bytes32) public roundToMerkleRoot; /// @dev maps each round to the merkle root containing wallets allowed to mint during that round

    constructor(
        address _flowerFamNFT,
        address _flowerFamMintPass,
        address _flowerFamEcoSystem
    ) Ownable() {
        flowerFam = IFlowerFam(_flowerFamNFT);
        flowerFamMintPass = IFlowerFamMintPass(_flowerFamMintPass);
        flowerFamEcoSystem = IFlowerFamEcoSystem(_flowerFamEcoSystem);

        roundToMintLimits[whitelistRound] = 2;
        roundToMintLimits[giveawaysRound] = 1;
        roundToMintLimits[raffleRound] = 2;
        roundToMintLimits[publicRound] = 6969;
    }

    receive() external payable {}

    function whitelistMint(uint256 amount, bytes32[] calldata proof, bool stake) external payable {
        require(block.timestamp >= startTimeWL, "Whitelist mint not started");
        require(block.timestamp < startTimeWL + mintDuration, "Whitelist mint closed");
        require(msg.value >= amount * price, "Not enough eth sent");

        uint256 mintAmount = amount;
        uint256 passesLeft = flowerFamMintPass.userPassesLeft(msg.sender); /// @dev passes left = mints left from passes ( each pass = 2 mints )

        if (passesLeft > 0) {
            uint256 amountFromPasses = passesLeft < mintAmount ? passesLeft : mintAmount;

            mintAmount -= amountFromPasses;
            flowerFamMintPass.redeemPasses(msg.sender, amountFromPasses);
            _mintFromMintPass(msg.sender, amountFromPasses);
        }
        
        if (mintAmount > 0)
            _merkleProofMint(msg.sender, mintAmount, proof, whitelistRound);
        
        if (stake)
            _stakeMintedFlowers(amount);
    }

    function giveawayMint(uint256 amount, bytes32[] calldata proof, bool stake) external payable {
        require(block.timestamp >= startTimeGiveaway, "Giveaway mint not started");
        require(block.timestamp < startTimeGiveaway + mintDuration, "Giveaway mint closed");
        require(msg.value >= amount * price, "Not enough eth sent");

        _merkleProofMint(msg.sender, amount, proof, giveawaysRound);

        if (stake)
            _stakeMintedFlowers(amount);
    }

    function raffleMint(uint256 amount, bytes32[] calldata proof, bool stake) external payable {
        require(block.timestamp >= startTimeRaffle, "Raffle mint not started");
        require(block.timestamp < startTimeRaffle + mintDuration, "Raffle mint closed");
        require(msg.value >= amount * price, "Not enough eth sent");
       
        _merkleProofMint(msg.sender, amount, proof, raffleRound);

        if (stake)
            _stakeMintedFlowers(amount);
    }

    function publicMint(uint256 amount, bool stake) external payable {
        require(block.timestamp >= startTimePublic, "Public mint not started");        
        require(flowerFam.totalSupply() + amount <= maxSupply, "Flower Fam NFT is sold out");
        require(msg.value >= amount * price, "Not enough eth sent");

        flowerFam.mint(msg.sender, amount);  

        if (stake)
            _stakeMintedFlowers(amount);      
    }

    function totalMintsOfUser(address user) external view returns (uint256) {
        return  roundToMinted[user][whitelistRound] + 
                roundToMinted[user][giveawaysRound] + 
                roundToMinted[user][raffleRound] + 
                roundToMinted[user][publicRound];
    }

    function getActiveRound() external view returns (uint256) {
        uint256 activeRound = 0;
        bool hasActiveRound = false;

        if(block.timestamp >= startTimeWL && block.timestamp < startTimeWL + mintDuration) {
            activeRound = 0;
            hasActiveRound = true;
        }

        if(block.timestamp >= startTimeGiveaway && block.timestamp < startTimeGiveaway + mintDuration) {
            activeRound = 1;
            hasActiveRound = true;
        }

        if(block.timestamp >= startTimeRaffle && block.timestamp < startTimeRaffle + mintDuration) {
            activeRound = 2;
            hasActiveRound = true;
        }

        if(block.timestamp >= startTimePublic && block.timestamp < startTimePublic + mintDuration) {
            activeRound = 3;
            hasActiveRound = true;
        }

        if(hasActiveRound) {
            return activeRound;
        }
        else {
            revert("No active round running");
        }
    }

    function getSupplyLeft() external view returns (uint256) {
        uint256 totalSupply = flowerFam.totalSupply();
        if (totalSupply > maxSupply)
            return 0;
        return maxSupply - totalSupply;
    }

    function getUserMintedAtRound(address sender, uint256 round) external view returns (uint256) {
        return roundToMintLimits[round] - roundToMinted[sender][round];
    }

    function setMintDuration(uint256 newduration) external onlyOwner {
        mintDuration = newduration;
    }

    function setStartTimeWL(uint256 newStartTimeWL) external onlyOwner {
        startTimeWL = newStartTimeWL;
    }

    function setStartTimeGiveaway(uint256 newStartTimeGiveaway) external onlyOwner {
        startTimeGiveaway = newStartTimeGiveaway;
    }

    function setStartTimeRaffle(uint256 newStartTimeRaffle) external onlyOwner {
        startTimeRaffle = newStartTimeRaffle;
    }

    function setStartTimeWaitlist(uint256 newStartTimeWaitlist) external onlyOwner {
        startTimePublic = newStartTimeWaitlist;
    }

    function setMintLimitOfRound(uint256 round, uint256 limit) external onlyOwner {
        roundToMintLimits[round] = limit;
    }

    function setMerkleRootOfRound(uint256 round, bytes32 root) external onlyOwner {
        roundToMerkleRoot[round] = root;
    }

    function setMaxSupply(uint256 newMaxSupply) external onlyOwner {
        maxSupply = newMaxSupply;
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        price = newPrice;
    }

    function withdraw(address _to) external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "Balance zero");
        require(_to != address(0), "Cannot transfer to null address");
        payable(_to).transfer(balance);
    }

    
    function _stakeMintedFlowers(uint256 amount) internal {
        uint256 lastMinted = flowerFam.getLastMintedId(); /// @dev the id of the flower last minted, if we use this in the same tx as minting then it gives us the last minted id we minted
        uint256 firstMinted = lastMinted + 1 - amount;  
        if (amount == 1)
            flowerFamEcoSystem.mintAndStakeFlowerFamFlower(msg.sender, lastMinted);
        else {
            uint256[] memory ids = new uint256[](amount);
            for (uint i = 0; i < amount; i++) {
                ids[i] = firstMinted + i;
            }
            flowerFamEcoSystem.mintAndBatchStakeFlowerFamFlowers(msg.sender, ids);
        }
    }

    function _merkleProofMint(address sender, uint256 amount, bytes32[] calldata proof, uint256 round) internal {
        require(amount > 0, "Invalid mint amount");
        
        bytes32 root = roundToMerkleRoot[round];
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(proof, root, leaf), "Sender not allowed to mint in this round");

        require(roundToMinted[sender][round] + amount <= roundToMintLimits[round], "Sender exceeds max mint limit of this round");
        require(flowerFam.totalSupply() + amount <= maxSupply, "Flower Fam NFT is sold out");

        roundToMinted[sender][round] += amount;

        flowerFam.mint(msg.sender, amount);
    }

    function _mintFromMintPass(address sender, uint256 amount) internal {
        require(amount > 0, "Invalid mint amount");
        require(flowerFam.totalSupply() + amount <= maxSupply, "Flower Fam NFT is sold out");
        
        flowerFam.mint(sender, amount);
    }
}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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);
    }
}

File 3 of 4 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 4 : Context.sol
// 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_flowerFamNFT","type":"address"},{"internalType":"address","name":"_flowerFamMintPass","type":"address"},{"internalType":"address","name":"_flowerFamEcoSystem","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"flowerFam","outputs":[{"internalType":"contract IFlowerFam","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flowerFamEcoSystem","outputs":[{"internalType":"contract IFlowerFamEcoSystem","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flowerFamMintPass","outputs":[{"internalType":"contract IFlowerFamMintPass","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getActiveRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSupplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"round","type":"uint256"}],"name":"getUserMintedAtRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"giveawayMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"giveawaysRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"raffleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"raffleRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"roundToMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"roundToMintLimits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"roundToMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"},{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRootOfRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newduration","type":"uint256"}],"name":"setMintDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"},{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setMintLimitOfRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTimeGiveaway","type":"uint256"}],"name":"setStartTimeGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTimeRaffle","type":"uint256"}],"name":"setStartTimeRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTimeWL","type":"uint256"}],"name":"setStartTimeWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTimeWaitlist","type":"uint256"}],"name":"setStartTimeWaitlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimeGiveaway","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTimePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTimeRaffle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTimeWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"totalMintsOfUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040526000600155600160025560026003556003600455611b3960055566f523226980800060065561102c6007556362890c4460085560075460085462000049919062000156565b60098190556007546200005c9162000156565b600a8190556007546200006f9162000156565b600b553480156200007f57600080fd5b506040516200238338038062002383833981016040819052620000a2916200019a565b620000ad3362000106565b6001600160a01b0392831660805290821660a0521660c052600180546000908152600c60205260408082206002908190558054835281832093909355600354825280822092909255600454815220611b399055620001e4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082198211156200017857634e487b7160e01b600052601160045260246000fd5b500190565b80516001600160a01b03811681146200019557600080fd5b919050565b600080600060608486031215620001b057600080fd5b620001bb846200017d565b9250620001cb602085016200017d565b9150620001db604085016200017d565b90509250925092565b60805160a05160c05161211b620002686000396000818161033101528181611bbe0152611ce301526000818161065e01528181610bdd0152610cad0152600081816102e5015281816110f60152818161123c015281816112b8015281816115f1015281816116ef0152818161194801528181611a740152611ae5015261211b6000f3fe6080604052600436106102895760003560e01c80638da5cb5b11610153578063bf57280a116100cb578063d5abeb011161007f578063f2fde38b11610064578063f2fde38b146106d5578063f32ccbb3146106f5578063ffa24b3b1461071557600080fd5b8063d5abeb01146106a9578063ea695014146106bf57600080fd5b8063cea255ad116100b0578063cea255ad1461064c578063d155a50d14610680578063d305a9501461069657600080fd5b8063bf57280a14610609578063ccd26a0a1461061f57600080fd5b8063a243d3b611610122578063a68c720611610107578063a68c7206146105a6578063a83ef515146105de578063b14a73cb146105f457600080fd5b8063a243d3b61461057d578063a40212991461059057600080fd5b80638da5cb5b146104fc57806391b7f5ed1461051a5780639ff5f45b1461053a578063a035b1fe1461056757600080fd5b806354ece75f1161020157806370ccb395116101b557806371a5b7f11161019a57806371a5b7f1146104a957806378357598146104c95780638a214a88146104dc57600080fd5b806370ccb39514610474578063715018a61461049457600080fd5b806360e8c102116101e657806360e8c102146104215780636d0a5d25146104345780636f8b44b01461045457600080fd5b806354ece75f146103e15780635553b93b1461040157600080fd5b80632c9e63061161025857806346dd18dd1161023d57806346dd18dd1461038b578063487418f9146103ab57806351cff8d9146103c157600080fd5b80632c9e6306146103535780632eacab9f1461037557600080fd5b806306c5b7a01461029557806314cea66a146102bd57806318099cbf146102d3578063214773b61461031f57600080fd5b3661029057005b600080fd5b3480156102a157600080fd5b506102aa61072b565b6040519081526020015b60405180910390f35b3480156102c957600080fd5b506102aa60085481565b3480156102df57600080fd5b506103077f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102b4565b34801561032b57600080fd5b506103077f000000000000000000000000000000000000000000000000000000000000000081565b34801561035f57600080fd5b5061037361036e366004611e44565b610840565b005b34801561038157600080fd5b506102aa60045481565b34801561039757600080fd5b506103736103a6366004611e66565b61089a565b3480156103b757600080fd5b506102aa600b5481565b3480156103cd57600080fd5b506103736103dc366004611e9b565b6108e7565b3480156103ed57600080fd5b506103736103fc366004611e66565b610a0e565b34801561040d57600080fd5b5061037361041c366004611e66565b610a5b565b61037361042f366004611ec6565b610aa8565b34801561044057600080fd5b506102aa61044f366004611e9b565b610d49565b34801561046057600080fd5b5061037361046f366004611e66565b610db3565b34801561048057600080fd5b5061037361048f366004611e66565b610e00565b3480156104a057600080fd5b50610373610e4d565b3480156104b557600080fd5b506103736104c4366004611e66565b610ea1565b6103736104d7366004611ec6565b610eee565b3480156104e857600080fd5b506102aa6104f7366004611f56565b611014565b34801561050857600080fd5b506000546001600160a01b0316610307565b34801561052657600080fd5b50610373610535366004611e66565b611051565b34801561054657600080fd5b506102aa610555366004611e66565b600c6020526000908152604090205481565b34801561057357600080fd5b506102aa60065481565b61037361058b366004611f80565b61109e565b34801561059c57600080fd5b506102aa60015481565b3480156105b257600080fd5b506102aa6105c1366004611f56565b600d60209081526000928352604080842090915290825290205481565b3480156105ea57600080fd5b506102aa60075481565b34801561060057600080fd5b506102aa6112b3565b34801561061557600080fd5b506102aa60095481565b34801561062b57600080fd5b506102aa61063a366004611e66565b600e6020526000908152604090205481565b34801561065857600080fd5b506103077f000000000000000000000000000000000000000000000000000000000000000081565b34801561068c57600080fd5b506102aa60035481565b6103736106a4366004611ec6565b611360565b3480156106b557600080fd5b506102aa60055481565b3480156106cb57600080fd5b506102aa600a5481565b3480156106e157600080fd5b506103736106f0366004611e9b565b611471565b34801561070157600080fd5b50610373610710366004611e44565b611541565b34801561072157600080fd5b506102aa60025481565b600080600090506000600854421015801561075457506007546008546107519190611fc2565b42105b1561076157506000905060015b6009544210158015610781575060075460095461077e9190611fc2565b42105b1561078d575060019050805b600a5442101580156107ad5750600754600a546107aa9190611fc2565b42105b156107ba57506002905060015b600b5442101580156107da5750600754600b546107d79190611fc2565b42105b156107e757506003905060015b80156107f35750919050565b60405162461bcd60e51b815260206004820152601760248201527f4e6f2061637469766520726f756e642072756e6e696e6700000000000000000060448201526064015b60405180910390fd5b6000546001600160a01b031633146108885760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b6000918252600c602052604090912055565b6000546001600160a01b031633146108e25760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600755565b6000546001600160a01b0316331461092f5760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b478061097d5760405162461bcd60e51b815260206004820152600c60248201527f42616c616e6365207a65726f00000000000000000000000000000000000000006044820152606401610837565b6001600160a01b0382166109d35760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207472616e7366657220746f206e756c6c2061646472657373006044820152606401610837565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610a09573d6000803e3d6000fd5b505050565b6000546001600160a01b03163314610a565760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600b55565b6000546001600160a01b03163314610aa35760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600a55565b600854421015610afa5760405162461bcd60e51b815260206004820152601a60248201527f57686974656c697374206d696e74206e6f7420737461727465640000000000006044820152606401610837565b600754600854610b0a9190611fc2565b4210610b585760405162461bcd60e51b815260206004820152601560248201527f57686974656c697374206d696e7420636c6f73656400000000000000000000006044820152606401610837565b600654610b659085611fda565b341015610baa5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b6044820152606401610837565b6040517f2281d5a700000000000000000000000000000000000000000000000000000000815233600482015284906000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632281d5a790602401602060405180830381865afa158015610c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c509190611ff9565b90508015610d1d576000828210610c675782610c69565b815b9050610c758184612012565b6040517faed958c5000000000000000000000000000000000000000000000000000000008152336004820152602481018390529093507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063aed958c590604401600060405180830381600087803b158015610cf957600080fd5b505af1158015610d0d573d6000803e3d6000fd5b50505050610d1b338261159b565b505b8115610d3257610d3233838787600154611747565b8215610d4157610d4186611ae1565b505050505050565b6001600160a01b0381166000908152600d6020908152604080832060045484529091528082205460035483528183205460025484528284205460015485529284205491929091610d999190611fc2565b610da39190611fc2565b610dad9190611fc2565b92915050565b6000546001600160a01b03163314610dfb5760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600555565b6000546001600160a01b03163314610e485760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600955565b6000546001600160a01b03163314610e955760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b610e9f6000611d52565b565b6000546001600160a01b03163314610ee95760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600855565b600a54421015610f405760405162461bcd60e51b815260206004820152601760248201527f526166666c65206d696e74206e6f7420737461727465640000000000000000006044820152606401610837565b600754600a54610f509190611fc2565b4210610f9e5760405162461bcd60e51b815260206004820152601260248201527f526166666c65206d696e7420636c6f73656400000000000000000000000000006044820152606401610837565b600654610fab9085611fda565b341015610ff05760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b6044820152606401610837565b610fff33858585600354611747565b801561100e5761100e84611ae1565b50505050565b6001600160a01b0382166000908152600d60209081526040808320848452825280832054600c90925282205461104a9190612012565b9392505050565b6000546001600160a01b031633146110995760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600655565b600b544210156110f05760405162461bcd60e51b815260206004820152601760248201527f5075626c6963206d696e74206e6f7420737461727465640000000000000000006044820152606401610837565b600554827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611152573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111769190611ff9565b6111809190611fc2565b11156111ce5760405162461bcd60e51b815260206004820152601a60248201527f466c6f7765722046616d204e465420697320736f6c64206f75740000000000006044820152606401610837565b6006546111db9083611fda565b3410156112205760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b6044820152606401610837565b6040516340c10f1960e01b8152336004820152602481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c10f1990604401600060405180830381600087803b15801561128857600080fd5b505af115801561129c573d6000803e3d6000fd5b5050505080156112af576112af82611ae1565b5050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113389190611ff9565b905060055481111561134c57600091505090565b8060055461135a9190612012565b91505090565b6009544210156113b25760405162461bcd60e51b815260206004820152601960248201527f4769766561776179206d696e74206e6f742073746172746564000000000000006044820152606401610837565b6007546009546113c29190611fc2565b42106114105760405162461bcd60e51b815260206004820152601460248201527f4769766561776179206d696e7420636c6f7365640000000000000000000000006044820152606401610837565b60065461141d9085611fda565b3410156114625760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b6044820152606401610837565b610fff33858585600254611747565b6000546001600160a01b031633146114b95760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b6001600160a01b0381166115355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610837565b61153e81611d52565b50565b6000546001600160a01b031633146115895760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b6000918252600e602052604090912055565b600081116115eb5760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206d696e7420616d6f756e74000000000000000000000000006044820152606401610837565b600554817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116719190611ff9565b61167b9190611fc2565b11156116c95760405162461bcd60e51b815260206004820152601a60248201527f466c6f7765722046616d204e465420697320736f6c64206f75740000000000006044820152606401610837565b6040516340c10f1960e01b81526001600160a01b038381166004830152602482018390527f000000000000000000000000000000000000000000000000000000000000000016906340c10f1990604401600060405180830381600087803b15801561173357600080fd5b505af1158015610d41573d6000803e3d6000fd5b600084116117975760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206d696e7420616d6f756e74000000000000000000000000006044820152606401610837565b6000818152600e602090815260408083205490516bffffffffffffffffffffffff193360601b16928101929092529190603401604051602081830303815290604052805190602001209050611822858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250869250859150611dba9050565b6118945760405162461bcd60e51b815260206004820152602860248201527f53656e646572206e6f7420616c6c6f77656420746f206d696e7420696e20746860448201527f697320726f756e640000000000000000000000000000000000000000000000006064820152608401610837565b6000838152600c60209081526040808320546001600160a01b038b168452600d8352818420878552909252909120546118ce908890611fc2565b11156119425760405162461bcd60e51b815260206004820152602b60248201527f53656e6465722065786365656473206d6178206d696e74206c696d6974206f6660448201527f207468697320726f756e640000000000000000000000000000000000000000006064820152608401610837565b600554867f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c89190611ff9565b6119d29190611fc2565b1115611a205760405162461bcd60e51b815260206004820152601a60248201527f466c6f7765722046616d204e465420697320736f6c64206f75740000000000006044820152606401610837565b6001600160a01b0387166000908152600d6020908152604080832086845290915281208054889290611a53908490611fc2565b90915550506040516340c10f1960e01b8152336004820152602481018790527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c10f1990604401600060405180830381600087803b158015611ac057600080fd5b505af1158015611ad4573d6000803e3d6000fd5b5050505050505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663410d77a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b659190611ff9565b9050600082611b75836001611fc2565b611b7f9190612012565b905082600103611c27576040517f3698b158000000000000000000000000000000000000000000000000000000008152336004820152602481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690633698b15890604401600060405180830381600087803b158015611c0a57600080fd5b505af1158015611c1e573d6000803e3d6000fd5b50505050505050565b60008367ffffffffffffffff811115611c4257611c42612029565b604051908082528060200260200182016040528015611c6b578160200160208202803683370190505b50905060005b84811015611cb257611c838184611fc2565b828281518110611c9557611c9561203f565b602090810291909101015280611caa81612055565b915050611c71565b506040517f494921c10000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063494921c190611d1a903390859060040161206e565b600060405180830381600087803b158015611d3457600080fd5b505af1158015611d48573d6000803e3d6000fd5b5050505050505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082611dc78584611dd0565b14949350505050565b600081815b8451811015611e3c576000858281518110611df257611df261203f565b60200260200101519050808311611e185760008381526020829052604090209250611e29565b600081815260208490526040902092505b5080611e3481612055565b915050611dd5565b509392505050565b60008060408385031215611e5757600080fd5b50508035926020909101359150565b600060208284031215611e7857600080fd5b5035919050565b80356001600160a01b0381168114611e9657600080fd5b919050565b600060208284031215611ead57600080fd5b61104a82611e7f565b80358015158114611e9657600080fd5b60008060008060608587031215611edc57600080fd5b84359350602085013567ffffffffffffffff80821115611efb57600080fd5b818701915087601f830112611f0f57600080fd5b813581811115611f1e57600080fd5b8860208260051b8501011115611f3357600080fd5b602083019550809450505050611f4b60408601611eb6565b905092959194509250565b60008060408385031215611f6957600080fd5b611f7283611e7f565b946020939093013593505050565b60008060408385031215611f9357600080fd5b82359150611fa360208401611eb6565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611fd557611fd5611fac565b500190565b6000816000190483118215151615611ff457611ff4611fac565b500290565b60006020828403121561200b57600080fd5b5051919050565b60008282101561202457612024611fac565b500390565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006001820161206757612067611fac565b5060010190565b6000604082016001600160a01b03851683526020604081850152818551808452606086019150828701935060005b818110156120b85784518352938301939183019160010161209c565b509097965050505050505056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212200c1089f3e76a510f99c829164a088f8a323eadf8d39494a00b7d7fd3dd3426fa64736f6c634300080d0033000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac000000000000000000000000f7536ed6ddd7dcf749dddae0e8fcb3d9a3f665ee000000000000000000000000f36f33ca39985945c3042646e013b46ff3b1d5f5

Deployed Bytecode

0x6080604052600436106102895760003560e01c80638da5cb5b11610153578063bf57280a116100cb578063d5abeb011161007f578063f2fde38b11610064578063f2fde38b146106d5578063f32ccbb3146106f5578063ffa24b3b1461071557600080fd5b8063d5abeb01146106a9578063ea695014146106bf57600080fd5b8063cea255ad116100b0578063cea255ad1461064c578063d155a50d14610680578063d305a9501461069657600080fd5b8063bf57280a14610609578063ccd26a0a1461061f57600080fd5b8063a243d3b611610122578063a68c720611610107578063a68c7206146105a6578063a83ef515146105de578063b14a73cb146105f457600080fd5b8063a243d3b61461057d578063a40212991461059057600080fd5b80638da5cb5b146104fc57806391b7f5ed1461051a5780639ff5f45b1461053a578063a035b1fe1461056757600080fd5b806354ece75f1161020157806370ccb395116101b557806371a5b7f11161019a57806371a5b7f1146104a957806378357598146104c95780638a214a88146104dc57600080fd5b806370ccb39514610474578063715018a61461049457600080fd5b806360e8c102116101e657806360e8c102146104215780636d0a5d25146104345780636f8b44b01461045457600080fd5b806354ece75f146103e15780635553b93b1461040157600080fd5b80632c9e63061161025857806346dd18dd1161023d57806346dd18dd1461038b578063487418f9146103ab57806351cff8d9146103c157600080fd5b80632c9e6306146103535780632eacab9f1461037557600080fd5b806306c5b7a01461029557806314cea66a146102bd57806318099cbf146102d3578063214773b61461031f57600080fd5b3661029057005b600080fd5b3480156102a157600080fd5b506102aa61072b565b6040519081526020015b60405180910390f35b3480156102c957600080fd5b506102aa60085481565b3480156102df57600080fd5b506103077f000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac81565b6040516001600160a01b0390911681526020016102b4565b34801561032b57600080fd5b506103077f000000000000000000000000f36f33ca39985945c3042646e013b46ff3b1d5f581565b34801561035f57600080fd5b5061037361036e366004611e44565b610840565b005b34801561038157600080fd5b506102aa60045481565b34801561039757600080fd5b506103736103a6366004611e66565b61089a565b3480156103b757600080fd5b506102aa600b5481565b3480156103cd57600080fd5b506103736103dc366004611e9b565b6108e7565b3480156103ed57600080fd5b506103736103fc366004611e66565b610a0e565b34801561040d57600080fd5b5061037361041c366004611e66565b610a5b565b61037361042f366004611ec6565b610aa8565b34801561044057600080fd5b506102aa61044f366004611e9b565b610d49565b34801561046057600080fd5b5061037361046f366004611e66565b610db3565b34801561048057600080fd5b5061037361048f366004611e66565b610e00565b3480156104a057600080fd5b50610373610e4d565b3480156104b557600080fd5b506103736104c4366004611e66565b610ea1565b6103736104d7366004611ec6565b610eee565b3480156104e857600080fd5b506102aa6104f7366004611f56565b611014565b34801561050857600080fd5b506000546001600160a01b0316610307565b34801561052657600080fd5b50610373610535366004611e66565b611051565b34801561054657600080fd5b506102aa610555366004611e66565b600c6020526000908152604090205481565b34801561057357600080fd5b506102aa60065481565b61037361058b366004611f80565b61109e565b34801561059c57600080fd5b506102aa60015481565b3480156105b257600080fd5b506102aa6105c1366004611f56565b600d60209081526000928352604080842090915290825290205481565b3480156105ea57600080fd5b506102aa60075481565b34801561060057600080fd5b506102aa6112b3565b34801561061557600080fd5b506102aa60095481565b34801561062b57600080fd5b506102aa61063a366004611e66565b600e6020526000908152604090205481565b34801561065857600080fd5b506103077f000000000000000000000000f7536ed6ddd7dcf749dddae0e8fcb3d9a3f665ee81565b34801561068c57600080fd5b506102aa60035481565b6103736106a4366004611ec6565b611360565b3480156106b557600080fd5b506102aa60055481565b3480156106cb57600080fd5b506102aa600a5481565b3480156106e157600080fd5b506103736106f0366004611e9b565b611471565b34801561070157600080fd5b50610373610710366004611e44565b611541565b34801561072157600080fd5b506102aa60025481565b600080600090506000600854421015801561075457506007546008546107519190611fc2565b42105b1561076157506000905060015b6009544210158015610781575060075460095461077e9190611fc2565b42105b1561078d575060019050805b600a5442101580156107ad5750600754600a546107aa9190611fc2565b42105b156107ba57506002905060015b600b5442101580156107da5750600754600b546107d79190611fc2565b42105b156107e757506003905060015b80156107f35750919050565b60405162461bcd60e51b815260206004820152601760248201527f4e6f2061637469766520726f756e642072756e6e696e6700000000000000000060448201526064015b60405180910390fd5b6000546001600160a01b031633146108885760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b6000918252600c602052604090912055565b6000546001600160a01b031633146108e25760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600755565b6000546001600160a01b0316331461092f5760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b478061097d5760405162461bcd60e51b815260206004820152600c60248201527f42616c616e6365207a65726f00000000000000000000000000000000000000006044820152606401610837565b6001600160a01b0382166109d35760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207472616e7366657220746f206e756c6c2061646472657373006044820152606401610837565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610a09573d6000803e3d6000fd5b505050565b6000546001600160a01b03163314610a565760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600b55565b6000546001600160a01b03163314610aa35760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600a55565b600854421015610afa5760405162461bcd60e51b815260206004820152601a60248201527f57686974656c697374206d696e74206e6f7420737461727465640000000000006044820152606401610837565b600754600854610b0a9190611fc2565b4210610b585760405162461bcd60e51b815260206004820152601560248201527f57686974656c697374206d696e7420636c6f73656400000000000000000000006044820152606401610837565b600654610b659085611fda565b341015610baa5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b6044820152606401610837565b6040517f2281d5a700000000000000000000000000000000000000000000000000000000815233600482015284906000907f000000000000000000000000f7536ed6ddd7dcf749dddae0e8fcb3d9a3f665ee6001600160a01b031690632281d5a790602401602060405180830381865afa158015610c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c509190611ff9565b90508015610d1d576000828210610c675782610c69565b815b9050610c758184612012565b6040517faed958c5000000000000000000000000000000000000000000000000000000008152336004820152602481018390529093507f000000000000000000000000f7536ed6ddd7dcf749dddae0e8fcb3d9a3f665ee6001600160a01b03169063aed958c590604401600060405180830381600087803b158015610cf957600080fd5b505af1158015610d0d573d6000803e3d6000fd5b50505050610d1b338261159b565b505b8115610d3257610d3233838787600154611747565b8215610d4157610d4186611ae1565b505050505050565b6001600160a01b0381166000908152600d6020908152604080832060045484529091528082205460035483528183205460025484528284205460015485529284205491929091610d999190611fc2565b610da39190611fc2565b610dad9190611fc2565b92915050565b6000546001600160a01b03163314610dfb5760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600555565b6000546001600160a01b03163314610e485760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600955565b6000546001600160a01b03163314610e955760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b610e9f6000611d52565b565b6000546001600160a01b03163314610ee95760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600855565b600a54421015610f405760405162461bcd60e51b815260206004820152601760248201527f526166666c65206d696e74206e6f7420737461727465640000000000000000006044820152606401610837565b600754600a54610f509190611fc2565b4210610f9e5760405162461bcd60e51b815260206004820152601260248201527f526166666c65206d696e7420636c6f73656400000000000000000000000000006044820152606401610837565b600654610fab9085611fda565b341015610ff05760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b6044820152606401610837565b610fff33858585600354611747565b801561100e5761100e84611ae1565b50505050565b6001600160a01b0382166000908152600d60209081526040808320848452825280832054600c90925282205461104a9190612012565b9392505050565b6000546001600160a01b031633146110995760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b600655565b600b544210156110f05760405162461bcd60e51b815260206004820152601760248201527f5075626c6963206d696e74206e6f7420737461727465640000000000000000006044820152606401610837565b600554827f000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611152573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111769190611ff9565b6111809190611fc2565b11156111ce5760405162461bcd60e51b815260206004820152601a60248201527f466c6f7765722046616d204e465420697320736f6c64206f75740000000000006044820152606401610837565b6006546111db9083611fda565b3410156112205760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b6044820152606401610837565b6040516340c10f1960e01b8152336004820152602481018390527f000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac6001600160a01b0316906340c10f1990604401600060405180830381600087803b15801561128857600080fd5b505af115801561129c573d6000803e3d6000fd5b5050505080156112af576112af82611ae1565b5050565b6000807f000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113389190611ff9565b905060055481111561134c57600091505090565b8060055461135a9190612012565b91505090565b6009544210156113b25760405162461bcd60e51b815260206004820152601960248201527f4769766561776179206d696e74206e6f742073746172746564000000000000006044820152606401610837565b6007546009546113c29190611fc2565b42106114105760405162461bcd60e51b815260206004820152601460248201527f4769766561776179206d696e7420636c6f7365640000000000000000000000006044820152606401610837565b60065461141d9085611fda565b3410156114625760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b6044820152606401610837565b610fff33858585600254611747565b6000546001600160a01b031633146114b95760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b6001600160a01b0381166115355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610837565b61153e81611d52565b50565b6000546001600160a01b031633146115895760405162461bcd60e51b815260206004820181905260248201526000805160206120c68339815191526044820152606401610837565b6000918252600e602052604090912055565b600081116115eb5760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206d696e7420616d6f756e74000000000000000000000000006044820152606401610837565b600554817f000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116719190611ff9565b61167b9190611fc2565b11156116c95760405162461bcd60e51b815260206004820152601a60248201527f466c6f7765722046616d204e465420697320736f6c64206f75740000000000006044820152606401610837565b6040516340c10f1960e01b81526001600160a01b038381166004830152602482018390527f000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac16906340c10f1990604401600060405180830381600087803b15801561173357600080fd5b505af1158015610d41573d6000803e3d6000fd5b600084116117975760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206d696e7420616d6f756e74000000000000000000000000006044820152606401610837565b6000818152600e602090815260408083205490516bffffffffffffffffffffffff193360601b16928101929092529190603401604051602081830303815290604052805190602001209050611822858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250869250859150611dba9050565b6118945760405162461bcd60e51b815260206004820152602860248201527f53656e646572206e6f7420616c6c6f77656420746f206d696e7420696e20746860448201527f697320726f756e640000000000000000000000000000000000000000000000006064820152608401610837565b6000838152600c60209081526040808320546001600160a01b038b168452600d8352818420878552909252909120546118ce908890611fc2565b11156119425760405162461bcd60e51b815260206004820152602b60248201527f53656e6465722065786365656473206d6178206d696e74206c696d6974206f6660448201527f207468697320726f756e640000000000000000000000000000000000000000006064820152608401610837565b600554867f000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c89190611ff9565b6119d29190611fc2565b1115611a205760405162461bcd60e51b815260206004820152601a60248201527f466c6f7765722046616d204e465420697320736f6c64206f75740000000000006044820152606401610837565b6001600160a01b0387166000908152600d6020908152604080832086845290915281208054889290611a53908490611fc2565b90915550506040516340c10f1960e01b8152336004820152602481018790527f000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac6001600160a01b0316906340c10f1990604401600060405180830381600087803b158015611ac057600080fd5b505af1158015611ad4573d6000803e3d6000fd5b5050505050505050505050565b60007f000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac6001600160a01b031663410d77a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b659190611ff9565b9050600082611b75836001611fc2565b611b7f9190612012565b905082600103611c27576040517f3698b158000000000000000000000000000000000000000000000000000000008152336004820152602481018390527f000000000000000000000000f36f33ca39985945c3042646e013b46ff3b1d5f56001600160a01b031690633698b15890604401600060405180830381600087803b158015611c0a57600080fd5b505af1158015611c1e573d6000803e3d6000fd5b50505050505050565b60008367ffffffffffffffff811115611c4257611c42612029565b604051908082528060200260200182016040528015611c6b578160200160208202803683370190505b50905060005b84811015611cb257611c838184611fc2565b828281518110611c9557611c9561203f565b602090810291909101015280611caa81612055565b915050611c71565b506040517f494921c10000000000000000000000000000000000000000000000000000000081526001600160a01b037f000000000000000000000000f36f33ca39985945c3042646e013b46ff3b1d5f5169063494921c190611d1a903390859060040161206e565b600060405180830381600087803b158015611d3457600080fd5b505af1158015611d48573d6000803e3d6000fd5b5050505050505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082611dc78584611dd0565b14949350505050565b600081815b8451811015611e3c576000858281518110611df257611df261203f565b60200260200101519050808311611e185760008381526020829052604090209250611e29565b600081815260208490526040902092505b5080611e3481612055565b915050611dd5565b509392505050565b60008060408385031215611e5757600080fd5b50508035926020909101359150565b600060208284031215611e7857600080fd5b5035919050565b80356001600160a01b0381168114611e9657600080fd5b919050565b600060208284031215611ead57600080fd5b61104a82611e7f565b80358015158114611e9657600080fd5b60008060008060608587031215611edc57600080fd5b84359350602085013567ffffffffffffffff80821115611efb57600080fd5b818701915087601f830112611f0f57600080fd5b813581811115611f1e57600080fd5b8860208260051b8501011115611f3357600080fd5b602083019550809450505050611f4b60408601611eb6565b905092959194509250565b60008060408385031215611f6957600080fd5b611f7283611e7f565b946020939093013593505050565b60008060408385031215611f9357600080fd5b82359150611fa360208401611eb6565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611fd557611fd5611fac565b500190565b6000816000190483118215151615611ff457611ff4611fac565b500290565b60006020828403121561200b57600080fd5b5051919050565b60008282101561202457612024611fac565b500390565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006001820161206757612067611fac565b5060010190565b6000604082016001600160a01b03851683526020604081850152818551808452606086019150828701935060005b818110156120b85784518352938301939183019160010161209c565b509097965050505050505056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212200c1089f3e76a510f99c829164a088f8a323eadf8d39494a00b7d7fd3dd3426fa64736f6c634300080d0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac000000000000000000000000f7536ed6ddd7dcf749dddae0e8fcb3d9a3f665ee000000000000000000000000f36f33ca39985945c3042646e013b46ff3b1d5f5

-----Decoded View---------------
Arg [0] : _flowerFamNFT (address): 0xcAACE84B015330C0Ab4BD003F6fa0B84ec6C64ac
Arg [1] : _flowerFamMintPass (address): 0xF7536ed6DDD7dcf749DddAe0E8FCb3d9a3f665Ee
Arg [2] : _flowerFamEcoSystem (address): 0xf36F33ca39985945c3042646e013b46ff3B1d5F5

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000caace84b015330c0ab4bd003f6fa0b84ec6c64ac
Arg [1] : 000000000000000000000000f7536ed6ddd7dcf749dddae0e8fcb3d9a3f665ee
Arg [2] : 000000000000000000000000f36f33ca39985945c3042646e013b46ff3b1d5f5


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.