ETH Price: $3,265.15 (+3.00%)
Gas: 2 Gwei

Contract

0xcCb12A755BF866368E483dBeD505d1C3E40d2562
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint Sloties141066892022-01-30 10:49:19907 days ago1643539759IN
0xcCb12A75...3E40d2562
0 ETH0.0090489157.22997455
Mint Sloties140873382022-01-27 11:09:59910 days ago1643281799IN
0xcCb12A75...3E40d2562
0 ETH0.018074114.30922647
Mint Sloties138525762021-12-22 3:32:16947 days ago1640143936IN
0xcCb12A75...3E40d2562
0 ETH0.0019626869.77459166
Mint Sloties138244672021-12-17 19:21:36951 days ago1639768896IN
0xcCb12A75...3E40d2562
0 ETH0.0018610766.16224452
Mint Sloties138244642021-12-17 19:21:21951 days ago1639768881IN
0xcCb12A75...3E40d2562
0 ETH0.0018813166.88179702
Phase Three Buy ...138134792021-12-16 2:21:16953 days ago1639621276IN
0xcCb12A75...3E40d2562
0.16 ETH0.0024217285.11605172
Phase Three Buy ...138134792021-12-16 2:21:16953 days ago1639621276IN
0xcCb12A75...3E40d2562
0.16 ETH0.0024217285.11605172
Phase Three Buy ...138114262021-12-15 18:43:34953 days ago1639593814IN
0xcCb12A75...3E40d2562
0.16 ETH0.00323992113.87326688
Mint Sloties138113772021-12-15 18:30:44953 days ago1639593044IN
0xcCb12A75...3E40d2562
0 ETH0.01490098106.98656551
Mint Sloties138094042021-12-15 11:17:36953 days ago1639567056IN
0xcCb12A75...3E40d2562
0 ETH0.0058635351.68204643
Mint Sloties138065742021-12-15 0:39:51954 days ago1639528791IN
0xcCb12A75...3E40d2562
0 ETH0.03553147146.47384267
Mint Sloties138052782021-12-14 19:47:18954 days ago1639511238IN
0xcCb12A75...3E40d2562
0 ETH0.0069878361.59183066
Mint Sloties138047832021-12-14 18:02:54954 days ago1639504974IN
0xcCb12A75...3E40d2562
0 ETH0.0082590585.71579126
Mint Sloties138027522021-12-14 10:27:07954 days ago1639477627IN
0xcCb12A75...3E40d2562
0 ETH0.015186843.90785602
Mint Sloties137990492021-12-13 20:26:38955 days ago1639427198IN
0xcCb12A75...3E40d2562
0 ETH0.0100885288.92171528
Phase Three Buy ...137985812021-12-13 18:48:34955 days ago1639421314IN
0xcCb12A75...3E40d2562
0.16 ETH0.00305956107.5341079
Phase Three Buy ...137985722021-12-13 18:46:22955 days ago1639421182IN
0xcCb12A75...3E40d2562
0.16 ETH0.00335008117.74527367
Mint Sloties137976332021-12-13 15:26:27955 days ago1639409187IN
0xcCb12A75...3E40d2562
0 ETH0.0156562790.0670897
Mint Sloties137969432021-12-13 12:54:13955 days ago1639400053IN
0xcCb12A75...3E40d2562
0 ETH0.0039174640.65704643
Mint Sloties137952182021-12-13 6:30:45956 days ago1639377045IN
0xcCb12A75...3E40d2562
0 ETH0.008439160.59133951
Mint Sloties137950652021-12-13 5:58:56956 days ago1639375136IN
0xcCb12A75...3E40d2562
0 ETH0.007342864.72057447
Mint Sloties137941132021-12-13 2:19:00956 days ago1639361940IN
0xcCb12A75...3E40d2562
0 ETH0.007803680.98895592
Phase Three Buy ...137935522021-12-13 0:07:18956 days ago1639354038IN
0xcCb12A75...3E40d2562
0.16 ETH0.0019664769.11562177
Phase Three Buy ...137935522021-12-13 0:07:18956 days ago1639354038IN
0xcCb12A75...3E40d2562
0.16 ETH0.0019664769.11562177
Mint Sloties137931702021-12-12 22:44:59956 days ago1639349099IN
0xcCb12A75...3E40d2562
0 ETH0.0132451469.37208084
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
137606072021-12-07 20:13:49961 days ago1638908029
0xcCb12A75...3E40d2562
1,144 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SlotiePublicSale

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 7 : SlotiePublicSale.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

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

