Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
286 B
1
Indexable
Never
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

contract Spin {
    // Event declaration
    event SpinEvent(address indexed senderAddress);

    // Function to emit an event with the sender's address
    function spin() external {
        emit SpinEvent(msg.sender);
    }
}
Leave a Comment