Skip to content

Commit

Permalink
add unadjusted to ez dex swaps (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-laurello authored Oct 10, 2023
1 parent 804a9f9 commit f0762fb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% docs eth_dex_swaps_amount_in_unadj %}

The non-decimal adjusted amount of tokens put into the swap.

{% enddocs %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% docs eth_dex_swaps_amount_out_unadj %}

The non-decimal adjusted amount of tokens taken out of or received from the swap.

{% enddocs %}
2 changes: 2 additions & 0 deletions models/gold/defi/defi__ez_dex_swaps.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ SELECT
contract_address,
pool_name,
event_name,
amount_in_unadj,
amount_in,
amount_in_usd,
amount_out_unadj,
amount_out,
amount_out_usd,
sender,
Expand Down
6 changes: 6 additions & 0 deletions models/gold/defi/defi__ez_dex_swaps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,9 @@ models:
description: '{{ doc("gno_origin_from") }}'
- name: ORIGIN_TO_ADDRESS
description: '{{ doc("gno_origin_to") }}'
- name: AMOUNT_IN_UNADJ
description: '{{ doc("eth_dex_swaps_amount_in_unadj") }}'
- name: AMOUNT_OUT_UNADJ
description: '{{ doc("eth_dex_swaps_amount_out_unadj") }}'


0 comments on commit f0762fb

Please sign in to comment.