interface SlotieNFT {
    function mintTo(uint256, address) external;
}

contract SlotiePublicSale is Ownable {
    using SafeMath for uint256;
    using Strings for uint256;
    using ECDSA for bytes32; 

    SlotieNFT public slotieNFT;

    /** Phase 3 */
    bool public phaseThreeActive = false;
    uint256 public constant phaseThreeMaxSupply = 7151;
    uint256 public constant phaseThreeMaxTicketsPerUser = 10; 
    uint256 public constant phaseThreeTicketPrice = 0.16 ether; // 0.08 ether    

    uint256 public phaseThreeTicketSales = 1;
    mapping(address => uint256) public phaseThreeAddressToTickets;

    /**
        Whale mint
     */
    uint256 public constant phaseThreeMaxTicketsPerWhale = 100;
    mapping(address => uint256) public phaseThreeWhaleAddressToTickets;
    bytes32 public whaleMerkleRoot = 0x72c8b62b16c9872b4794735ab30257cf069826f752ed1b8c009f8bb816624995;

    /**
        Security
     */
    mapping(address => uint256) public addressToTicketMints;
    uint256 public constant maxMintPerTx = 30;

    /** Events */
    event SetSlotieNFT(address _slotieNFT);
    event MakePhaseThreeActive(bool _active);
    event MintSloties(address _sender, uint256 _amount);

    constructor(
        address _sloties
    ) Ownable() {
        slotieNFT = SlotieNFT(_sloties);
    }

    function setSlotieNFT(SlotieNFT _slotieNFT) external onlyOwner {
        slotieNFT = _slotieNFT;
        emit SetSlotieNFT(address(_slotieNFT));
    }

    function setWhaleMerkleRoot(bytes32 _root) external onlyOwner {
        whaleMerkleRoot = _root;
    }

    function makePhaseThreeActive(bool _val) external onlyOwner {
        phaseThreeActive = _val;
        emit MakePhaseThreeActive(_val);
    }

    function phaseThreeBuyTickets(
        uint256 amount
    )  external payable {
        require(phaseThreeActive, "PHASE THREE NOT ACTIVE");
        require(amount > 0, "HAVE TO BUY AT LEAST 1");

        require(phaseThreeAddressToTickets[msg.sender].add(amount) <= phaseThreeMaxTicketsPerUser, "INCORRECT TICKET AMOUNT");
        require(msg.value == phaseThreeTicketPrice.mul(amount), "INCORRECT AMOUNT PAID");
        require(phaseThreeTicketSales.add(amount) <= phaseThreeMaxSupply, "PHASE 3 TICKETS SOLD");
        require(phaseThreeWhaleAddressToTickets[msg.sender] == 0, "WHALES NOT ALLOWED");

        phaseThreeAddressToTickets[msg.sender] = phaseThreeAddressToTickets[msg.sender].add(amount);
        phaseThreeTicketSales = phaseThreeTicketSales.add(amount);
    }

    /** WHALE PASS */
    function whaleBuyTicket(uint256 amount, bytes32[] calldata proof) external payable {
        require(phaseThreeActive, "PHASE THREE NOT ACTIVE");
        require(amount > 0, "HAVE TO BUY AT LEAST 1");

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

        require(phaseThreeWhaleAddressToTickets[msg.sender]
            .add(phaseThreeAddressToTickets[msg.sender])
            .add(amount) <= phaseThreeMaxTicketsPerWhale, "INCORRECT TICKET AMOUNT");
        require(msg.value == phaseThreeTicketPrice.mul(amount), "INCORRECT AMOUNT PAID");
        require(phaseThreeTicketSales.add(amount) <= phaseThreeMaxSupply, "PHASE 3 TICKETS SOLD");

        phaseThreeWhaleAddressToTickets[msg.sender] = phaseThreeWhaleAddressToTickets[msg.sender].add(amount);
        phaseThreeTicketSales = phaseThreeTicketSales.add(amount);
    }

    function mintSloties() external {
        uint256 ticketsOfSender = phaseThreeAddressToTickets[msg.sender].add(phaseThreeWhaleAddressToTickets[msg.sender]);
        uint256 mintsOfSender = addressToTicketMints[msg.sender];
        uint256 mintable = ticketsOfSender.sub(mintsOfSender);

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

        uint256 toMint = mintable >= maxMintPerTx ? maxMintPerTx : mintable;
        
        addressToTicketMints[msg.sender] = addressToTicketMints[msg.sender].add(toMint);

        slotieNFT.mintTo(toMint, msg.sender);
        emit MintSloties(msg.sender, toMint);
    }

    /**
     * @dev Allows the owner to withdraw ether
     */
    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
}

