Skip to content
Verified contractExactMIT

ETHMarginBook

Address0xc09aa27ae5bcb5d02a8535723b0206ef32bb8d07
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,339,415
Creation transaction
0xc87360781e…28fbb9777a

contracts/one-more.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

contract ETHMarginBook {
    uint256 public constant BUILD_ID = 6087;

    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 setETHMargin(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.