Skip to content

Commit

Permalink
fix earn project config
Browse files Browse the repository at this point in the history
  • Loading branch information
qwer951123 committed Oct 5, 2023
1 parent 547f5e5 commit d0c5cf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/earn-subql/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ dataSources:
filter:
module: incentives
method: ClaimRewards
- handle: handleUnbonded
- handler: handleUnbonded
kind: substrate/EventHandler
filter:
module: earning
method: Unbonded
- handle: handleBonded
- handler: handleBonded
kind: substrate/EventHandler
filter:
module: earning
method: Bonded
- handle: handleWithdrawn
- handler: handleWithdrawn
kind: substrate/EventHandler
filter:
module: earning
method: Withdrawn
- handle: handleRebonded
- handler: handleRebonded
kind: substrate/EventHandler
filter:
module: earning
Expand Down
1 change: 0 additions & 1 deletion packages/earn-subql/src/handlers/claim-rewards.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { SubstrateEvent } from "@subql/types/dist/interfaces";
import { ClaimRewards, LoyaltyBonusPool, LoyaltyBonusReward, UserPool } from "../types";
import { forceToCurrencyName } from '@acala-network/sdk-core';
import { getPoolEntity } from "../utils";

export const handleClaimRewards = async (event: SubstrateEvent) => {
/**
Expand Down

0 comments on commit d0c5cf3

Please sign in to comment.