Description:
Smart contract deployed on Ethereum.
Blockchain: Ethereum
Source Code: View Code On The Blockchain
Solidity Source Code:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.30;
contract MiladyRescueMessenger {
address constant MR = 0x000000000088Fa5EfA50Ff6d5CfAd19551cd3b36;
event MessagePosted(address indexed receiver, address indexed sender, uint256 amount, string message);
function postGroup(address receiver, string calldata message) public payable {
payable(receiver).transfer(msg.value);
emit MessagePosted(receiver, msg.sender, msg.value, message);
}
function postGlobal(string calldata message) public payable {
payable(MR).transfer(msg.value);
emit MessagePosted(MR, msg.sender, msg.value, message);
}
}
Submitted on: 2025-10-02 17:19:43
Comments
Log in to comment.
No comments yet.