Robinhood MainnetChain ID: 4663
Contract detail

LaunchGate

LaunchGate is a verified Robinhood Chain smart contract at 0x00ef8292…87222b2d with 0 indexed transactions.

Address type
Smart contract
Transactions
0
History coverage
No indexed activity found
Verification
Verified
Compiler
0.8.26+commit.8a97fa7a
Verification match
exact
Creation transaction
0xf6344f7f…8113f48b
Created at block
#42652699
Language
Solidity
EVM version
cancun
License
MIT
Compiler optimization
Enabled · 200 runs
Deployed bytecode hash
0x1b3bb14e2cdeb6e5505a200bc648eaf482fe33724d659106bc18e86591c72eb3
Verified contract

Contract source code

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;

interface ILaunchGate {
    function isOpen() external view returns (bool);
}

/// @notice Immutable scheduled launch gate shared by the public protocol entrypoints on one chain.
/// @dev A release remains closed until the first block whose timestamp reaches `opensAt`. No
/// transaction, account, or privileged role can open it early, delay it, or close it afterward.
contract LaunchGate is ILaunchGate {
    error InvalidOpeningTime();

    uint64 public immutable opensAt;

    constructor(uint64 opensAt_) {
        if (opensAt_ <= block.timestamp) revert InvalidOpeningTime();
        opensAt = opensAt_;
    }

    function isOpen() external view override returns (bool) {
        return block.timestamp >= opensAt;
    }
}