Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
poly-rodr committed Mar 26, 2024
1 parent d4c4eb9 commit b4a3333
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/rewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function main() {
"today earnings",
await clobClient.getEarningsForUserForDay("2024-03-22" /* UTC TIME */),
);
console.log("rewards percentages", await clobClient.getLiquidityRewardPercentages());
console.log("rewards percentages", await clobClient.getLRewardPercentages());
console.log("current rewards", await clobClient.getCurrentRewards());
console.log(
"rewards for market",
Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ export class ClobClient {
return results;
}

public async getLiquidityRewardPercentages(): Promise<RewardsPercentages> {
public async getLRewardPercentages(): Promise<RewardsPercentages> {
this.canL2Auth();

const endpoint = GET_LIQUIDITY_REWARD_PERCENTAGES;
Expand Down

0 comments on commit b4a3333

Please sign in to comment.