shopxlabs / SHOPX_TCPeNFT_depricated

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

Unit tests for Staking #2

Open dipenjoshi opened 6 years ago

dipenjoshi commented 6 years ago

Staking is used to prevent spam on splyt protocol. Seller stakes SAT tokens based on percentages of the total selling price. Ex. if iphone is for sale for 500 SATs. then seller will need to stake 20 SAT tokens to post that item. ** By the way : all units in contracts that relate to SATs are now in decimal points. So 4 SATs is actually 40000 SATs. Think of it as 4 x 10^4 ---- 4 decimal points.