Abstract Testnet

Contract

0xe9cEB9b409A07c611b527b682DFD739210F27824

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Parent Transaction Hash Block From To
57660232025-02-04 18:57:115 days ago1738695431  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SleepTrump

Compiler Version
v0.8.24+commit.e11b9ed9

ZkSolc Version
v1.5.11

Optimization Enabled:
Yes with Mode 3

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : SleepTrump.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

contract SleepTrump {
    function letTrump() public pure virtual returns (string memory) {
        return "Trump, Trump!!";
    }
}

// Uncomment this line to use console.log
// import "hardhat/console.sol";

contract Lock {
    uint public unlockTime;
    address payable public owner;

    event Withdrawal(uint amount, uint when);

    constructor(uint _unlockTime) payable {
        require(
            block.timestamp < _unlockTime,
            "Unlock time should be in the future"
        );

        unlockTime = _unlockTime;
        owner = payable(msg.sender);
    }

    function withdraw() public {
        // Uncomment this line, and the import of "hardhat/console.sol", to print a log in your terminal
        // console.log("Unlock time is %o and block timestamp is %o", unlockTime, block.timestamp);

        require(block.timestamp >= unlockTime, "You can't withdraw yet");
        require(msg.sender == owner, "You aren't the owner");

        emit Withdrawal(address(this).balance, block.timestamp);

         // Updated line to use call instead of transfer
        owner.call{value: address(this).balance}("");
    
    }
}

Settings
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": true,
    "mode": "3"
  },
  "outputSelection": {
    "*": {
      "*": [
        "abi"
      ]
    }
  },
  "detectMissingLibraries": false,
  "forceEVMLA": false,
  "enableEraVMExtensions": true,
  "libraries": {}
}

Contract ABI

[{"inputs":[],"name":"letTrump","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"}]

9c4d535b00000000000000000000000000000000000000000000000000000000000000000100001138841a90c8438967a0fead3ebabe4a5c11b0beab1f81c9625eedb7e100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x0000000100200190000000180000c13d0000000b00100198000000220000613d000000000101043b0000000c011001970000000d0010009c000000220000c13d0000000001000416000000000001004b000000220000c13d000000c001000039000000400010043f0000000e01000039000000800010043f0000000e02000041000000a00020043f0000002003000039000000c00030043f000000e00010043f000001000020043f0000010e0000043f0000000f01000041000000250001042e0000008001000039000000400010043f0000000001000416000000000001004b000000220000c13d0000002001000039000001000010044300000120000004430000000a01000041000000250001042e000000000100001900000026000104300000002400000432000000250001042e00000026000104300000000000000000000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000fffffffc000000000000000000000000ffffffff0000000000000000000000000000000000000000000000000000000044a215e3000000000000000000000000000000000000000000000000000000005472756d702c205472756d7021210000000000000000000000000000000000000000000000000000000000000000000000000060000000c00000000000000000020b28cb312c9ad50cbf299cb3ed206ec15e46c21e227318cf0bfb4a5494d3ab

Block Transaction 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
[ 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.