stacker.news/api/resolvers
Keyan 6d4dfddae8
improve rewards (#1731)
* don't bias to early zapping so much

* untested rewards/leaderboard changes

* fix cln dep for payments

* make zap proportion scale using quad root

* fix for missing proportion on hidden users

* improve rewards cutoff criteria

* Update api/resolvers/user.js

Co-authored-by: ekzyis <ek@stacker.news>

* Update api/typeDefs/user.js

Co-authored-by: ekzyis <ek@stacker.news>

* improve switch readability

* small increase in min zap

* refresh materialized views on migration

---------

Co-authored-by: ekzyis <ek@stacker.news>
2024-12-18 10:12:11 -06:00
..
admin.js fix local dev missing snl row 2024-06-03 16:55:03 -05:00
apiKey.js Throw errors which extend GraphQLError (#1386) 2024-09-10 11:35:25 -05:00
blockHeight.js caching is hard 2024-10-08 19:26:29 -05:00
chainFee.js caching is hard 2024-10-08 19:26:29 -05:00
growth.js Referral Rewards (#1262) 2024-07-10 19:23:05 -05:00
index.js user vault and server side client wallets 2024-10-30 13:41:09 -05:00
invite.js Custom invite code and note (#1649) 2024-12-01 16:31:47 -06:00
item.js Fix forever edits (#1716) 2024-12-12 09:35:30 -06:00
lnurl.js Throw errors which extend GraphQLError (#1386) 2024-09-10 11:35:25 -05:00
message.js Throw errors which extend GraphQLError (#1386) 2024-09-10 11:35:25 -05:00
notifications.js Implement deposit as receive paidAction (#1570) 2024-11-15 18:38:14 -06:00
ofac.js Throw errors which extend GraphQLError (#1386) 2024-09-10 11:35:25 -05:00
paidAction.js Implement deposit as receive paidAction (#1570) 2024-11-15 18:38:14 -06:00
price.js caching is hard 2024-10-08 19:26:29 -05:00
referrals.js Throw errors which extend GraphQLError (#1386) 2024-09-10 11:35:25 -05:00
rewards.js improve rewards (#1731) 2024-12-18 10:12:11 -06:00
search.js Search bookmarks (#1075) 2024-04-19 13:24:48 -05:00
sub.js refactor wallet validation 2024-10-30 13:49:57 -05:00
upload.js Revert "Include extension in S3 key (#1426)" 2024-10-07 13:22:01 -05:00
user.js improve rewards (#1731) 2024-12-18 10:12:11 -06:00
vault.js sync/desync from localstorage on vault connect/disconnect 2024-10-30 18:37:45 -05:00
wallet.js Fix missing logs on save (#1729) 2024-12-16 17:37:31 -06:00