Skip to content

Modify rewardMember#9

Open
Hendobox wants to merge 14 commits intoBloceducare:masterfrom
Hendobox:test
Open

Modify rewardMember#9
Hendobox wants to merge 14 commits intoBloceducare:masterfrom
Hendobox:test

Conversation

@Hendobox
Copy link

From the token's description, no more than 2 tokens can be rewarded at a time. There should be an option for admins to send lesser rewards for decent attempts from participants

1mile and others added 14 commits December 28, 2019 13:00
1. Placed same value types close to reduce gas consumption in `Member` struct.
2. Added a `whitelist` event.
3. Changed the data location of `memberStruct` in `rateMember`, `blacklistMember` and `whitelistMember` to storage to make changes to `__memberStruct` take effect.
…ity on the iswhitelisted and calculateReward functions.Lastly,added onlyAdminOrOwner modifier to the rateMember functions
commented the codes,changed the order of state mutability and visibil…
 Contract.sol update with bug fixes, gas optimisation
…t a time. Added the option for admins to send rewards lower than 2 to encourage participants with decent effort
…t a time. There should be an option for admins to send lesser rewards for decent attempts from participants
…t a time. There should be an option for admins to send lesser rewards for decent attempts from participants
…t a time. There should be an option for admins to send lesser rewards for decent attempts from participants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants