Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 6,775 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint Sloties | 14106689 | 907 days ago | IN | 0 ETH | 0.00904891 | ||||
Mint Sloties | 14087338 | 910 days ago | IN | 0 ETH | 0.018074 | ||||
Mint Sloties | 13852576 | 947 days ago | IN | 0 ETH | 0.00196268 | ||||
Mint Sloties | 13824467 | 951 days ago | IN | 0 ETH | 0.00186107 | ||||
Mint Sloties | 13824464 | 951 days ago | IN | 0 ETH | 0.00188131 | ||||
Phase Three Buy ... | 13813479 | 953 days ago | IN | 0.16 ETH | 0.00242172 | ||||
Phase Three Buy ... | 13813479 | 953 days ago | IN | 0.16 ETH | 0.00242172 | ||||
Phase Three Buy ... | 13811426 | 953 days ago | IN | 0.16 ETH | 0.00323992 | ||||
Mint Sloties | 13811377 | 953 days ago | IN | 0 ETH | 0.01490098 | ||||
Mint Sloties | 13809404 | 953 days ago | IN | 0 ETH | 0.00586353 | ||||
Mint Sloties | 13806574 | 954 days ago | IN | 0 ETH | 0.03553147 | ||||
Mint Sloties | 13805278 | 954 days ago | IN | 0 ETH | 0.00698783 | ||||
Mint Sloties | 13804783 | 954 days ago | IN | 0 ETH | 0.00825905 | ||||
Mint Sloties | 13802752 | 954 days ago | IN | 0 ETH | 0.0151868 | ||||
Mint Sloties | 13799049 | 955 days ago | IN | 0 ETH | 0.01008852 | ||||
Phase Three Buy ... | 13798581 | 955 days ago | IN | 0.16 ETH | 0.00305956 | ||||
Phase Three Buy ... | 13798572 | 955 days ago | IN | 0.16 ETH | 0.00335008 | ||||
Mint Sloties | 13797633 | 955 days ago | IN | 0 ETH | 0.01565627 | ||||
Mint Sloties | 13796943 | 955 days ago | IN | 0 ETH | 0.00391746 | ||||
Mint Sloties | 13795218 | 956 days ago | IN | 0 ETH | 0.0084391 | ||||
Mint Sloties | 13795065 | 956 days ago | IN | 0 ETH | 0.0073428 | ||||
Mint Sloties | 13794113 | 956 days ago | IN | 0 ETH | 0.0078036 | ||||
Phase Three Buy ... | 13793552 | 956 days ago | IN | 0.16 ETH | 0.00196647 | ||||
Phase Three Buy ... | 13793552 | 956 days ago | IN | 0.16 ETH | 0.00196647 | ||||
Mint Sloties | 13793170 | 956 days ago | IN | 0 ETH | 0.01324514 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
13760607 | 961 days ago | 1,144 ETH |
Loading...
Loading
Contract Name:
SlotiePublicSale
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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); } }
// 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); } }
// 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; } } }
// 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)); } }
// 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); } }
// 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; } }
// 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; } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.