File 2 of 7 : 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 7 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 7 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 5 of 7 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 6 of 7 : 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 7 of 7 : 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": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_sloties","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_active","type":"bool"}],"name":"MakePhaseThreeActive","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"MintSloties","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_slotieNFT","type":"address"}],"name":"SetSlotieNFT","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToTicketMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"makePhaseThreeActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxMintPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintSloties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseThreeActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"phaseThreeAddressToTickets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"phaseThreeBuyTickets","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"phaseThreeMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseThreeMaxTicketsPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseThreeMaxTicketsPerWhale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseThreeTicketPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseThreeTicketSales","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"phaseThreeWhaleAddressToTickets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract SlotieNFT","name":"_slotieNFT","type":"address"}],"name":"setSlotieNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWhaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slotieNFT","outputs":[{"internalType":"contract SlotieNFT","name":"","type":"address"}],"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[]"}],"name":"whaleBuyTicket","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001805460ff60a01b191681556002557f72c8b62b16c9872b4794735ab30257cf069826f752ed1b8c009f8bb81662499560055534801561004457600080fd5b506040516112e53803806112e5833981016040819052610063916100e1565b61006c33610091565b600180546001600160a01b0319166001600160a01b0392909216919091179055610111565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100f357600080fd5b81516001600160a01b038116811461010a57600080fd5b9392505050565b6111c5806101206000396000f3fe6080604052600436106101755760003560e01c806395601e11116100cb578063acb8abfd1161007f578063ecb8eae811610059578063ecb8eae8146103c3578063f2fde38b146103df578063fa14c4ec146103ff57600080fd5b8063acb8abfd14610350578063d842cc9414610381578063de7fcb1d146103ae57600080fd5b80639c186a8a116100b05780639c186a8a146102fb5780639f0e65921461031b578063ac2020701461033b57600080fd5b806395601e11146102b857806399637db9146102ce57600080fd5b80635f1bd8821161012d5780637a681baf116101075780637a681baf146102575780637b7dfb181461026d5780638da5cb5b1461029a57600080fd5b80635f1bd882146102185780636c3945221461022d578063715018a61461024257600080fd5b80632f59af5a1161015e5780632f59af5a146101cc5780633ccfd60b146101df57806349ed5fdd146101f457600080fd5b806313b9e7051461017a578063225b31b2146101b7575b600080fd5b34801561018657600080fd5b5060015461019a906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6101ca6101c536600461100e565b61041f565b005b6101ca6101da366004611027565b610691565b3480156101eb57600080fd5b506101ca610982565b34801561020057600080fd5b5061020a611bef81565b6040519081526020016101ae565b34801561022457600080fd5b506101ca610a0b565b34801561023957600080fd5b5061020a600a81565b34801561024e57600080fd5b506101ca610ba2565b34801561026357600080fd5b5061020a60025481565b34801561027957600080fd5b5061020a6102883660046110bb565b60036020526000908152604090205481565b3480156102a657600080fd5b506000546001600160a01b031661019a565b3480156102c457600080fd5b5061020a60055481565b3480156102da57600080fd5b5061020a6102e93660046110bb565b60046020526000908152604090205481565b34801561030757600080fd5b506101ca6103163660046110bb565b610c08565b34801561032757600080fd5b506101ca6103363660046110d8565b610cc4565b34801561034757600080fd5b5061020a606481565b34801561035c57600080fd5b5060015461037190600160a01b900460ff1681565b60405190151581526020016101ae565b34801561038d57600080fd5b5061020a61039c3660046110bb565b60066020526000908152604090205481565b3480156103ba57600080fd5b5061020a601e81565b3480156103cf57600080fd5b5061020a6702386f26fc10000081565b3480156103eb57600080fd5b506101ca6103fa3660046110bb565b610d86565b34801561040b57600080fd5b506101ca61041a36600461100e565b610e65565b600154600160a01b900460ff1661047d5760405162461bcd60e51b815260206004820152601660248201527f5048415345205448524545204e4f54204143544956450000000000000000000060448201526064015b60405180910390fd5b600081116104cd5760405162461bcd60e51b815260206004820152601660248201527f4841564520544f20425559204154204c454153542031000000000000000000006044820152606401610474565b33600090815260036020526040902054600a906104ea9083610ec4565b11156105385760405162461bcd60e51b815260206004820152601760248201527f494e434f5252454354205449434b455420414d4f554e540000000000000000006044820152606401610474565b61054a6702386f26fc10000082610ed7565b34146105985760405162461bcd60e51b815260206004820152601560248201527f494e434f525245435420414d4f554e54205041494400000000000000000000006044820152606401610474565b600254611bef906105a99083610ec4565b11156105f75760405162461bcd60e51b815260206004820152601460248201527f50484153452033205449434b45545320534f4c440000000000000000000000006044820152606401610474565b33600090815260046020526040902054156106545760405162461bcd60e51b815260206004820152601260248201527f5748414c4553204e4f5420414c4c4f57454400000000000000000000000000006044820152606401610474565b3360009081526003602052604090205461066e9082610ec4565b3360009081526003602052604090205560025461068b9082610ec4565b60025550565b600154600160a01b900460ff166106ea5760405162461bcd60e51b815260206004820152601660248201527f5048415345205448524545204e4f5420414354495645000000000000000000006044820152606401610474565b6000831161073a5760405162461bcd60e51b815260206004820152601660248201527f4841564520544f20425559204154204c454153542031000000000000000000006044820152606401610474565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506107b4838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506005549150849050610ee3565b6108005760405162461bcd60e51b815260206004820152600d60248201527f494e56414c49442050524f4f46000000000000000000000000000000000000006044820152606401610474565b3360009081526003602090815260408083205460049092529091205460649161083591879161082f9190610ec4565b90610ec4565b11156108835760405162461bcd60e51b815260206004820152601760248201527f494e434f5252454354205449434b455420414d4f554e540000000000000000006044820152606401610474565b6108956702386f26fc10000085610ed7565b34146108e35760405162461bcd60e51b815260206004820152601560248201527f494e434f525245435420414d4f554e54205041494400000000000000000000006044820152606401610474565b600254611bef906108f49086610ec4565b11156109425760405162461bcd60e51b815260206004820152601460248201527f50484153452033205449434b45545320534f4c440000000000000000000000006044820152606401610474565b3360009081526004602052604090205461095c9085610ec4565b336000908152600460205260409020556002546109799085610ec4565b60025550505050565b6000546001600160a01b031633146109dc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b60405133904780156108fc02916000818181858888f19350505050158015610a08573d6000803e3d6000fd5b50565b336000908152600460209081526040808320546003909252822054610a2f91610ec4565b33600090815260066020526040812054919250610a4c8383610ef9565b905060008111610a9e5760405162461bcd60e51b815260206004820152601360248201527f4e4f204d494e5441424c45205449434b455453000000000000000000000000006044820152606401610474565b6000601e821015610aaf5781610ab2565b601e5b33600090815260066020526040902054909150610acf9082610ec4565b33600081815260066020526040908190209290925560015491517fb723b34e0000000000000000000000000000000000000000000000000000000081526004810184905260248101919091526001600160a01b039091169063b723b34e90604401600060405180830381600087803b158015610b4a57600080fd5b505af1158015610b5e573d6000803e3d6000fd5b505060408051338152602081018590527f49d90f785dada37f5c6ca8b23be7704573cb0ac640ef47e62777b8e6014eb21c935001905060405180910390a150505050565b6000546001600160a01b03163314610bfc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b610c066000610f05565b565b6000546001600160a01b03163314610c625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527f300b488c3102bad859ddcf4bc5b78a89675db93eb0dbe97a85e28f29c5e1d07e906020015b60405180910390a150565b6000546001600160a01b03163314610d1e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b60018054821515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9091161790556040517f40a114fccd4df96aa134f72284b9eefc329a9e18e49061cdef36c7a62522cd8890610cb990831515815260200190565b6000546001600160a01b03163314610de05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b6001600160a01b038116610e5c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610474565b610a0881610f05565b6000546001600160a01b03163314610ebf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b600555565b6000610ed08284611110565b9392505050565b6000610ed08284611128565b600082610ef08584610f62565b14949350505050565b6000610ed08284611147565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081815b8451811015611006576000858281518110610f8457610f8461115e565b60200260200101519050808311610fc6576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250610ff3565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080610ffe81611174565b915050610f67565b509392505050565b60006020828403121561102057600080fd5b5035919050565b60008060006040848603121561103c57600080fd5b83359250602084013567ffffffffffffffff8082111561105b57600080fd5b818601915086601f83011261106f57600080fd5b81358181111561107e57600080fd5b8760208260051b850101111561109357600080fd5b6020830194508093505050509250925092565b6001600160a01b0381168114610a0857600080fd5b6000602082840312156110cd57600080fd5b8135610ed0816110a6565b6000602082840312156110ea57600080fd5b81358015158114610ed057600080fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611123576111236110fa565b500190565b6000816000190483118215151615611142576111426110fa565b500290565b600082821015611159576111596110fa565b500390565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611188576111886110fa565b506001019056fea26469706673582212202f94802413fdc3f9a8ecf7335941827cf5b9ab981db4f646245d74c5e1debc3a64736f6c634300080a00330000000000000000000000005fdb2b0c56afa73b8ca2228e6ab92be90325961d

