shopxlabs / SHOPX_TCPeNFT_depricated

Ethereum contracts for Spl.yt Core Protocol
MIT License
1 stars 2 forks source link

Ratings system #7

Open dipenjoshi opened 6 years ago

dipenjoshi commented 6 years ago

We incorporated ratings/reputation system so users can rate each other based on an interaction. Be it buy, sell, pre-arbitration. buyers, sellers and arbitrators are all allowed to rate each other from a 5 star rating

person who rates gets to pick from an int 1,2...5 range. which then gets stored as 100, 200...500 in the contracts. this is to accommodate for decimal points

person who views the ratings should get the score in the range of 100, 101...500 which means 100 == 1 star rating. 200 == 2 star rating, and 350 == 3.5 star rating