Skip to content

Commit

Permalink
fix (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattromano authored Aug 30, 2024
1 parent dc741c7 commit 54169f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion models/silver/defi/lending/aave/silver__aave_repayments.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ WITH repay AS(
WHEN contract_address = LOWER('0x794a61358D6845594F94dc1DB02A252b5b4814aD') THEN 'Aave V3'
ELSE 'ERROR'
END AS aave_version,
origin_to_address AS lending_pool_contract,
COALESCE(
origin_to_address,
contract_address
) AS lending_pool_contract,
origin_from_address AS repayer_address,
_log_id,
_inserted_timestamp
Expand Down

0 comments on commit 54169f7

Please sign in to comment.