Introduction to EVM Smart Contracts
Last updated
Network Name: UOMI Finney Testnet
RPC URL: https://finney.uomi.ai
Chain ID: 4386
Currency Symbol: UOMI// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
contract MyContract {
// State variables
uint256 public value;
// Events
event ValueChanged(uint256 newValue);
// Constructor
constructor() {
value = 0;
}
// Functions
function setValue(uint256 newValue) public {
value = newValue;
emit ValueChanged(newValue);
}
}