ETH Price: $3,353.87 (+2.79%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw148282902022-05-23 7:34:28984 days ago1653291268IN
0x84aCE55D...F27657946
0 ETH0.0007459221.01445226
Set Sale Stage148282452022-05-23 7:23:31984 days ago1653290611IN
0x84aCE55D...F27657946
0 ETH0.0005626619.56075594
Public Mint148282292022-05-23 7:18:26984 days ago1653290306IN
0x84aCE55D...F27657946
0.14 ETH0.0005353620.65149189
Public Mint148282292022-05-23 7:18:26984 days ago1653290306IN
0x84aCE55D...F27657946
0.07 ETH0.0005353620.65149189
Public Mint148282202022-05-23 7:15:32984 days ago1653290132IN
0x84aCE55D...F27657946
0.07 ETH0.0004631717.86648466
Public Mint148282202022-05-23 7:15:32984 days ago1653290132IN
0x84aCE55D...F27657946
0.14 ETH0.0017805717.86648466
Public Mint148282172022-05-23 7:15:00984 days ago1653290100IN
0x84aCE55D...F27657946
0.07 ETH0.0017183119.49992538
Public Mint148281942022-05-23 7:09:30984 days ago1653289770IN
0x84aCE55D...F27657946
0.14 ETH0.0020423317.49176387
Public Mint148281912022-05-23 7:08:46984 days ago1653289726IN
0x84aCE55D...F27657946
0.14 ETH0.0023243219.90682802
Public Mint148281892022-05-23 7:08:27984 days ago1653289707IN
0x84aCE55D...F27657946
0.28 ETH0.0031256819.91617282
Public Mint148281882022-05-23 7:08:16984 days ago1653289696IN
0x84aCE55D...F27657946
0.28 ETH0.0034346419.73459421
Public Mint148281852022-05-23 7:07:43984 days ago1653289663IN
0x84aCE55D...F27657946
0.28 ETH0.0037214721.38262604
Public Mint148281802022-05-23 7:06:42984 days ago1653289602IN
0x84aCE55D...F27657946
0.28 ETH0.0039368122.61992701
Public Mint148281742022-05-23 7:04:59984 days ago1653289499IN
0x84aCE55D...F27657946
0.28 ETH0.0039028522.42480114
Public Mint148281682022-05-23 7:03:37984 days ago1653289417IN
0x84aCE55D...F27657946
0.28 ETH0.004118923.66617186
Public Mint148281602022-05-23 7:01:27984 days ago1653289287IN
0x84aCE55D...F27657946
0.07 ETH0.0018581721.0871524
Public Mint148281602022-05-23 7:01:27984 days ago1653289287IN
0x84aCE55D...F27657946
0.07 ETH0.0018581721.0871524
Public Mint148280862022-05-23 6:42:11984 days ago1653288131IN
0x84aCE55D...F27657946
0.28 ETH0.0023035714.67786183
Public Mint148279882022-05-23 6:21:58984 days ago1653286918IN
0x84aCE55D...F27657946
0.07 ETH0.0009346513.1605722
Public Mint148278722022-05-23 6:00:00984 days ago1653285600IN
0x84aCE55D...F27657946
0.07 ETH0.0019958228.10269175
Public Mint148278072022-05-23 5:41:14984 days ago1653284474IN
0x84aCE55D...F27657946
0.07 ETH0.0014451620.34903762
Public Mint148278042022-05-23 5:40:40984 days ago1653284440IN
0x84aCE55D...F27657946
0.07 ETH0.0020073922.78050863
Public Mint148277962022-05-23 5:38:39984 days ago1653284319IN
0x84aCE55D...F27657946
0.07 ETH0.001682919.09811209
Public Mint148276882022-05-23 5:16:06984 days ago1653282966IN
0x84aCE55D...F27657946
0.28 ETH0.0038924522.36501799
Public Mint148276732022-05-23 5:12:53984 days ago1653282773IN
0x84aCE55D...F27657946
0.07 ETH0.0017623820
View all transactions

Latest 6 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
148282902022-05-23 7:34:28984 days ago1653291268
0x84aCE55D...F27657946
47.33447433 ETH
148245502022-05-22 16:59:35984 days ago1653238775
0x84aCE55D...F27657946
33.4 ETH
148237742022-05-22 13:57:16984 days ago1653227836
0x84aCE55D...F27657946
31.7 ETH
148228252022-05-22 10:21:50985 days ago1653214910
0x84aCE55D...F27657946
29 ETH
148228222022-05-22 10:20:37985 days ago1653214837
0x84aCE55D...F27657946
0.1 ETH
148228172022-05-22 10:18:27985 days ago1653214707
0x84aCE55D...F27657946
0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Seller

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : Seller.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

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

import "./IMinted.sol";
import "./ITicket.sol";

error SaleInactive();
error SoldOut();
error InvalidPrice();
error ExceedQuota();
error WithdrawFailed();
error FreezeMint();

contract Seller is Ownable {

    uint256 public nextTokenId = 1;

    uint256 public allowlistPrice = 0.05 ether;
    uint256 public publicPrice = 0.07 ether;

    uint256 public constant MAX_MINT = 4;
    uint256 public constant MAX_SUPPLY = 2048;

    // 0: closed; 1: allowlist mint; 2: public mint
    uint8 public saleStage;

    address public beneficiary;

    ITicket public ticket;
    IMinted public token;

    bool public isDevMintFreeze;

    constructor(address ticket_) {
        ticket = ITicket(ticket_);
    }

    /**
     * Public functions
     */
    function allowlistMint(bytes[] calldata _signatures, uint256[] calldata spotIds)
        external
        payable
    {
        uint256 _nextTokenId = nextTokenId;
        // must be allowlist mint stage
        if (saleStage != 1) revert SaleInactive();
        // offset by 1 because we start at 1, and nextTokenId is incremented _after_ mint
        if (_nextTokenId + (spotIds.length - 1) > MAX_SUPPLY) revert SoldOut();
        // cannot mint exceed 4 catddles
        if (spotIds.length > MAX_MINT) revert ExceedQuota();
        if (msg.value < allowlistPrice * spotIds.length) revert InvalidPrice();

        for (uint256 i = 0; i < spotIds.length; i++) {
            // invalidate the spotId passed in
            ticket.claimAllowlistSpot(_signatures[i], msg.sender, spotIds[i]);
            token.authorizedMint(msg.sender, _nextTokenId);

            unchecked {
                _nextTokenId++;
            }
        }
        // update nextTokenId
        nextTokenId = _nextTokenId;
    }

    function publicMint(uint256 amount)
        external
        payable
    {
        uint256 _nextTokenId = nextTokenId;
        // must be public mint stage
        if (saleStage != 2) revert SaleInactive();
        // offset by 1 because we start at 1, and nextTokenId is incremented _after_ mint
        if (_nextTokenId + (amount - 1) > MAX_SUPPLY) revert SoldOut();
        // cannot mint exceed 4 catddles
        if (amount > MAX_MINT) revert ExceedQuota();
        if (msg.value < publicPrice * amount) revert InvalidPrice();

        for (uint256 i = 0; i < amount; i++) {
            token.authorizedMint(msg.sender, _nextTokenId);

            unchecked {
                _nextTokenId++;
            }
        }
        // update nextTokenId
        nextTokenId = _nextTokenId;
    }

    /**
     *  OnlyOwner functions
     */

    function setToken(address tokenAddress) public onlyOwner {
        token = IMinted(tokenAddress);
    }

    function setTicket(address ticket_) public onlyOwner {
        ticket = ITicket(ticket_);
    }

    function setSaleStage(uint8 stage) public onlyOwner {
        saleStage = stage;
    }

    function setAllowlistPrice(uint256 price) public onlyOwner {
        allowlistPrice = price;
    }

    function setPublicPrice(uint256 price) public onlyOwner {
        publicPrice = price;
    }

    function freezeDevMint() public onlyOwner {
        // freeze dev mint forever
        isDevMintFreeze = true;
    }

    function devMint(address receiver, uint256 amount) public onlyOwner {
        if (isDevMintFreeze) revert FreezeMint();
        uint256 _nextTokenId = nextTokenId;
        if (_nextTokenId + (amount - 1) > MAX_SUPPLY) revert SoldOut();

        for (uint256 i = 0; i < amount; i++) {
            token.authorizedMint(receiver, _nextTokenId);

            unchecked {
                _nextTokenId++;
            }
        }
        nextTokenId = _nextTokenId;
    }

    function setBeneficiary(address beneficiary_) public onlyOwner {
        beneficiary = beneficiary_;
    }

    function withdraw(uint256 amount) public onlyOwner {
        require(beneficiary != address(0), "Cannot withdraw to zero address");
        require(amount <= address(this).balance, "Cannot withdraw exceed balance");
        (bool success, ) = beneficiary.call{value: amount}("");
        if (!success) {
            revert WithdrawFailed();
        }
    }
   
}

File 2 of 5 : ITicket.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface ITicket {
   function claimAllowlistSpot(bytes calldata _signature, address user, uint256 spotId) external;
}

File 3 of 5 : IMinted.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IMinted {
   function authorizedMint(address user, uint256 tokenId) external;
}

File 4 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"ticket_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ExceedQuota","type":"error"},{"inputs":[],"name":"FreezeMint","type":"error"},{"inputs":[],"name":"InvalidPrice","type":"error"},{"inputs":[],"name":"SaleInactive","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"_signatures","type":"bytes[]"},{"internalType":"uint256[]","name":"spotIds","type":"uint256[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allowlistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeDevMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isDevMintFreeze","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setAllowlistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary_","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"stage","type":"uint8"}],"name":"setSaleStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ticket_","type":"address"}],"name":"setTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ticket","outputs":[{"internalType":"contract ITicket","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IMinted","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"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001805566b1a2bc2ec5000060025566f8b0a10e47000060035534801561002a57600080fd5b506040516110b43803806110b4833981016040819052610049916100c7565b61005233610077565b600580546001600160a01b0319166001600160a01b03929092169190911790556100f7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d957600080fd5b81516001600160a01b03811681146100f057600080fd5b9392505050565b610fae806101066000396000f3fe60806040526004361061014b5760003560e01c806375794a3c116100b6578063b82c8f251161006f578063b82c8f2514610374578063c6275255146103a5578063f0292a03146103c5578063f2fde38b146103da578063f48a2e03146103fa578063fc0c546a1461041a57600080fd5b806375794a3c146102e157806380c47a29146102f75780638da5cb5b1461030a57806390967a5214610328578063a945bf801461033e578063b44c57671461035457600080fd5b806338af3eed1161010857806338af3eed1461020e578063463bd3d01461024b5780634aaca86d14610260578063627804af1461028c5780636cc25db7146102ac578063715018a6146102cc57600080fd5b8063144fa6d7146101505780631c31f710146101725780631c65c78b146101925780632db11544146101b25780632e1a7d4d146101c557806332cb6b0c146101e5575b600080fd5b34801561015c57600080fd5b5061017061016b366004610ce0565b61043a565b005b34801561017e57600080fd5b5061017061018d366004610ce0565b61048f565b34801561019e57600080fd5b506101706101ad366004610ce0565b6104e1565b6101706101c0366004610d02565b61052d565b3480156101d157600080fd5b506101706101e0366004610d02565b61066b565b3480156101f157600080fd5b506101fb61080081565b6040519081526020015b60405180910390f35b34801561021a57600080fd5b506004546102339061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610205565b34801561025757600080fd5b506101706107bf565b34801561026c57600080fd5b5060045461027a9060ff1681565b60405160ff9091168152602001610205565b34801561029857600080fd5b506101706102a7366004610d1b565b6107fe565b3480156102b857600080fd5b50600554610233906001600160a01b031681565b3480156102d857600080fd5b50610170610921565b3480156102ed57600080fd5b506101fb60015481565b610170610305366004610d91565b610957565b34801561031657600080fd5b506000546001600160a01b0316610233565b34801561033457600080fd5b506101fb60025481565b34801561034a57600080fd5b506101fb60035481565b34801561036057600080fd5b5061017061036f366004610dfd565b610b3b565b34801561038057600080fd5b5060065461039590600160a01b900460ff1681565b6040519015158152602001610205565b3480156103b157600080fd5b506101706103c0366004610d02565b610b7b565b3480156103d157600080fd5b506101fb600481565b3480156103e657600080fd5b506101706103f5366004610ce0565b610baa565b34801561040657600080fd5b50610170610415366004610d02565b610c45565b34801561042657600080fd5b50600654610233906001600160a01b031681565b6000546001600160a01b0316331461046d5760405162461bcd60e51b815260040161046490610e20565b60405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104b95760405162461bcd60e51b815260040161046490610e20565b600480546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000546001600160a01b0316331461050b5760405162461bcd60e51b815260040161046490610e20565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60015460045460ff1660021461055657604051630fe219dd60e21b815260040160405180910390fd5b610800610564600184610e6b565b61056e9083610e82565b111561058d576040516352df9fe560e01b815260040160405180910390fd5b60048211156105af57604051630579cdc560e41b815260040160405180910390fd5b816003546105bd9190610e9a565b3410156105dc5760405162bfc92160e01b815260040160405180910390fd5b60005b82811015610664576006546040516373b8d9c760e01b8152336004820152602481018490526001600160a01b03909116906373b8d9c790604401600060405180830381600087803b15801561063357600080fd5b505af1158015610647573d6000803e3d6000fd5b50506001909301925081905061065c81610eb9565b9150506105df565b5060015550565b6000546001600160a01b031633146106955760405162461bcd60e51b815260040161046490610e20565b60045461010090046001600160a01b03166106f25760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f7420776974686472617720746f207a65726f2061646472657373006044820152606401610464565b478111156107425760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f74207769746864726177206578636565642062616c616e636500006044820152606401610464565b60045460405160009161010090046001600160a01b03169083908381818185875af1925050503d8060008114610794576040519150601f19603f3d011682016040523d82523d6000602084013e610799565b606091505b50509050806107bb57604051631d42c86760e21b815260040160405180910390fd5b5050565b6000546001600160a01b031633146107e95760405162461bcd60e51b815260040161046490610e20565b6006805460ff60a01b1916600160a01b179055565b6000546001600160a01b031633146108285760405162461bcd60e51b815260040161046490610e20565b600654600160a01b900460ff1615610853576040516351a568bb60e11b815260040160405180910390fd5b6001805490610800906108669084610e6b565b6108709083610e82565b111561088f576040516352df9fe560e01b815260040160405180910390fd5b60005b82811015610919576006546040516373b8d9c760e01b81526001600160a01b03868116600483015260248201859052909116906373b8d9c790604401600060405180830381600087803b1580156108e857600080fd5b505af11580156108fc573d6000803e3d6000fd5b50506001909301925081905061091181610eb9565b915050610892565b506001555050565b6000546001600160a01b0316331461094b5760405162461bcd60e51b815260040161046490610e20565b6109556000610c74565b565b60018054600454909160ff9091161461098357604051630fe219dd60e21b815260040160405180910390fd5b610800610991600184610e6b565b61099b9083610e82565b11156109ba576040516352df9fe560e01b815260040160405180910390fd5b60048211156109dc57604051630579cdc560e41b815260040160405180910390fd5b6002546109ea908390610e9a565b341015610a095760405162bfc92160e01b815260040160405180910390fd5b60005b82811015610b31576005546001600160a01b0316632ded180d878784818110610a3757610a37610ed2565b9050602002810190610a499190610ee8565b33888887818110610a5c57610a5c610ed2565b905060200201356040518563ffffffff1660e01b8152600401610a829493929190610f2f565b600060405180830381600087803b158015610a9c57600080fd5b505af1158015610ab0573d6000803e3d6000fd5b50506006546040516373b8d9c760e01b8152336004820152602481018690526001600160a01b0390911692506373b8d9c79150604401600060405180830381600087803b158015610b0057600080fd5b505af1158015610b14573d6000803e3d6000fd5b505060019093019250819050610b2981610eb9565b915050610a0c565b5060015550505050565b6000546001600160a01b03163314610b655760405162461bcd60e51b815260040161046490610e20565b6004805460ff191660ff92909216919091179055565b6000546001600160a01b03163314610ba55760405162461bcd60e51b815260040161046490610e20565b600355565b6000546001600160a01b03163314610bd45760405162461bcd60e51b815260040161046490610e20565b6001600160a01b038116610c395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610464565b610c4281610c74565b50565b6000546001600160a01b03163314610c6f5760405162461bcd60e51b815260040161046490610e20565b600255565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610cdb57600080fd5b919050565b600060208284031215610cf257600080fd5b610cfb82610cc4565b9392505050565b600060208284031215610d1457600080fd5b5035919050565b60008060408385031215610d2e57600080fd5b610d3783610cc4565b946020939093013593505050565b60008083601f840112610d5757600080fd5b50813567ffffffffffffffff811115610d6f57600080fd5b6020830191508360208260051b8501011115610d8a57600080fd5b9250929050565b60008060008060408587031215610da757600080fd5b843567ffffffffffffffff80821115610dbf57600080fd5b610dcb88838901610d45565b90965094506020870135915080821115610de457600080fd5b50610df187828801610d45565b95989497509550505050565b600060208284031215610e0f57600080fd5b813560ff81168114610cfb57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015610e7d57610e7d610e55565b500390565b60008219821115610e9557610e95610e55565b500190565b6000816000190483118215151615610eb457610eb4610e55565b500290565b600060018201610ecb57610ecb610e55565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112610eff57600080fd5b83018035915067ffffffffffffffff821115610f1a57600080fd5b602001915036819003821315610d8a57600080fd5b6060815283606082015283856080830137600060808583018101919091526001600160a01b039390931660208201526040810191909152601f909201601f19169091010191905056fea26469706673582212201a12c2103ef3bb33043a20abed4444e5089c3a6fbf554543fe1c974ff72767a364736f6c634300080e0033000000000000000000000000026612ff6652e55273bce997538e85cd40c944f0

Deployed Bytecode

0x60806040526004361061014b5760003560e01c806375794a3c116100b6578063b82c8f251161006f578063b82c8f2514610374578063c6275255146103a5578063f0292a03146103c5578063f2fde38b146103da578063f48a2e03146103fa578063fc0c546a1461041a57600080fd5b806375794a3c146102e157806380c47a29146102f75780638da5cb5b1461030a57806390967a5214610328578063a945bf801461033e578063b44c57671461035457600080fd5b806338af3eed1161010857806338af3eed1461020e578063463bd3d01461024b5780634aaca86d14610260578063627804af1461028c5780636cc25db7146102ac578063715018a6146102cc57600080fd5b8063144fa6d7146101505780631c31f710146101725780631c65c78b146101925780632db11544146101b25780632e1a7d4d146101c557806332cb6b0c146101e5575b600080fd5b34801561015c57600080fd5b5061017061016b366004610ce0565b61043a565b005b34801561017e57600080fd5b5061017061018d366004610ce0565b61048f565b34801561019e57600080fd5b506101706101ad366004610ce0565b6104e1565b6101706101c0366004610d02565b61052d565b3480156101d157600080fd5b506101706101e0366004610d02565b61066b565b3480156101f157600080fd5b506101fb61080081565b6040519081526020015b60405180910390f35b34801561021a57600080fd5b506004546102339061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610205565b34801561025757600080fd5b506101706107bf565b34801561026c57600080fd5b5060045461027a9060ff1681565b60405160ff9091168152602001610205565b34801561029857600080fd5b506101706102a7366004610d1b565b6107fe565b3480156102b857600080fd5b50600554610233906001600160a01b031681565b3480156102d857600080fd5b50610170610921565b3480156102ed57600080fd5b506101fb60015481565b610170610305366004610d91565b610957565b34801561031657600080fd5b506000546001600160a01b0316610233565b34801561033457600080fd5b506101fb60025481565b34801561034a57600080fd5b506101fb60035481565b34801561036057600080fd5b5061017061036f366004610dfd565b610b3b565b34801561038057600080fd5b5060065461039590600160a01b900460ff1681565b6040519015158152602001610205565b3480156103b157600080fd5b506101706103c0366004610d02565b610b7b565b3480156103d157600080fd5b506101fb600481565b3480156103e657600080fd5b506101706103f5366004610ce0565b610baa565b34801561040657600080fd5b50610170610415366004610d02565b610c45565b34801561042657600080fd5b50600654610233906001600160a01b031681565b6000546001600160a01b0316331461046d5760405162461bcd60e51b815260040161046490610e20565b60405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104b95760405162461bcd60e51b815260040161046490610e20565b600480546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000546001600160a01b0316331461050b5760405162461bcd60e51b815260040161046490610e20565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60015460045460ff1660021461055657604051630fe219dd60e21b815260040160405180910390fd5b610800610564600184610e6b565b61056e9083610e82565b111561058d576040516352df9fe560e01b815260040160405180910390fd5b60048211156105af57604051630579cdc560e41b815260040160405180910390fd5b816003546105bd9190610e9a565b3410156105dc5760405162bfc92160e01b815260040160405180910390fd5b60005b82811015610664576006546040516373b8d9c760e01b8152336004820152602481018490526001600160a01b03909116906373b8d9c790604401600060405180830381600087803b15801561063357600080fd5b505af1158015610647573d6000803e3d6000fd5b50506001909301925081905061065c81610eb9565b9150506105df565b5060015550565b6000546001600160a01b031633146106955760405162461bcd60e51b815260040161046490610e20565b60045461010090046001600160a01b03166106f25760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f7420776974686472617720746f207a65726f2061646472657373006044820152606401610464565b478111156107425760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f74207769746864726177206578636565642062616c616e636500006044820152606401610464565b60045460405160009161010090046001600160a01b03169083908381818185875af1925050503d8060008114610794576040519150601f19603f3d011682016040523d82523d6000602084013e610799565b606091505b50509050806107bb57604051631d42c86760e21b815260040160405180910390fd5b5050565b6000546001600160a01b031633146107e95760405162461bcd60e51b815260040161046490610e20565b6006805460ff60a01b1916600160a01b179055565b6000546001600160a01b031633146108285760405162461bcd60e51b815260040161046490610e20565b600654600160a01b900460ff1615610853576040516351a568bb60e11b815260040160405180910390fd5b6001805490610800906108669084610e6b565b6108709083610e82565b111561088f576040516352df9fe560e01b815260040160405180910390fd5b60005b82811015610919576006546040516373b8d9c760e01b81526001600160a01b03868116600483015260248201859052909116906373b8d9c790604401600060405180830381600087803b1580156108e857600080fd5b505af11580156108fc573d6000803e3d6000fd5b50506001909301925081905061091181610eb9565b915050610892565b506001555050565b6000546001600160a01b0316331461094b5760405162461bcd60e51b815260040161046490610e20565b6109556000610c74565b565b60018054600454909160ff9091161461098357604051630fe219dd60e21b815260040160405180910390fd5b610800610991600184610e6b565b61099b9083610e82565b11156109ba576040516352df9fe560e01b815260040160405180910390fd5b60048211156109dc57604051630579cdc560e41b815260040160405180910390fd5b6002546109ea908390610e9a565b341015610a095760405162bfc92160e01b815260040160405180910390fd5b60005b82811015610b31576005546001600160a01b0316632ded180d878784818110610a3757610a37610ed2565b9050602002810190610a499190610ee8565b33888887818110610a5c57610a5c610ed2565b905060200201356040518563ffffffff1660e01b8152600401610a829493929190610f2f565b600060405180830381600087803b158015610a9c57600080fd5b505af1158015610ab0573d6000803e3d6000fd5b50506006546040516373b8d9c760e01b8152336004820152602481018690526001600160a01b0390911692506373b8d9c79150604401600060405180830381600087803b158015610b0057600080fd5b505af1158015610b14573d6000803e3d6000fd5b505060019093019250819050610b2981610eb9565b915050610a0c565b5060015550505050565b6000546001600160a01b03163314610b655760405162461bcd60e51b815260040161046490610e20565b6004805460ff191660ff92909216919091179055565b6000546001600160a01b03163314610ba55760405162461bcd60e51b815260040161046490610e20565b600355565b6000546001600160a01b03163314610bd45760405162461bcd60e51b815260040161046490610e20565b6001600160a01b038116610c395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610464565b610c4281610c74565b50565b6000546001600160a01b03163314610c6f5760405162461bcd60e51b815260040161046490610e20565b600255565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610cdb57600080fd5b919050565b600060208284031215610cf257600080fd5b610cfb82610cc4565b9392505050565b600060208284031215610d1457600080fd5b5035919050565b60008060408385031215610d2e57600080fd5b610d3783610cc4565b946020939093013593505050565b60008083601f840112610d5757600080fd5b50813567ffffffffffffffff811115610d6f57600080fd5b6020830191508360208260051b8501011115610d8a57600080fd5b9250929050565b60008060008060408587031215610da757600080fd5b843567ffffffffffffffff80821115610dbf57600080fd5b610dcb88838901610d45565b90965094506020870135915080821115610de457600080fd5b50610df187828801610d45565b95989497509550505050565b600060208284031215610e0f57600080fd5b813560ff81168114610cfb57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015610e7d57610e7d610e55565b500390565b60008219821115610e9557610e95610e55565b500190565b6000816000190483118215151615610eb457610eb4610e55565b500290565b600060018201610ecb57610ecb610e55565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112610eff57600080fd5b83018035915067ffffffffffffffff821115610f1a57600080fd5b602001915036819003821315610d8a57600080fd5b6060815283606082015283856080830137600060808583018101919091526001600160a01b039390931660208201526040810191909152601f909201601f19169091010191905056fea26469706673582212201a12c2103ef3bb33043a20abed4444e5089c3a6fbf554543fe1c974ff72767a364736f6c634300080e0033

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

000000000000000000000000026612ff6652e55273bce997538e85cd40c944f0

-----Decoded View---------------
Arg [0] : ticket_ (address): 0x026612Ff6652e55273bCE997538e85cd40c944f0

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000026612ff6652e55273bce997538e85cd40c944f0


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.