-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
- Figure out a way to get senders of transactions and check if they are an account
- I could probably run an indexer on all transactions, read sender address.
- Anything that has > 3 txs in last week, select them.
- if has deposits on starknet, weight increases
- Create a raffle table
userId: Int
smashButtonCounts: number,
lastSmashButtonUpdated: Date (no time)
totalReward: STRK amount raw
reset smash button each time rewards are settled
model rewards
userId: Int
roundId: number
reward: raw amount
claimed: bool
expiryDate: Date
created, updated
- Basis this weights, do a lucky draw and add winners to db
- unclaimed rewards to get added to new round
Reactions are currently unavailable