Deployed Bytecode

0x6080604052600436106101755760003560e01c806395601e11116100cb578063acb8abfd1161007f578063ecb8eae811610059578063ecb8eae8146103c3578063f2fde38b146103df578063fa14c4ec146103ff57600080fd5b8063acb8abfd14610350578063d842cc9414610381578063de7fcb1d146103ae57600080fd5b80639c186a8a116100b05780639c186a8a146102fb5780639f0e65921461031b578063ac2020701461033b57600080fd5b806395601e11146102b857806399637db9146102ce57600080fd5b80635f1bd8821161012d5780637a681baf116101075780637a681baf146102575780637b7dfb181461026d5780638da5cb5b1461029a57600080fd5b80635f1bd882146102185780636c3945221461022d578063715018a61461024257600080fd5b80632f59af5a1161015e5780632f59af5a146101cc5780633ccfd60b146101df57806349ed5fdd146101f457600080fd5b806313b9e7051461017a578063225b31b2146101b7575b600080fd5b34801561018657600080fd5b5060015461019a906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6101ca6101c536600461100e565b61041f565b005b6101ca6101da366004611027565b610691565b3480156101eb57600080fd5b506101ca610982565b34801561020057600080fd5b5061020a611bef81565b6040519081526020016101ae565b34801561022457600080fd5b506101ca610a0b565b34801561023957600080fd5b5061020a600a81565b34801561024e57600080fd5b506101ca610ba2565b34801561026357600080fd5b5061020a60025481565b34801561027957600080fd5b5061020a6102883660046110bb565b60036020526000908152604090205481565b3480156102a657600080fd5b506000546001600160a01b031661019a565b3480156102c457600080fd5b5061020a60055481565b3480156102da57600080fd5b5061020a6102e93660046110bb565b60046020526000908152604090205481565b34801561030757600080fd5b506101ca6103163660046110bb565b610c08565b34801561032757600080fd5b506101ca6103363660046110d8565b610cc4565b34801561034757600080fd5b5061020a606481565b34801561035c57600080fd5b5060015461037190600160a01b900460ff1681565b60405190151581526020016101ae565b34801561038d57600080fd5b5061020a61039c3660046110bb565b60066020526000908152604090205481565b3480156103ba57600080fd5b5061020a601e81565b3480156103cf57600080fd5b5061020a6702386f26fc10000081565b3480156103eb57600080fd5b506101ca6103fa3660046110bb565b610d86565b34801561040b57600080fd5b506101ca61041a36600461100e565b610e65565b600154600160a01b900460ff1661047d5760405162461bcd60e51b815260206004820152601660248201527f5048415345205448524545204e4f54204143544956450000000000000000000060448201526064015b60405180910390fd5b600081116104cd5760405162461bcd60e51b815260206004820152601660248201527f4841564520544f20425559204154204c454153542031000000000000000000006044820152606401610474565b33600090815260036020526040902054600a906104ea9083610ec4565b11156105385760405162461bcd60e51b815260206004820152601760248201527f494e434f5252454354205449434b455420414d4f554e540000000000000000006044820152606401610474565b61054a6702386f26fc10000082610ed7565b34146105985760405162461bcd60e51b815260206004820152601560248201527f494e434f525245435420414d4f554e54205041494400000000000000000000006044820152606401610474565b600254611bef906105a99083610ec4565b11156105f75760405162461bcd60e51b815260206004820152601460248201527f50484153452033205449434b45545320534f4c440000000000000000000000006044820152606401610474565b33600090815260046020526040902054156106545760405162461bcd60e51b815260206004820152601260248201527f5748414c4553204e4f5420414c4c4f57454400000000000000000000000000006044820152606401610474565b3360009081526003602052604090205461066e9082610ec4565b3360009081526003602052604090205560025461068b9082610ec4565b60025550565b600154600160a01b900460ff166106ea5760405162461bcd60e51b815260206004820152601660248201527f5048415345205448524545204e4f5420414354495645000000000000000000006044820152606401610474565b6000831161073a5760405162461bcd60e51b815260206004820152601660248201527f4841564520544f20425559204154204c454153542031000000000000000000006044820152606401610474565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506107b4838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506005549150849050610ee3565b6108005760405162461bcd60e51b815260206004820152600d60248201527f494e56414c49442050524f4f46000000000000000000000000000000000000006044820152606401610474565b3360009081526003602090815260408083205460049092529091205460649161083591879161082f9190610ec4565b90610ec4565b11156108835760405162461bcd60e51b815260206004820152601760248201527f494e434f5252454354205449434b455420414d4f554e540000000000000000006044820152606401610474565b6108956702386f26fc10000085610ed7565b34146108e35760405162461bcd60e51b815260206004820152601560248201527f494e434f525245435420414d4f554e54205041494400000000000000000000006044820152606401610474565b600254611bef906108f49086610ec4565b11156109425760405162461bcd60e51b815260206004820152601460248201527f50484153452033205449434b45545320534f4c440000000000000000000000006044820152606401610474565b3360009081526004602052604090205461095c9085610ec4565b336000908152600460205260409020556002546109799085610ec4565b60025550505050565b6000546001600160a01b031633146109dc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b60405133904780156108fc02916000818181858888f19350505050158015610a08573d6000803e3d6000fd5b50565b336000908152600460209081526040808320546003909252822054610a2f91610ec4565b33600090815260066020526040812054919250610a4c8383610ef9565b905060008111610a9e5760405162461bcd60e51b815260206004820152601360248201527f4e4f204d494e5441424c45205449434b455453000000000000000000000000006044820152606401610474565b6000601e821015610aaf5781610ab2565b601e5b33600090815260066020526040902054909150610acf9082610ec4565b33600081815260066020526040908190209290925560015491517fb723b34e0000000000000000000000000000000000000000000000000000000081526004810184905260248101919091526001600160a01b039091169063b723b34e90604401600060405180830381600087803b158015610b4a57600080fd5b505af1158015610b5e573d6000803e3d6000fd5b505060408051338152602081018590527f49d90f785dada37f5c6ca8b23be7704573cb0ac640ef47e62777b8e6014eb21c935001905060405180910390a150505050565b6000546001600160a01b03163314610bfc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b610c066000610f05565b565b6000546001600160a01b03163314610c625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527f300b488c3102bad859ddcf4bc5b78a89675db93eb0dbe97a85e28f29c5e1d07e906020015b60405180910390a150565b6000546001600160a01b03163314610d1e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b60018054821515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9091161790556040517f40a114fccd4df96aa134f72284b9eefc329a9e18e49061cdef36c7a62522cd8890610cb990831515815260200190565b6000546001600160a01b03163314610de05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b6001600160a01b038116610e5c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610474565b610a0881610f05565b6000546001600160a01b03163314610ebf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610474565b600555565b6000610ed08284611110565b9392505050565b6000610ed08284611128565b600082610ef08584610f62565b14949350505050565b6000610ed08284611147565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081815b8451811015611006576000858281518110610f8457610f8461115e565b60200260200101519050808311610fc6576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250610ff3565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080610ffe81611174565b915050610f67565b509392505050565b60006020828403121561102057600080fd5b5035919050565b60008060006040848603121561103c57600080fd5b83359250602084013567ffffffffffffffff8082111561105b57600080fd5b818601915086601f83011261106f57600080fd5b81358181111561107e57600080fd5b8760208260051b850101111561109357600080fd5b6020830194508093505050509250925092565b6001600160a01b0381168114610a0857600080fd5b6000602082840312156110cd57600080fd5b8135610ed0816110a6565b6000602082840312156110ea57600080fd5b81358015158114610ed057600080fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611123576111236110fa565b500190565b6000816000190483118215151615611142576111426110fa565b500290565b600082821015611159576111596110fa565b500390565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611188576111886110fa565b506001019056fea26469706673582212202f94802413fdc3f9a8ecf7335941827cf5b9ab981db4f646245d74c5e1debc3a64736f6c634300080a0033

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

0000000000000000000000005fdb2b0c56afa73b8ca2228e6ab92be90325961d

-----Decoded View---------------
Arg [0] : _sloties (address): 0x5fdB2B0C56Afa73B8ca2228e6aB92Be90325961d

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


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.