Hi, I'm Pablo Santos ✌️
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
contract GitHubProfile {
string public welcomeMessage;
event Deployed(address indexed by);
event Greeted(string message);
constructor() {
welcomeMessage = "Hello! Welcome to my GitHub profile!";
emit Deployed(msg.sender);
}
function greet() public view returns (string memory) {
emit Greeted(welcomeMessage);
return welcomeMessage;
}
}