Skip to content

Commit b923372

Browse files
authored
fix(aave): add positionAddress to shortcutTriggerArgs (#532)
From bugapalooza issue https://valora-app.slack.com/archives/C04B61SJ6DS/p1725638194169029
1 parent a2cfc9f commit b923372

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/apps/aave/positions.ts

+5
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ const hook: PositionsHook = {
151151
networkId,
152152
category: 'claimable',
153153
})),
154+
shortcutTriggerArgs: {
155+
'claim-rewards': {
156+
positionAddress: aaveAddresses.incentivesController.toLowerCase(),
157+
},
158+
},
154159
availableShortcutIds: ['claim-rewards'],
155160
balances: async ({ resolvedTokensByTokenId }) =>
156161
userRewards.map((userRewards) => {

0 commit comments

Comments
 (0)