ETH Price: $3,399.82 (+3.18%)

Contract

0xd9CC62eCf0223bd45737A9dbe8B9AC6bbaC8a13F
 

Overview

ETH Balance

5 ETH

Eth Value

$16,999.11 (@ $3,399.82/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Redeem Give Away145402192022-04-07 18:02:33961 days ago1649354553IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0071010370.55314698
Set Merkle Root145330792022-04-06 15:21:03962 days ago1649258463IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0021392777.92801565
Set Give Away Me...145330772022-04-06 15:20:44962 days ago1649258444IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0023778378.71529485
Redeem Tickets143993302022-03-16 18:50:14983 days ago1647456614IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0058871850.81991846
Redeem Tickets143862082022-03-14 17:59:23985 days ago1647280763IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0068900358.29968454
Redeem Give Away143745292022-03-12 22:02:43986 days ago1647122563IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0022518522.57639537
Redeem Tickets143492082022-03-08 23:52:16990 days ago1646783536IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0047807940.45245023
Set Merkle Root143446122022-03-08 6:31:18991 days ago1646721078IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0009563420.19641361
Set Give Away Me...143446092022-03-08 6:30:44991 days ago1646721044IN
0xd9CC62eC...bbaC8a13F
0 ETH0.000685322.68612756
Redeem Tickets142958512022-02-28 16:58:21999 days ago1646067501IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0081538366.36633417
Redeem Tickets142901822022-02-27 19:43:471000 days ago1645991027IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0094533476.94345164
Redeem Tickets142839162022-02-26 20:33:281000 days ago1645907608IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0052632745.4341547
Redeem Tickets142709502022-02-24 20:25:041002 days ago1645734304IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0119869699.45869022
Redeem Tickets142707662022-02-24 19:43:011003 days ago1645731781IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0083567972.13837029
Redeem Tickets142705522022-02-24 18:54:211003 days ago1645728861IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0092383879.74851521
Set Merkle Root142620662022-02-23 11:29:571004 days ago1645615797IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0010711242.72866316
Set Give Away Me...142620642022-02-23 11:29:321004 days ago1645615772IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0012787142.34727181
Redeem Tickets142588912022-02-22 23:34:471004 days ago1645572887IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0094965881.97735003
Redeem Give Away142581582022-02-22 21:03:471004 days ago1645563827IN
0xd9CC62eC...bbaC8a13F
0 ETH0.01070245103.61060146
Redeem Give Away142576732022-02-22 19:13:171005 days ago1645557197IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0030009998.15523227
Redeem Give Away142576732022-02-22 19:13:171005 days ago1645557197IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0030162898.65523227
Redeem Give Away142576732022-02-22 19:13:171005 days ago1645557197IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0030009998.15523227
Redeem Give Away142576732022-02-22 19:13:171005 days ago1645557197IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0030009998.15523227
Redeem Give Away142576732022-02-22 19:13:171005 days ago1645557197IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0118183898.15523227
Redeem Tickets142551382022-02-22 9:49:291005 days ago1645523369IN
0xd9CC62eC...bbaC8a13F
0 ETH0.0014730545.22594073
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
141804222022-02-10 20:17:251017 days ago1644524245
0xd9CC62eC...bbaC8a13F
1,380 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SlotieJrTicketSale

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : SlotieJrTicketSale.sol
// SPDX-License-Identifier: MIT
// Developed by KG Technologies (https://kgtechnologies.io)

pragma solidity 0.8.11;

/**
   _____ _      ____ _______ _____ ______        _ _    _ _   _ _____ ____  _____     _____         _      ______ 
  / ____| |    / __ \__   __|_   _|  ____|      | | |  | | \ | |_   _/ __ \|  __ \   / ____|  /\   | |    |  ____|
 | (___ | |   | |  | | | |    | | | |__         | | |  | |  \| | | || |  | | |__) | | (___   /  \  | |    | |__   
  \___ \| |   | |  | | | |    | | |  __|    _   | | |  | | . ` | | || |  | |  _  /   \___ \ / /\ \ | |    |  __|  
  ____) | |___| |__| | | |   _| |_| |____  | |__| | |__| | |\  |_| || |__| | | \ \   ____) / ____ \| |____| |____ 
 |_____/|______\____/  |_|  |_____|______|  \____/ \____/|_| \_|_____\____/|_|  \_\ |_____/_/    \_\______|______|                                                                                                                                                                                                                                                                                                         
                             
 */

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

/**
 * @notice Represents Slotie Junior Smart Contract
 */
contract ISlotieJr {
    /** 
     * @dev ERC-721 INTERFACE 
     */
    function ownerOf(uint256 tokenId) public view virtual returns (address) {}

    /** 
     * @dev CUSTOM INTERFACE 
     */
    function mintTo(uint256 amount, address _to) external {}
    function maxMintPerTransaction() public returns (uint256) {}
}

/**
 * @title SlotieJrTicketSale.
 *
 * @author KG Technologies (https://kgtechnologies.io).
 *
 * @notice This Smart Contract can be used to sell a fixed amount of tickets where some of them are 
 * sold to permissioned wallets and the others are sold to the general public. 
 * The tickets can then be used to mint a corresponding amount of NFTs.
 *
 * @dev The primary mode of verifying permissioned actions is through Merkle Proofs
 * which are generated off-chain.
 */
contract SlotieJrTicketSale is Ownable {

    /** 
     * @notice The Smart Contract of Slotie Junior 
     * @dev ERC-721 Smart Contract 
     */
    ISlotieJr public immutable juniorNFT;
    
    /** 
     * @dev MINT DATA 
     */
    uint256 public maxSupplyPermissioned = 1050;
    uint256 public boughtPermissioned = 1;
    uint256 public pricePermissioned = 0.2 ether;

    uint256 public phaseOneStartTime = 1644519600;
    uint256 public phaseOneDuration = 1 hours;
    uint256 public phaseTwoStartTime = 1644523200;
    uint256 public phaseTwoDuration = 5 minutes;

    uint256 public maxSupplyOpen = 3900;
    uint256 public boughtOpen = 1;
    uint256 public limitOpen = 10;
    uint256 public priceOpen = 0.3 ether;
    uint256 public startTimeOpen = 1644523500;
    
    mapping(address => uint256) public addressToTicketsOpen;
    mapping(address => mapping(uint256 => uint256)) public addressToTicketsPermissioned;
    mapping(address => uint256) public addressToMints;    

    /// @dev Initial value is randomly generated from https://www.random.org/
    bytes32 public merkleRoot = 0xe788a23866da0e903934d723c44efe9da3f7265d053a8fed5c1036a78665f9c1;

    /**
     * @dev GIVEAWAY 
     */
    uint256 public maxSupplyGiveaway = 50;
    uint256 public giveAwayRedeemed = 1;
    mapping(address => uint256) public addressToGiveawayRedeemed;
    bytes32 public giveAwayMerkleRoot = "";

    /**
     * @dev Events
     */
    event ReceivedEther(address indexed sender, uint256 indexed amount);
    event Purchase(address indexed buyer, uint256 indexed amount, bool indexed permissioned);
    event RedeemTickets(address indexed redeemer, uint256 amount);
    event RedeemGiveAway(address indexed redeemer, uint256 amount);
    event setMaxSupplyPermissionedEvent(uint256 indexed maxSupply);
    event setMaxSupplyOpenEvent(uint256 indexed maxSupply);
    event setLimitOpenEvent(uint256 indexed limit);
    event setPriceOpenEvent(uint256 indexed price);
    event setMerkleRootEvent(bytes32 indexed merkleRoot);
    event setGiveAwayMerkleRootEvent(bytes32 indexed merkleRoot);
    event setGiveAwayMaxSupplyEvent(uint256 indexed newSupply);
    event setPublicSaleStateEvent(bool indexed newState);
    event setPricePermissionedEvent(uint256 indexed price);
    event setPhaseOneStartTimeEvent(uint256 indexed time);
    event setPhaseOneDurationEvent(uint256 indexed time);
    event setPhaseTwoStartTimeEvent(uint256 indexed time);
    event setPhaseTwoDurationEvent(uint256 indexed time);
    event setStartTimeOpenEvent(uint256 indexed time);
    event WithdrawAllEvent(address indexed to, uint256 amount);

    constructor(
        address _slotieJuniorAddress
    ) Ownable() {
        juniorNFT = ISlotieJr(_slotieJuniorAddress);
    }
 
    /**
     * @dev SALE
     */

    /**
     * @notice Validates the sale data for each phase per user
     *
     * @dev For each phase validates that the time is correct,
     * that the ether supplied is correct and that the purchase 
     * amount doesn't exceed the max amount
     *
     * @param amount. The amount the user want's to purchase
     * @param phase. The sale phase of the user
     */
    function validatePhaseSpecificPurchase(uint256 amount, uint256 phase) internal {
        if (phase == 1) {
            require(block.timestamp >= phaseOneStartTime, "PHASE ONE SALE HASN'T STARTED YET");
            require(block.timestamp < phaseOneStartTime + phaseOneDuration, "PHASE ONE SALE IS CLOSED");    
            require(msg.value >= pricePermissioned * amount, "ETHER SENT NOT CORRECT");
            require(boughtPermissioned + amount - 1 <= maxSupplyPermissioned, "BUY AMOUNT GOES OVER MAX SUPPLY");

        } else if (phase == 2) {
            require(block.timestamp >= phaseTwoStartTime, "PHASE TWO SALE HASN'T STARTED YET");
            require(block.timestamp < phaseTwoStartTime + phaseTwoDuration, "PHASE TWO SALE IS CLOSED");    
            require(msg.value >= pricePermissioned * amount, "ETHER SENT NOT CORRECT");
            require(boughtPermissioned + amount - 1 <= maxSupplyPermissioned, "BUY AMOUNT GOES OVER MAX SUPPLY");

        } else if (phase == 3) {
            require(block.timestamp >= startTimeOpen, "PHASE ONE SALE HASN'T STARTED YET"); 
            require(msg.value >= priceOpen * amount, "ETHER SENT NOT CORRECT");
            require(boughtOpen + amount - 1 <= maxSupplyOpen, "BUY AMOUNT GOES OVER MAX SUPPLY");

        } else {
            revert("INCORRECT PHASE");
        }
    }

    /**
     * @notice Function to buy one or more tickets.
     * @dev First the Merkle Proof is verified.
     * Then the buy is verified with the data embedded in the Merkle Proof.
     * Finally the tickets are bought to the user's wallet.
     *
     * @param amount. The amount of tickets to buy.     
     * @param buyMaxAmount. The max amount the user can buy.
     * @param phase. The permissioned sale phase.
     * @param proof. The Merkle Proof of the user.
     */
    function buyPermissioned(uint256 amount, uint256 buyMaxAmount, uint256 phase, bytes32[] calldata proof) 
        external 
        payable {

        /// @dev Verifies Merkle Proof submitted by user.
        /// @dev All mint data is embedded in the merkle proof.

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, buyMaxAmount, phase));
        require(MerkleProof.verify(proof, merkleRoot, leaf), "INVALID PROOF");

        /// @dev Verify that user can perform permissioned sale based on the provided parameters.

        require(address(juniorNFT) != address(0), "JUNIOR NFT SMART CONTRACT NOT SET");
        require(merkleRoot != "", "PERMISSIONED SALE CLOSED");
        require(phase > 0 && phase < 4, "INCORRECT PHASE SUPPLIED");
        
        require(amount > 0, "HAVE TO BUY AT LEAST 1");
        require(addressToTicketsPermissioned[msg.sender][phase] + amount <= buyMaxAmount, "BUY AMOUNT EXCEEDS MAX FOR USER");            

        /// @dev verify that user can perform permissioned sale based on phase of user
        validatePhaseSpecificPurchase(amount, phase);

        /// @dev update pre-sales and whale-sales seperately
        if (phase < 3) {            
            boughtPermissioned += amount;
        }            
        else {            
            boughtOpen += amount;
        }            
        
        addressToTicketsPermissioned[msg.sender][phase] += amount;
        emit Purchase(msg.sender, amount, true);
    }

    /**
     * @notice Function to buy one or more tickets.
     *
     * @param amount. The amount of tickets to buy.
     */
    function buyOpen(uint256 amount) 
        external 
        payable {
        
        /// @dev Verifies that user can perform open sale based on the provided parameters.

        require(address(juniorNFT) != address(0), "JUNIOR NFT SMART CONTRACT NOT SET");
        require(block.timestamp >= startTimeOpen, "OPEN SALE CLOSED");

        require(amount > 0, "HAVE TO BUY AT LEAST 1");

        require(addressToTicketsOpen[msg.sender] + amount <= limitOpen, "BUY AMOUNT EXCEEDS MAX FOR USER");
        require(boughtOpen + amount - 1 <= maxSupplyOpen, "BUY AMOUNT GOES OVER MAX SUPPLY");
        require(msg.value >= priceOpen * amount, "ETHER SENT NOT CORRECT");

        /// @dev Updates contract variables and buys `amount` tickets to users wallet

        boughtOpen += amount;
        addressToTicketsOpen[msg.sender] += amount;

        emit Purchase(msg.sender, amount, false);
    }

    /**
     * @dev MINTING 
     */

    /**
     * @notice Allows users to redeem their tickets for NFTs.
     *
     */
    function redeemTickets() external {
        uint256 ticketsOfSender = 
            addressToTicketsPermissioned[msg.sender][1] + 
            addressToTicketsPermissioned[msg.sender][2] + 
            addressToTicketsPermissioned[msg.sender][3] +
            addressToTicketsOpen[msg.sender];
        uint256 mintsOfSender = addressToMints[msg.sender];
        uint256 mintable = ticketsOfSender - mintsOfSender;

        require(mintable > 0, "NO MINTABLE TICKETS");

        uint256 maxMintPerTx = juniorNFT.maxMintPerTransaction();
        uint256 toMint = mintable > maxMintPerTx ? maxMintPerTx : mintable;
        
        addressToMints[msg.sender] = addressToMints[msg.sender] + toMint;

        juniorNFT.mintTo(toMint, msg.sender);
        emit RedeemTickets(msg.sender, toMint);
    }

    /**
     * @notice Function to redeem giveaway.
     * @dev First the Merkle Proof is verified.
     * Then the redeem is verified with the data embedded in the Merkle Proof.
     * Finally the juniors are minted to the user's wallet.
     *
     * @param redeemAmount. The amount to redeem.
     * @param proof. The Merkle Proof of the user.
     */
    function redeemGiveAway(uint256 redeemAmount, bytes32[] calldata proof) external {
        /// @dev Verifies Merkle Proof submitted by user.
        /// @dev All giveaway data is embedded in the merkle proof.

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, redeemAmount));
        require(MerkleProof.verify(proof, giveAwayMerkleRoot, leaf), "INVALID PROOF");

        /// @dev Verifies that user can perform giveaway based on the provided parameters.

        require(address(juniorNFT) != address(0), "JUNIOR NFT SMART CONTRACT NOT SET");
        require(giveAwayMerkleRoot != "", "GIVEAWAY CLOSED");

        require(redeemAmount > 0, "HAVE TO REDEEM AT LEAST 1");

        require(addressToGiveawayRedeemed[msg.sender] == 0, "GIVEAWAY ALREADY REDEEMED");
        require(giveAwayRedeemed + redeemAmount - 1 <= maxSupplyGiveaway, "GIVEAWAY AMOUNT GOES OVER MAX SUPPLY");

        /// @dev Updates contract variables and mints `redeemAmount` juniors to users wallet

        giveAwayRedeemed += redeemAmount;
        addressToGiveawayRedeemed[msg.sender] = 1;

        juniorNFT.mintTo(redeemAmount, msg.sender);
        emit RedeemGiveAway(msg.sender, redeemAmount);
    }

    /** 
     * @dev OWNER ONLY 
     */

    /**
     * @notice Change the maximum supply of tickets that are for sale in permissioned sale.
     *
     * @param newMaxSupply. The new max supply.
     */
    function setMaxSupplyPermissioned(uint256 newMaxSupply) external onlyOwner {
        maxSupplyPermissioned = newMaxSupply;
        emit setMaxSupplyPermissionedEvent(newMaxSupply);
    }

    /**
     * @notice Change the maximum supply of tickets that are for sale in open sale.
     *
     * @param newMaxSupply. The new max supply.
     */
    function setMaxSupplyOpen(uint256 newMaxSupply) external onlyOwner {
        maxSupplyOpen = newMaxSupply;
        emit setMaxSupplyOpenEvent(newMaxSupply);
    }

    /**
     * @notice Change the limit of tickets per wallet in open sale.
     *
     * @param newLimitOpen. The new max supply.
     */
    function setLimitOpen(uint256 newLimitOpen) external onlyOwner {
        limitOpen = newLimitOpen;
        emit setLimitOpenEvent(newLimitOpen);
    }

    /**
     * @notice Change the price of tickets that are for sale in open sale.
     *
     * @param newPriceOpen. The new price.
     */
    function setPriceOpen(uint256 newPriceOpen) external onlyOwner {
        priceOpen = newPriceOpen;
        emit setPriceOpenEvent(newPriceOpen);
    }

    /**
     * @notice Change the price of tickets that are for sale in permissioned sale.
     *
     * @param newPricePermissioned. The new price.
     */
    function setPricePermissioned(uint256 newPricePermissioned) external onlyOwner {
        pricePermissioned = newPricePermissioned;
        emit setPricePermissionedEvent(newPricePermissioned);
    }

    /**
     * @notice Change the merkleRoot of the sale.
     *
     * @param newRoot. The new merkleRoot.
     */
    function setMerkleRoot(bytes32 newRoot) external onlyOwner {
        merkleRoot = newRoot;
        emit setMerkleRootEvent(newRoot);
    }

    /**
     * @notice Delete the merkleRoot of the sale.
     */
    function deleteMerkleRoot() external onlyOwner {
        merkleRoot = "";
        emit setMerkleRootEvent(merkleRoot);
    }

    /**
     * @notice Change the merkleRoot of the giveaway.
     *
     * @param newRoot. The new merkleRoot.
     */
    function setGiveAwayMerkleRoot(bytes32 newRoot) external onlyOwner {
        giveAwayMerkleRoot = newRoot;
        emit setGiveAwayMerkleRootEvent(newRoot);
    }

    /**
     * @notice Change the max supply for the giveaway.
     *
     * @param newSupply. The new giveaway max supply.
     */
    function setGiveAwayMaxSupply(uint256 newSupply) external onlyOwner {
        maxSupplyGiveaway = newSupply;
        emit setGiveAwayMaxSupplyEvent(newSupply);
    }    

    /**
     * @notice Change start time of the Phase One permissioned sale.
     *
     * @param newTime. The new time.
     */
    function setPhaseOneStartTime(uint256 newTime) external onlyOwner {
        phaseOneStartTime = newTime;
        emit setPhaseOneStartTimeEvent(newTime);
    }

    /**
     * @notice Change duration of the Phase One permissioned sale.
     *
     * @param newDuration. The new duration.
     */
    function setPhaseOneDuration(uint256 newDuration) external onlyOwner {
        phaseOneDuration = newDuration;
        emit setPhaseOneDurationEvent(newDuration);
    }

    /**
     * @notice Change start time of the Phase Two permissioned sale.
     *
     * @param newTime. The new time.
     */
    function setPhaseTwoStartTime(uint256 newTime) external onlyOwner {
        phaseTwoStartTime = newTime;
        emit setPhaseTwoStartTimeEvent(newTime);
    }

    /**
     * @notice Change duration of the Phase One permissioned sale.
     *
     * @param newDuration. The new duration.
     */
    function setPhaseTwoDuration(uint256 newDuration) external onlyOwner {
        phaseTwoDuration = newDuration;
        emit setPhaseTwoDurationEvent(newDuration);
    }

    /**
     * @notice Change start time of the open sale.
     *
     * @param newTime. The new time.
     */
    function setStartTimeOpen(uint256 newTime) external onlyOwner {
        startTimeOpen = newTime;
        emit setStartTimeOpenEvent(newTime);
    }

    /**
     * @dev FINANCE
     */

    /**
     * @notice Allows owner to withdraw funds generated from sale.
     *
     * @param _to. The address to send the funds to.
     */
    function withdrawAll(address _to) external onlyOwner {
        require(_to != address(0), "CANNOT WITHDRAW TO ZERO ADDRESS");

        uint256 contractBalance = address(this).balance;

        require(contractBalance > 0, "NO ETHER TO WITHDRAW");

        payable(_to).transfer(contractBalance);

        emit WithdrawAllEvent(_to, contractBalance);
    }

    /**
     * @dev Fallback function for receiving Ether
     */
    receive() external payable {
        emit ReceivedEther(msg.sender, msg.value);
    }
}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 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 v4.4.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.
 */
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 Merklee 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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_slotieJuniorAddress","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"bool","name":"permissioned","type":"bool"}],"name":"Purchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReceivedEther","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RedeemGiveAway","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RedeemTickets","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawAllEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setGiveAwayMaxSupplyEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setGiveAwayMerkleRootEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setLimitOpenEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxSupplyOpenEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxSupplyPermissionedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRootEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"time","type":"uint256"}],"name":"setPhaseOneDurationEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"time","type":"uint256"}],"name":"setPhaseOneStartTimeEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"time","type":"uint256"}],"name":"setPhaseTwoDurationEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"time","type":"uint256"}],"name":"setPhaseTwoStartTimeEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPriceOpenEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPricePermissionedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"setPublicSaleStateEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"time","type":"uint256"}],"name":"setStartTimeOpenEvent","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToGiveawayRedeemed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToTicketsOpen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"addressToTicketsPermissioned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boughtOpen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boughtPermissioned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyOpen","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"buyMaxAmount","type":"uint256"},{"internalType":"uint256","name":"phase","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"buyPermissioned","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"deleteMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveAwayMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giveAwayRedeemed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"juniorNFT","outputs":[{"internalType":"contract ISlotieJr","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitOpen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyGiveaway","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyOpen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyPermissioned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseOneDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseOneStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseTwoDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseTwoStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceOpen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePermissioned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"redeemAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"redeemGiveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redeemTickets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setGiveAwayMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setGiveAwayMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimitOpen","type":"uint256"}],"name":"setLimitOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupplyOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupplyPermissioned","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"setPhaseOneDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"setPhaseOneStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"setPhaseTwoDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"setPhaseTwoStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceOpen","type":"uint256"}],"name":"setPriceOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPricePermissioned","type":"uint256"}],"name":"setPricePermissioned","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"setStartTimeOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimeOpen","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":"address","name":"_to","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405261041a60015560016002556702c68af0bb14000060035563620560b0600455610e106005556362056ec060065561012c600755610f3c6008556001600955600a8055670429d069189e0000600b556362056fec600c557fe788a23866da0e903934d723c44efe9da3f7265d053a8fed5c1036a78665f9c160001b6010556032601155600160125560006014553480156200009d57600080fd5b506040516200224f3803806200224f833981016040819052620000c0916200012d565b620000cb33620000dd565b6001600160a01b03166080526200015f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156200014057600080fd5b81516001600160a01b03811681146200015857600080fd5b9392505050565b6080516120aa620001a5600039600081816102ea0152818161086101528181610bbe01528181610cab01528181611182015281816114fb01526116f401526120aa6000f3fe6080604052600436106102605760003560e01c80638073004711610144578063c3366b67116100b6578063e3c1b2b91161007a578063e3c1b2b9146106f0578063ef2c2b5b14610710578063f2fde38b14610726578063f33d44f414610746578063fa09e63014610766578063fd44fa331461078657600080fd5b8063c3366b6714610678578063cd52465b1461068e578063d26c3f31146106a4578063d3541b4a146106ba578063d966e8f1146106da57600080fd5b80639313e2ab116101085780639313e2ab146105ab578063953c8f80146105cb5780639a3e0a18146105eb578063a57b617114610600578063b9b0eba914610638578063bc3d50a11461064b57600080fd5b8063807300471461051757806389f7e5c2146105375780638aa322fd1461054d5780638da5cb5b1461056d578063925af4151461058b57600080fd5b80634a1e0a29116101dd5780635dd39c19116101a15780635dd39c191461045f578063621fe75c1461047557806363820f2314610495578063715018a6146104c2578063767f590b146104d75780637cb64759146104f757600080fd5b80634a1e0a29146103db578063519198f5146103f05780635670f57c14610406578063598da2821461041c5780635a5e59a91461044957600080fd5b806329e1d7231161022457806329e1d723146103665780632eb4a7ab1461037c5780632ec4154a146103925780633dc3e3d3146103a857806347532121146103bb57600080fd5b8063051c5a7c1461029957806308a50a87146102c25780630b39b489146102d85780631ae2625e1461032457806322e111c81461034657600080fd5b3661029457604051349033907fa419615bc8fda4c87663805ee2a3597a6d71c1d476911d9892f340d965bc7bf190600090a3005b600080fd5b3480156102a557600080fd5b506102af60045481565b6040519081526020015b60405180910390f35b3480156102ce57600080fd5b506102af600a5481565b3480156102e457600080fd5b5061030c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102b9565b34801561033057600080fd5b5061034461033f366004611d65565b61079c565b005b34801561035257600080fd5b50610344610361366004611d65565b610802565b34801561037257600080fd5b506102af60115481565b34801561038857600080fd5b506102af60105481565b34801561039e57600080fd5b506102af60035481565b6103446103b6366004611d65565b61085f565b3480156103c757600080fd5b506103446103d6366004611d65565b610aa4565b3480156103e757600080fd5b50610344610b01565b3480156103fc57600080fd5b506102af60065481565b34801561041257600080fd5b506102af60085481565b34801561042857600080fd5b506102af610437366004611d9a565b600d6020526000908152604090205481565b34801561045557600080fd5b506102af600c5481565b34801561046b57600080fd5b506102af60075481565b34801561048157600080fd5b50610344610490366004611d65565b610d43565b3480156104a157600080fd5b506102af6104b0366004611d9a565b600f6020526000908152604090205481565b3480156104ce57600080fd5b50610344610da0565b3480156104e357600080fd5b506103446104f2366004611d65565b610dd6565b34801561050357600080fd5b50610344610512366004611d65565b610e33565b34801561052357600080fd5b50610344610532366004611d65565b610e90565b34801561054357600080fd5b506102af60015481565b34801561055957600080fd5b50610344610568366004611d65565b610eed565b34801561057957600080fd5b506000546001600160a01b031661030c565b34801561059757600080fd5b506103446105a6366004611d65565b610f4a565b3480156105b757600080fd5b506103446105c6366004611d65565b610fa7565b3480156105d757600080fd5b506103446105e6366004611d65565b611004565b3480156105f757600080fd5b50610344611061565b34801561060c57600080fd5b506102af61061b366004611dbc565b600e60209081526000928352604080842090915290825290205481565b610344610646366004611e32565b6110bc565b34801561065757600080fd5b506102af610666366004611d9a565b60136020526000908152604090205481565b34801561068457600080fd5b506102af600b5481565b34801561069a57600080fd5b506102af60025481565b3480156106b057600080fd5b506102af60055481565b3480156106c657600080fd5b506103446106d5366004611d65565b6113df565b3480156106e657600080fd5b506102af60145481565b3480156106fc57600080fd5b5061034461070b366004611e93565b61143c565b34801561071c57600080fd5b506102af60095481565b34801561073257600080fd5b50610344610741366004611d9a565b61178b565b34801561075257600080fd5b50610344610761366004611d65565b611826565b34801561077257600080fd5b50610344610781366004611d9a565b611883565b34801561079257600080fd5b506102af60125481565b6000546001600160a01b031633146107cf5760405162461bcd60e51b81526004016107c690611edf565b60405180910390fd5b600c81905560405181907f57fe4f1c073c6eb0b359b38a8db86090efff2db89753a6567abbbadea448db3790600090a250565b6000546001600160a01b0316331461082c5760405162461bcd60e51b81526004016107c690611edf565b601181905560405181907f79e2098ff1cf0409915c4aef7ee736a3d3b182ff7b86dd07b3037fdc5898af7d90600090a250565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166108a55760405162461bcd60e51b81526004016107c690611f14565b600c544210156108ea5760405162461bcd60e51b815260206004820152601060248201526f13d411538814d053114810d313d4d15160821b60448201526064016107c6565b600081116109335760405162461bcd60e51b81526020600482015260166024820152754841564520544f20425559204154204c45415354203160501b60448201526064016107c6565b600a54336000908152600d6020526040902054610951908390611f6b565b111561099f5760405162461bcd60e51b815260206004820152601f60248201527f42555920414d4f554e542045584345454453204d415820464f5220555345520060448201526064016107c6565b6008546001826009546109b29190611f6b565b6109bc9190611f83565b1115610a0a5760405162461bcd60e51b815260206004820152601f60248201527f42555920414d4f554e5420474f4553204f564552204d415820535550504c590060448201526064016107c6565b80600b54610a189190611f9a565b341015610a375760405162461bcd60e51b81526004016107c690611fb9565b8060096000828254610a499190611f6b565b9091555050336000908152600d602052604081208054839290610a6d908490611f6b565b9091555050604051600090829033907f1d61142c2c6c7bca70470912f4bb5e385638b745dd1da048b6f9bb4c3ee35005908490a450565b6000546001600160a01b03163314610ace5760405162461bcd60e51b81526004016107c690611edf565b600481905560405181907fcfb6c69e32cd5d6379122bfcef72aa1135279cba2cbc44e68dc9a3ce9ed61a1e90600090a250565b336000908152600d6020908152604080832054600e83528184206003855290925280832054600284528184205460018552918420549091610b4191611f6b565b610b4b9190611f6b565b610b559190611f6b565b336000908152600f6020526040812054919250610b728284611f83565b905060008111610bba5760405162461bcd60e51b81526020600482015260136024820152724e4f204d494e5441424c45205449434b45545360681b60448201526064016107c6565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166301f569976040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610c1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c409190611fe9565b90506000818311610c515782610c53565b815b336000908152600f6020526040902054909150610c71908290611f6b565b336000818152600f602052604090819020929092559051635b91d9a760e11b81526004810183905260248101919091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b723b34e90604401600060405180830381600087803b158015610cef57600080fd5b505af1158015610d03573d6000803e3d6000fd5b50506040518381523392507fcfdaefa5e8c3eec695e97d381c41b69a5ba5ab20f1273f85b09399f99ad95394915060200160405180910390a25050505050565b6000546001600160a01b03163314610d6d5760405162461bcd60e51b81526004016107c690611edf565b600b81905560405181907f1531ce8145d3c9595a0bfbdfe3457c8f072a34a2e1be798af28b00aeb8133d2a90600090a250565b6000546001600160a01b03163314610dca5760405162461bcd60e51b81526004016107c690611edf565b610dd460006119c6565b565b6000546001600160a01b03163314610e005760405162461bcd60e51b81526004016107c690611edf565b600881905560405181907fd4121b6c6ab85377988bb7d22da624b728f57e7a15cdecae1090be0d424239a490600090a250565b6000546001600160a01b03163314610e5d5760405162461bcd60e51b81526004016107c690611edf565b601081905560405181907f514d2649f6bc26024ef36a98d0bf2bd3b1212d7fceaf99f6086e9690d0032fc790600090a250565b6000546001600160a01b03163314610eba5760405162461bcd60e51b81526004016107c690611edf565b600a81905560405181907f0beaf7e887b86a012601a93e03439c8476fb8b145114a1136cace44e0dcf097a90600090a250565b6000546001600160a01b03163314610f175760405162461bcd60e51b81526004016107c690611edf565b600681905560405181907f37c67a393a2bace1cb3d2d9c93b05da5282d27d66d1f23bd16f33fef6d16564d90600090a250565b6000546001600160a01b03163314610f745760405162461bcd60e51b81526004016107c690611edf565b600381905560405181907fdc4edbf8c1f4e1f221ad1cef30339d2c5743c6d66c8de04e133490917684c3db90600090a250565b6000546001600160a01b03163314610fd15760405162461bcd60e51b81526004016107c690611edf565b600581905560405181907f6ff773d3e8ae345f330090b8b4a3edd2f840d6e97bac51a4cad905d9fbc1d05d90600090a250565b6000546001600160a01b0316331461102e5760405162461bcd60e51b81526004016107c690611edf565b600781905560405181907f7e07442ee57d7ef6576a376eddb2b9866fc7e805e31b34b10a70d1d48ef7dc7b90600090a250565b6000546001600160a01b0316331461108b5760405162461bcd60e51b81526004016107c690611edf565b600060108190556040517f514d2649f6bc26024ef36a98d0bf2bd3b1212d7fceaf99f6086e9690d0032fc7908290a2565b6040516bffffffffffffffffffffffff193360601b1660208201526034810185905260548101849052600090607401604051602081830303815290604052805190602001209050611144838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150849050611a16565b6111805760405162461bcd60e51b815260206004820152600d60248201526c24a72b20a624a210282927a7a360991b60448201526064016107c6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166111c65760405162461bcd60e51b81526004016107c690611f14565b6010546112155760405162461bcd60e51b815260206004820152601860248201527f5045524d495353494f4e45442053414c4520434c4f534544000000000000000060448201526064016107c6565b6000841180156112255750600484105b6112715760405162461bcd60e51b815260206004820152601860248201527f494e434f525245435420504841534520535550504c494544000000000000000060448201526064016107c6565b600086116112ba5760405162461bcd60e51b81526020600482015260166024820152754841564520544f20425559204154204c45415354203160501b60448201526064016107c6565b336000908152600e6020908152604080832087845290915290205485906112e2908890611f6b565b11156113305760405162461bcd60e51b815260206004820152601f60248201527f42555920414d4f554e542045584345454453204d415820464f5220555345520060448201526064016107c6565b61133a8685611a2c565b60038410156113605785600260008282546113559190611f6b565b909155506113789050565b85600960008282546113729190611f6b565b90915550505b336000908152600e60209081526040808320878452909152812080548892906113a2908490611f6b565b9091555050604051600190879033907f1d61142c2c6c7bca70470912f4bb5e385638b745dd1da048b6f9bb4c3ee3500590600090a4505050505050565b6000546001600160a01b031633146114095760405162461bcd60e51b81526004016107c690611edf565b601481905560405181907f7a5796774f66b36af4bc5d32aad1241f358ac10a13516f575c275edcdd02176290600090a250565b6040516bffffffffffffffffffffffff193360601b166020820152603481018490526000906054016040516020818303038152906040528051906020012090506114bd838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014549150849050611a16565b6114f95760405162461bcd60e51b815260206004820152600d60248201526c24a72b20a624a210282927a7a360991b60448201526064016107c6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661153f5760405162461bcd60e51b81526004016107c690611f14565b6014546115805760405162461bcd60e51b815260206004820152600f60248201526e11d255915055d0564810d313d4d151608a1b60448201526064016107c6565b600084116115d05760405162461bcd60e51b815260206004820152601960248201527f4841564520544f2052454445454d204154204c4541535420310000000000000060448201526064016107c6565b336000908152601360205260409020541561162d5760405162461bcd60e51b815260206004820152601960248201527f474956454157415920414c52454144592052454445454d45440000000000000060448201526064016107c6565b6011546001856012546116409190611f6b565b61164a9190611f83565b11156116a45760405162461bcd60e51b8152602060048201526024808201527f474956454157415920414d4f554e5420474f4553204f564552204d415820535560448201526350504c5960e01b60648201526084016107c6565b83601260008282546116b69190611f6b565b909155505033600081815260136020526040908190206001905551635b91d9a760e11b81526004810186905260248101919091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b723b34e90604401600060405180830381600087803b15801561173857600080fd5b505af115801561174c573d6000803e3d6000fd5b50506040518681523392507f1381e75851f44217314094a66a2ff9aeb55c34671f4a9f4abd0ab3a01afe952e915060200160405180910390a250505050565b6000546001600160a01b031633146117b55760405162461bcd60e51b81526004016107c690611edf565b6001600160a01b03811661181a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c6565b611823816119c6565b50565b6000546001600160a01b031633146118505760405162461bcd60e51b81526004016107c690611edf565b600181905560405181907f1465344273e35ceadae241543fa6da3339c4b1b6cb0047b6aea165b83dfb794a90600090a250565b6000546001600160a01b031633146118ad5760405162461bcd60e51b81526004016107c690611edf565b6001600160a01b0381166119035760405162461bcd60e51b815260206004820152601f60248201527f43414e4e4f5420574954484452415720544f205a45524f20414444524553530060448201526064016107c6565b47806119485760405162461bcd60e51b81526020600482015260146024820152734e4f20455448455220544f20574954484452415760601b60448201526064016107c6565b6040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561197e573d6000803e3d6000fd5b50816001600160a01b03167f2bd20150a637d72a74539599f66637c3ec4f6d3807458bf9e002061053ae167c826040516119ba91815260200190565b60405180910390a25050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082611a238584611cb9565b14949350505050565b8060011415611b5157600454421015611a575760405162461bcd60e51b81526004016107c690612002565b600554600454611a679190611f6b565b4210611ab55760405162461bcd60e51b815260206004820152601860248201527f5048415345204f4e452053414c4520495320434c4f534544000000000000000060448201526064016107c6565b81600354611ac39190611f9a565b341015611ae25760405162461bcd60e51b81526004016107c690611fb9565b600154600183600254611af59190611f6b565b611aff9190611f83565b1115611b4d5760405162461bcd60e51b815260206004820152601f60248201527f42555920414d4f554e5420474f4553204f564552204d415820535550504c590060448201526064016107c6565b5050565b8060021415611c1457600654421015611bb65760405162461bcd60e51b815260206004820152602160248201527f50484153452054574f2053414c45204841534e275420535441525445442059456044820152601560fa1b60648201526084016107c6565b600754600654611bc69190611f6b565b4210611ab55760405162461bcd60e51b815260206004820152601860248201527f50484153452054574f2053414c4520495320434c4f534544000000000000000060448201526064016107c6565b8060031415611c7f57600c54421015611c3f5760405162461bcd60e51b81526004016107c690612002565b81600b54611c4d9190611f9a565b341015611c6c5760405162461bcd60e51b81526004016107c690611fb9565b600854600183600954611af59190611f6b565b60405162461bcd60e51b815260206004820152600f60248201526e494e434f525245435420504841534560881b60448201526064016107c6565b600081815b8451811015611d5d576000858281518110611cdb57611cdb612043565b60200260200101519050808311611d1d576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611d4a565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611d5581612059565b915050611cbe565b509392505050565b600060208284031215611d7757600080fd5b5035919050565b80356001600160a01b0381168114611d9557600080fd5b919050565b600060208284031215611dac57600080fd5b611db582611d7e565b9392505050565b60008060408385031215611dcf57600080fd5b611dd883611d7e565b946020939093013593505050565b60008083601f840112611df857600080fd5b50813567ffffffffffffffff811115611e1057600080fd5b6020830191508360208260051b8501011115611e2b57600080fd5b9250929050565b600080600080600060808688031215611e4a57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff811115611e7657600080fd5b611e8288828901611de6565b969995985093965092949392505050565b600080600060408486031215611ea857600080fd5b83359250602084013567ffffffffffffffff811115611ec657600080fd5b611ed286828701611de6565b9497909650939450505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f4a554e494f52204e465420534d41525420434f4e5452414354204e4f542053456040820152601560fa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611f7e57611f7e611f55565b500190565b600082821015611f9557611f95611f55565b500390565b6000816000190483118215151615611fb457611fb4611f55565b500290565b60208082526016908201527511551211548814d15395081393d50810d3d4949150d560521b604082015260600190565b600060208284031215611ffb57600080fd5b5051919050565b60208082526021908201527f5048415345204f4e452053414c45204841534e275420535441525445442059456040820152601560fa1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561206d5761206d611f55565b506001019056fea2646970667358221220ab31b4309f926f63001c0cbb6227f34cc70a708e5adcdceff3b504aaad59873d64736f6c634300080b00330000000000000000000000005dff0b226fde7085a850aff06e2ea62d1ad506f5

Deployed Bytecode

0x6080604052600436106102605760003560e01c80638073004711610144578063c3366b67116100b6578063e3c1b2b91161007a578063e3c1b2b9146106f0578063ef2c2b5b14610710578063f2fde38b14610726578063f33d44f414610746578063fa09e63014610766578063fd44fa331461078657600080fd5b8063c3366b6714610678578063cd52465b1461068e578063d26c3f31146106a4578063d3541b4a146106ba578063d966e8f1146106da57600080fd5b80639313e2ab116101085780639313e2ab146105ab578063953c8f80146105cb5780639a3e0a18146105eb578063a57b617114610600578063b9b0eba914610638578063bc3d50a11461064b57600080fd5b8063807300471461051757806389f7e5c2146105375780638aa322fd1461054d5780638da5cb5b1461056d578063925af4151461058b57600080fd5b80634a1e0a29116101dd5780635dd39c19116101a15780635dd39c191461045f578063621fe75c1461047557806363820f2314610495578063715018a6146104c2578063767f590b146104d75780637cb64759146104f757600080fd5b80634a1e0a29146103db578063519198f5146103f05780635670f57c14610406578063598da2821461041c5780635a5e59a91461044957600080fd5b806329e1d7231161022457806329e1d723146103665780632eb4a7ab1461037c5780632ec4154a146103925780633dc3e3d3146103a857806347532121146103bb57600080fd5b8063051c5a7c1461029957806308a50a87146102c25780630b39b489146102d85780631ae2625e1461032457806322e111c81461034657600080fd5b3661029457604051349033907fa419615bc8fda4c87663805ee2a3597a6d71c1d476911d9892f340d965bc7bf190600090a3005b600080fd5b3480156102a557600080fd5b506102af60045481565b6040519081526020015b60405180910390f35b3480156102ce57600080fd5b506102af600a5481565b3480156102e457600080fd5b5061030c7f0000000000000000000000005dff0b226fde7085a850aff06e2ea62d1ad506f581565b6040516001600160a01b0390911681526020016102b9565b34801561033057600080fd5b5061034461033f366004611d65565b61079c565b005b34801561035257600080fd5b50610344610361366004611d65565b610802565b34801561037257600080fd5b506102af60115481565b34801561038857600080fd5b506102af60105481565b34801561039e57600080fd5b506102af60035481565b6103446103b6366004611d65565b61085f565b3480156103c757600080fd5b506103446103d6366004611d65565b610aa4565b3480156103e757600080fd5b50610344610b01565b3480156103fc57600080fd5b506102af60065481565b34801561041257600080fd5b506102af60085481565b34801561042857600080fd5b506102af610437366004611d9a565b600d6020526000908152604090205481565b34801561045557600080fd5b506102af600c5481565b34801561046b57600080fd5b506102af60075481565b34801561048157600080fd5b50610344610490366004611d65565b610d43565b3480156104a157600080fd5b506102af6104b0366004611d9a565b600f6020526000908152604090205481565b3480156104ce57600080fd5b50610344610da0565b3480156104e357600080fd5b506103446104f2366004611d65565b610dd6565b34801561050357600080fd5b50610344610512366004611d65565b610e33565b34801561052357600080fd5b50610344610532366004611d65565b610e90565b34801561054357600080fd5b506102af60015481565b34801561055957600080fd5b50610344610568366004611d65565b610eed565b34801561057957600080fd5b506000546001600160a01b031661030c565b34801561059757600080fd5b506103446105a6366004611d65565b610f4a565b3480156105b757600080fd5b506103446105c6366004611d65565b610fa7565b3480156105d757600080fd5b506103446105e6366004611d65565b611004565b3480156105f757600080fd5b50610344611061565b34801561060c57600080fd5b506102af61061b366004611dbc565b600e60209081526000928352604080842090915290825290205481565b610344610646366004611e32565b6110bc565b34801561065757600080fd5b506102af610666366004611d9a565b60136020526000908152604090205481565b34801561068457600080fd5b506102af600b5481565b34801561069a57600080fd5b506102af60025481565b3480156106b057600080fd5b506102af60055481565b3480156106c657600080fd5b506103446106d5366004611d65565b6113df565b3480156106e657600080fd5b506102af60145481565b3480156106fc57600080fd5b5061034461070b366004611e93565b61143c565b34801561071c57600080fd5b506102af60095481565b34801561073257600080fd5b50610344610741366004611d9a565b61178b565b34801561075257600080fd5b50610344610761366004611d65565b611826565b34801561077257600080fd5b50610344610781366004611d9a565b611883565b34801561079257600080fd5b506102af60125481565b6000546001600160a01b031633146107cf5760405162461bcd60e51b81526004016107c690611edf565b60405180910390fd5b600c81905560405181907f57fe4f1c073c6eb0b359b38a8db86090efff2db89753a6567abbbadea448db3790600090a250565b6000546001600160a01b0316331461082c5760405162461bcd60e51b81526004016107c690611edf565b601181905560405181907f79e2098ff1cf0409915c4aef7ee736a3d3b182ff7b86dd07b3037fdc5898af7d90600090a250565b7f0000000000000000000000005dff0b226fde7085a850aff06e2ea62d1ad506f56001600160a01b03166108a55760405162461bcd60e51b81526004016107c690611f14565b600c544210156108ea5760405162461bcd60e51b815260206004820152601060248201526f13d411538814d053114810d313d4d15160821b60448201526064016107c6565b600081116109335760405162461bcd60e51b81526020600482015260166024820152754841564520544f20425559204154204c45415354203160501b60448201526064016107c6565b600a54336000908152600d6020526040902054610951908390611f6b565b111561099f5760405162461bcd60e51b815260206004820152601f60248201527f42555920414d4f554e542045584345454453204d415820464f5220555345520060448201526064016107c6565b6008546001826009546109b29190611f6b565b6109bc9190611f83565b1115610a0a5760405162461bcd60e51b815260206004820152601f60248201527f42555920414d4f554e5420474f4553204f564552204d415820535550504c590060448201526064016107c6565b80600b54610a189190611f9a565b341015610a375760405162461bcd60e51b81526004016107c690611fb9565b8060096000828254610a499190611f6b565b9091555050336000908152600d602052604081208054839290610a6d908490611f6b565b9091555050604051600090829033907f1d61142c2c6c7bca70470912f4bb5e385638b745dd1da048b6f9bb4c3ee35005908490a450565b6000546001600160a01b03163314610ace5760405162461bcd60e51b81526004016107c690611edf565b600481905560405181907fcfb6c69e32cd5d6379122bfcef72aa1135279cba2cbc44e68dc9a3ce9ed61a1e90600090a250565b336000908152600d6020908152604080832054600e83528184206003855290925280832054600284528184205460018552918420549091610b4191611f6b565b610b4b9190611f6b565b610b559190611f6b565b336000908152600f6020526040812054919250610b728284611f83565b905060008111610bba5760405162461bcd60e51b81526020600482015260136024820152724e4f204d494e5441424c45205449434b45545360681b60448201526064016107c6565b60007f0000000000000000000000005dff0b226fde7085a850aff06e2ea62d1ad506f56001600160a01b03166301f569976040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610c1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c409190611fe9565b90506000818311610c515782610c53565b815b336000908152600f6020526040902054909150610c71908290611f6b565b336000818152600f602052604090819020929092559051635b91d9a760e11b81526004810183905260248101919091526001600160a01b037f0000000000000000000000005dff0b226fde7085a850aff06e2ea62d1ad506f5169063b723b34e90604401600060405180830381600087803b158015610cef57600080fd5b505af1158015610d03573d6000803e3d6000fd5b50506040518381523392507fcfdaefa5e8c3eec695e97d381c41b69a5ba5ab20f1273f85b09399f99ad95394915060200160405180910390a25050505050565b6000546001600160a01b03163314610d6d5760405162461bcd60e51b81526004016107c690611edf565b600b81905560405181907f1531ce8145d3c9595a0bfbdfe3457c8f072a34a2e1be798af28b00aeb8133d2a90600090a250565b6000546001600160a01b03163314610dca5760405162461bcd60e51b81526004016107c690611edf565b610dd460006119c6565b565b6000546001600160a01b03163314610e005760405162461bcd60e51b81526004016107c690611edf565b600881905560405181907fd4121b6c6ab85377988bb7d22da624b728f57e7a15cdecae1090be0d424239a490600090a250565b6000546001600160a01b03163314610e5d5760405162461bcd60e51b81526004016107c690611edf565b601081905560405181907f514d2649f6bc26024ef36a98d0bf2bd3b1212d7fceaf99f6086e9690d0032fc790600090a250565b6000546001600160a01b03163314610eba5760405162461bcd60e51b81526004016107c690611edf565b600a81905560405181907f0beaf7e887b86a012601a93e03439c8476fb8b145114a1136cace44e0dcf097a90600090a250565b6000546001600160a01b03163314610f175760405162461bcd60e51b81526004016107c690611edf565b600681905560405181907f37c67a393a2bace1cb3d2d9c93b05da5282d27d66d1f23bd16f33fef6d16564d90600090a250565b6000546001600160a01b03163314610f745760405162461bcd60e51b81526004016107c690611edf565b600381905560405181907fdc4edbf8c1f4e1f221ad1cef30339d2c5743c6d66c8de04e133490917684c3db90600090a250565b6000546001600160a01b03163314610fd15760405162461bcd60e51b81526004016107c690611edf565b600581905560405181907f6ff773d3e8ae345f330090b8b4a3edd2f840d6e97bac51a4cad905d9fbc1d05d90600090a250565b6000546001600160a01b0316331461102e5760405162461bcd60e51b81526004016107c690611edf565b600781905560405181907f7e07442ee57d7ef6576a376eddb2b9866fc7e805e31b34b10a70d1d48ef7dc7b90600090a250565b6000546001600160a01b0316331461108b5760405162461bcd60e51b81526004016107c690611edf565b600060108190556040517f514d2649f6bc26024ef36a98d0bf2bd3b1212d7fceaf99f6086e9690d0032fc7908290a2565b6040516bffffffffffffffffffffffff193360601b1660208201526034810185905260548101849052600090607401604051602081830303815290604052805190602001209050611144838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150849050611a16565b6111805760405162461bcd60e51b815260206004820152600d60248201526c24a72b20a624a210282927a7a360991b60448201526064016107c6565b7f0000000000000000000000005dff0b226fde7085a850aff06e2ea62d1ad506f56001600160a01b03166111c65760405162461bcd60e51b81526004016107c690611f14565b6010546112155760405162461bcd60e51b815260206004820152601860248201527f5045524d495353494f4e45442053414c4520434c4f534544000000000000000060448201526064016107c6565b6000841180156112255750600484105b6112715760405162461bcd60e51b815260206004820152601860248201527f494e434f525245435420504841534520535550504c494544000000000000000060448201526064016107c6565b600086116112ba5760405162461bcd60e51b81526020600482015260166024820152754841564520544f20425559204154204c45415354203160501b60448201526064016107c6565b336000908152600e6020908152604080832087845290915290205485906112e2908890611f6b565b11156113305760405162461bcd60e51b815260206004820152601f60248201527f42555920414d4f554e542045584345454453204d415820464f5220555345520060448201526064016107c6565b61133a8685611a2c565b60038410156113605785600260008282546113559190611f6b565b909155506113789050565b85600960008282546113729190611f6b565b90915550505b336000908152600e60209081526040808320878452909152812080548892906113a2908490611f6b565b9091555050604051600190879033907f1d61142c2c6c7bca70470912f4bb5e385638b745dd1da048b6f9bb4c3ee3500590600090a4505050505050565b6000546001600160a01b031633146114095760405162461bcd60e51b81526004016107c690611edf565b601481905560405181907f7a5796774f66b36af4bc5d32aad1241f358ac10a13516f575c275edcdd02176290600090a250565b6040516bffffffffffffffffffffffff193360601b166020820152603481018490526000906054016040516020818303038152906040528051906020012090506114bd838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014549150849050611a16565b6114f95760405162461bcd60e51b815260206004820152600d60248201526c24a72b20a624a210282927a7a360991b60448201526064016107c6565b7f0000000000000000000000005dff0b226fde7085a850aff06e2ea62d1ad506f56001600160a01b031661153f5760405162461bcd60e51b81526004016107c690611f14565b6014546115805760405162461bcd60e51b815260206004820152600f60248201526e11d255915055d0564810d313d4d151608a1b60448201526064016107c6565b600084116115d05760405162461bcd60e51b815260206004820152601960248201527f4841564520544f2052454445454d204154204c4541535420310000000000000060448201526064016107c6565b336000908152601360205260409020541561162d5760405162461bcd60e51b815260206004820152601960248201527f474956454157415920414c52454144592052454445454d45440000000000000060448201526064016107c6565b6011546001856012546116409190611f6b565b61164a9190611f83565b11156116a45760405162461bcd60e51b8152602060048201526024808201527f474956454157415920414d4f554e5420474f4553204f564552204d415820535560448201526350504c5960e01b60648201526084016107c6565b83601260008282546116b69190611f6b565b909155505033600081815260136020526040908190206001905551635b91d9a760e11b81526004810186905260248101919091526001600160a01b037f0000000000000000000000005dff0b226fde7085a850aff06e2ea62d1ad506f5169063b723b34e90604401600060405180830381600087803b15801561173857600080fd5b505af115801561174c573d6000803e3d6000fd5b50506040518681523392507f1381e75851f44217314094a66a2ff9aeb55c34671f4a9f4abd0ab3a01afe952e915060200160405180910390a250505050565b6000546001600160a01b031633146117b55760405162461bcd60e51b81526004016107c690611edf565b6001600160a01b03811661181a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c6565b611823816119c6565b50565b6000546001600160a01b031633146118505760405162461bcd60e51b81526004016107c690611edf565b600181905560405181907f1465344273e35ceadae241543fa6da3339c4b1b6cb0047b6aea165b83dfb794a90600090a250565b6000546001600160a01b031633146118ad5760405162461bcd60e51b81526004016107c690611edf565b6001600160a01b0381166119035760405162461bcd60e51b815260206004820152601f60248201527f43414e4e4f5420574954484452415720544f205a45524f20414444524553530060448201526064016107c6565b47806119485760405162461bcd60e51b81526020600482015260146024820152734e4f20455448455220544f20574954484452415760601b60448201526064016107c6565b6040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561197e573d6000803e3d6000fd5b50816001600160a01b03167f2bd20150a637d72a74539599f66637c3ec4f6d3807458bf9e002061053ae167c826040516119ba91815260200190565b60405180910390a25050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082611a238584611cb9565b14949350505050565b8060011415611b5157600454421015611a575760405162461bcd60e51b81526004016107c690612002565b600554600454611a679190611f6b565b4210611ab55760405162461bcd60e51b815260206004820152601860248201527f5048415345204f4e452053414c4520495320434c4f534544000000000000000060448201526064016107c6565b81600354611ac39190611f9a565b341015611ae25760405162461bcd60e51b81526004016107c690611fb9565b600154600183600254611af59190611f6b565b611aff9190611f83565b1115611b4d5760405162461bcd60e51b815260206004820152601f60248201527f42555920414d4f554e5420474f4553204f564552204d415820535550504c590060448201526064016107c6565b5050565b8060021415611c1457600654421015611bb65760405162461bcd60e51b815260206004820152602160248201527f50484153452054574f2053414c45204841534e275420535441525445442059456044820152601560fa1b60648201526084016107c6565b600754600654611bc69190611f6b565b4210611ab55760405162461bcd60e51b815260206004820152601860248201527f50484153452054574f2053414c4520495320434c4f534544000000000000000060448201526064016107c6565b8060031415611c7f57600c54421015611c3f5760405162461bcd60e51b81526004016107c690612002565b81600b54611c4d9190611f9a565b341015611c6c5760405162461bcd60e51b81526004016107c690611fb9565b600854600183600954611af59190611f6b565b60405162461bcd60e51b815260206004820152600f60248201526e494e434f525245435420504841534560881b60448201526064016107c6565b600081815b8451811015611d5d576000858281518110611cdb57611cdb612043565b60200260200101519050808311611d1d576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611d4a565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611d5581612059565b915050611cbe565b509392505050565b600060208284031215611d7757600080fd5b5035919050565b80356001600160a01b0381168114611d9557600080fd5b919050565b600060208284031215611dac57600080fd5b611db582611d7e565b9392505050565b60008060408385031215611dcf57600080fd5b611dd883611d7e565b946020939093013593505050565b60008083601f840112611df857600080fd5b50813567ffffffffffffffff811115611e1057600080fd5b6020830191508360208260051b8501011115611e2b57600080fd5b9250929050565b600080600080600060808688031215611e4a57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff811115611e7657600080fd5b611e8288828901611de6565b969995985093965092949392505050565b600080600060408486031215611ea857600080fd5b83359250602084013567ffffffffffffffff811115611ec657600080fd5b611ed286828701611de6565b9497909650939450505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f4a554e494f52204e465420534d41525420434f4e5452414354204e4f542053456040820152601560fa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611f7e57611f7e611f55565b500190565b600082821015611f9557611f95611f55565b500390565b6000816000190483118215151615611fb457611fb4611f55565b500290565b60208082526016908201527511551211548814d15395081393d50810d3d4949150d560521b604082015260600190565b600060208284031215611ffb57600080fd5b5051919050565b60208082526021908201527f5048415345204f4e452053414c45204841534e275420535441525445442059456040820152601560fa1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561206d5761206d611f55565b506001019056fea2646970667358221220ab31b4309f926f63001c0cbb6227f34cc70a708e5adcdceff3b504aaad59873d64736f6c634300080b0033

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

0000000000000000000000005dff0b226fde7085a850aff06e2ea62d1ad506f5

-----Decoded View---------------
Arg [0] : _slotieJuniorAddress (address): 0x5dFf0b226fde7085a850aff06E2ea62D1Ad506f5

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005dff0b226fde7085a850aff06e2ea62d1ad506f5


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  ]
[ 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.