spartan-protocol / spartanswap-contracts

📃 Spartan Protocol Smart Contracts V1 - V2
20 stars 6 forks source link

DAO contract topics for discussion #84

Closed SamusElderg closed 2 years ago

SamusElderg commented 3 years ago

Add setter for 'retire'

DAO._moveDao() | Retire DAO

ACTIONED:

Remove 'MemberDetails' struct?

Add a getter for mapPIDMember_hasVoted

RULED OUT:

DAO.calcCurrentReward() | Underflow DAO.calcCurrentReward() will result in an underflow if the harvest() function is called straight after a deposit or bond. As the mapMember_lastTime is shifted 60 seconds forward; we will be doing:

SamusElderg commented 3 years ago

Partially done see: c1ec3651f627d6937403dd6dfc70478561cc99ef