Skip to content

Commit

Permalink
Don't send back MORPHO token on claim action
Browse files Browse the repository at this point in the history
  • Loading branch information
piekczyk committed Jun 25, 2024
1 parent 5761599 commit b8bfadc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dma-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oasisdex/dma-library",
"version": "0.6.56",
"version": "0.6.57",
"typings": "lib/index.d.ts",
"types": "lib/index.d.ts",
"main": "lib/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ export const morphoBlueClaimRewards: MorphoBlueClaimRewardsOperation = async (
proofs: proofs,
}),
actions.common.returnMultipleTokens(network, {
assets: rewards,
assets: rewards.filter(
// for now we need to filter our MORPHO token as it is not transferable and it will stay on dpm proxy
// until they will update transferability
item => item.toLowerCase() !== '0x9994e35db50125e0df82e4c2dde62496ce330999',
),
}),
]

Expand Down

0 comments on commit b8bfadc

Please sign in to comment.