Skip to content

Commit

Permalink
bug (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattromano committed Aug 30, 2024
1 parent b339c72 commit dea20ae
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('0xa238dd80c259a72e81d7e4664a9801593f98d1c5') 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 dea20ae

Please sign in to comment.