Skip to content

Instantly share code, notes, and snippets.

@rpaskin
Last active August 2, 2024 21:59
Show Gist options
  • Save rpaskin/a877ae5128f2d022a923fbf42586f6d2 to your computer and use it in GitHub Desktop.
Save rpaskin/a877ae5128f2d022a923fbf42586f6d2 to your computer and use it in GitHub Desktop.
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.2 <0.9.0;
contract RedeSocial {
string perfil;
address dono;
function guardar(string calldata _perfil, address _dono) public {
perfil = _perfil;
dono = _dono;
}
function recuperar() public view returns (string memory _perfil, address _dono){
return (perfil, dono);
}
}
// Contrato Sepolia: 0x2E5dA8A999840b6F3544414947d12D17B6A5bCB1
@rpaskin
Copy link
Author

rpaskin commented Jul 17, 2024

Contrato inteligente para guardar o dono de uma conta em uma rede social.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment