-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* prepare/write for `updateUserPointsInLoans` - used by script to iterate through user loans and make sure the loan manager smart contract is updated with the latest points (should be called before `updateAccountsPointsForRewards`). * prepare/write for `updateAccountsPointsForRewards` - reads the points in the loan manager smart contract and records it to the rewardsV1 contract (should be called after `updateUserPointsInLoans `). * prepare/write for `claimRewards` - claims the AVAX rewards earned from past epochs * read `activeEpochs` - returns the active epochs for each token/pool * read `unclaimedRewards` - returns the rewards which have been earned in past epochs and are ready to be claimed * read `userPoints` - returns the user points were they to be updated with `updateUserPointsInLoans` --------- Co-authored-by: stefanofa <[email protected]> Co-authored-by: palace22 <[email protected]>
- Loading branch information
1 parent
5f5b333
commit 97a19c3
Showing
13 changed files
with
1,297 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@folks-finance/xchain-sdk": patch | ||
--- | ||
|
||
deposit boost support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,6 @@ yarn-error.log* | |
# local env files | ||
.env | ||
.env*.local | ||
|
||
# intellij | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.