The incredible math in Ethereum staking contract (and how to implement it in solidity)
This article is heavily inspired by smart contract programmer. Check out his channel
This story is cross-posted on mirror.xyz, a web3 creator platform that accept supporter donation. Please consider visiting my mirror page for this article below. Thank you.