Skip to content
Verified contractExactMIT

Announcer

Address0xf64b4d82fea3b4fc03cbe7dd87b3abc13a0df437
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.26

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.26+commit.8a97fa7a
Language
solidity
Optimization
Yes, 200 runs
EVM version
cancun
Via IR
yes
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,256,413
Creation transaction
0x5e89c6c835…39bb45645b

src/Announcer.sol

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

contract Announcer {
    string public constant BootMode = "1";
    string public constant x = "https://x.com/Shroud_Privacy";
    string public constant web = "https://shroudpriv.com/";
    uint256 public announcements;

    event Announcement(
        uint256 indexed schemeId,
        address indexed stealthAddress,
        address indexed caller,
        bytes ephemeralPubKey,
        bytes metadata
    );

    function announce(uint256 schemeId, address stealthAddress, bytes calldata ephemeralPubKey, bytes calldata metadata)
        external
    {
        announcements += 1;
        emit Announcement(schemeId, stealthAddress, msg.sender, ephemeralPubKey, metadata);
    }
}
Compiler settingsShow
{
  "viaIR": true,
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "optimizer": {
    "runs": 200,
    "enabled": true
  },
  "evmVersion": "cancun"
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.