Skip to content

Commit

Permalink
add fees to usyc
Browse files Browse the repository at this point in the history
  • Loading branch information
tkkwon1998 committed Jan 18, 2024
1 parent 0d0ce81 commit 11bd6db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions .env_example

This file was deleted.

2 changes: 1 addition & 1 deletion queryengine/contracts/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func GetProcessedCTokens(ctx context.Context, cTokens TokensMap) ([]ProcessedCTo
balance, _ := InterfaceToBigInt(cToken["latestRoundDetails"][1])
interest, _ := InterfaceToBigInt(cToken["latestRoundDetails"][2])
updatedAt, _ := InterfaceToBigInt(cToken["latestRoundDetails"][4])
supplyApy = HashnoteAPY(balance, interest, updatedAt)
supplyApy = HashnoteAPY(balance, interest, updatedAt) - 0.5
}
if tag == "fbill" {
supplyApy = 4.90
Expand Down

0 comments on commit 11bd6db

Please sign in to comment.