Skip to content

Commit

Permalink
aave-repay-bug (#166)
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
mattromano authored Aug 30, 2024
1 parent cb62763 commit 8b49682
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 @@ -44,7 +44,10 @@ atoken_meta AS (
segmented_data [0] :: STRING
) :: INTEGER AS repayed_amount,
'Aave V3' 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 8b49682

Please sign in to comment.