This is an off chain implementation because it's a one-off thing, and would be difficult to test on-chain, also difficult to implement. Off chain it's pretty easy to do thanks to actions history.
1 - get list of acounts and amounts
Take a snapshot at the begining - all planted values. Store.
Then a snapshot at the end
Then check all accounts at the end, and make sure nobody called the action unplant during that period
--> audit done
That's 3 calls
2 on chain calls to store the tables, takes seconds
And one mongoDB call to parse the action history, that also takes seconds
What
People voted for a planted bonus
Implementation
This is an off chain implementation because it's a one-off thing, and would be difficult to test on-chain, also difficult to implement. Off chain it's pretty easy to do thanks to actions history.
1 - get list of acounts and amounts
Take a snapshot at the begining - all planted values. Store. Then a snapshot at the end Then check all accounts at the end, and make sure nobody called the action unplant during that period --> audit done That's 3 calls 2 on chain calls to store the tables, takes seconds And one mongoDB call to parse the action history, that also takes seconds
2 - send bonus Seeds