This is awesome, is there a way to distinguish whether the staked amounts come from a new user(wallet) or its from the existing users? feel like that is a good add-on
bot doesn’t tweet the consecutive transactions if more than one occur within a minute
need to read the last ~5, put them in an array & check timestamps of each one to determine if it should be tweeted or not.
Open:
additionally i can read the staking contract and use the userSharesAt function to determine if a user had a stake before staking by using blocknumber -1 (of stake tx) while calling the function.
can probably also do this in reverse and determine if shares of a user are 0 to indicate they “completely left”