Skip to content
Verified contractPartial

Ratings

Address0x2dfa43d37577709e0a8a7a78783f8f1af0e22903
Balance

0 ETH

 

Transactions

28

 

Compiler

solc 0.1.5

 

Same code

Only this contract

 

Details

Compiler
solc 0.1.5+commit.23865e39
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
348,969
Creation transaction
0xae0893c700…597f83bf3b

Ratings.sol

// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract Ratings {
    mapping (bytes32 => uint) public number;
    mapping (bytes32 => uint) public ratings;

    function setRating(bytes32 item, bytes32 key, uint rating) {
        uint n = number[item];
        ratings[key] = rating;
        number[item] = n + 1;
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.