Verified contractExactMIT
ETHStakeMeter
Address0xae2e109227e69f6bcb36529ff6f249a2347f706f
- Balance
0 ETH
- Transactions
2
- Compiler
solc 0.8.34
- Same code
Only this contract
Details
- Compiler
- solc 0.8.34+commit.80d5c536
- Language
- solidity
- Optimization
- No
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,346,661
- Creation transaction
- 0x006a3ebc9b…85230a560c
contracts/first.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
contract ETHStakeMeter {
uint256 public constant BUILD_ID = 7247;
address public immutable owner;
uint256 public totalOperations;
mapping(address => uint256) public lastActionTime;
event OperationCommitted(address indexed user, uint256 indexed opCode, uint256 timestamp);
constructor() {
owner = msg.sender;
}
function pushETHWeight(uint256 _opCode) external {
totalOperations += 1;
lastActionTime[msg.sender] = block.timestamp;
emit OperationCommitted(msg.sender, _opCode, block.timestamp);
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.