Skip to content
Verified contractPartialMIT

IDMMessage

Address0x4f5162875ea6eebe9d874dbc3f7dac47d57c2cfc
Balance

0 ETH

 

Transactions

2

 

Compiler

solc 0.8.0

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.0+commit.c7dfd78e
Language
solidity
Optimization
Yes, 200 runs
EVM version
istanbul
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
20,766,191
Creation transaction
0xf1bed78cb4…a695d81db2

IDMMessage.sol

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

contract IDMMessage {

    // Event to log IDM messages
    event IDMMessageSent(address indexed from, address indexed to, string message);

    // Function to send an IDM message
    function sendIDMMessage(address to, string memory message) public {
        // Emit the IDM message event
        emit IDMMessageSent(msg.sender, to, message);
    }
}
Compiler settingsShow
{
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": true
  },
  "evmVersion": "istanbul",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.