Skip to content

Commit

Permalink
AN-4680/comp-and-comp-fork-liq-fix (#266)
Browse files Browse the repository at this point in the history
* fix comp fork models

* doc fix

* doc fix
  • Loading branch information
mattromano authored Apr 2, 2024
1 parent 35dc08e commit 9a9b14b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions models/gold/defi/lending/defi__ez_lending_liquidations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ models:
description: '{{ doc("complete_lending_collateral_asset") }}'
- name: COLLATERAL_TOKEN_SYMBOL
description: '{{ doc("opt_symbol") }}'
- name: LIQUIDATED_AMOUNT_UNADJU
- name: AMOUNT_UNADJ
description: '{{ doc("complete_lending_amount_unadj") }}'
- name: LIQUIDATED_AMOUNT
- name: AMOUNT
description: '{{ doc("complete_lending_amount") }}'
- name: LIQUIDATED_AMOUNT_USD
- name: AMOUNT_USD
description: '{{ doc("complete_lending_amount_usd") }}'
- name: DEBT_TOKEN
description: '{{ doc("complete_lending_debt_asset") }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ exactly as (
amount AS liquidated_amount,
NULL AS liquidated_amount_usd,
token AS protocol_collateral_asset,
liquidation_contract_address AS collateral_asset,
liquidation_contract_symbol AS collateral_asset_symbol,
collateral_token AS debt_asset,
collateral_symbol AS debt_asset_symbol,
liquidation_contract_address AS debt_asset,
liquidation_contract_symbol AS debt_asset_symbol,
collateral_token AS collateral_asset,
collateral_symbol AS collateral_asset_symbol,
platform,
'optimism' AS blockchain,
l._LOG_ID,
Expand Down Expand Up @@ -137,10 +137,10 @@ sonne as (
amount AS liquidated_amount,
NULL AS liquidated_amount_usd,
token AS protocol_collateral_asset,
liquidation_contract_address AS collateral_asset,
liquidation_contract_symbol AS collateral_asset_symbol,
collateral_token AS debt_asset,
collateral_symbol AS debt_asset_symbol,
liquidation_contract_address AS debt_asset,
liquidation_contract_symbol AS debt_asset_symbol,
collateral_token AS collateral_asset,
collateral_symbol AS collateral_asset_symbol,
platform,
'optimism' AS blockchain,
l._LOG_ID,
Expand Down Expand Up @@ -176,10 +176,10 @@ tarot as (
amount AS liquidated_amount,
NULL AS liquidated_amount_usd,
token AS protocol_collateral_asset,
liquidation_contract_address AS collateral_asset,
liquidation_contract_symbol AS collateral_asset_symbol,
collateral_token AS debt_asset,
collateral_symbol AS debt_asset_symbol,
liquidation_contract_address AS debt_asset,
liquidation_contract_symbol AS debt_asset_symbol,
collateral_token AS collateral_asset,
collateral_symbol AS collateral_asset_symbol,
platform,
'optimism' AS blockchain,
l._LOG_ID,
Expand Down

0 comments on commit 9a9b14b

Please sign in to comment.