Skip to content

Commit

Permalink
Merge pull request #15 from FlipsideCrypto/an-5479
Browse files Browse the repository at this point in the history
Fixed swaps dtypes
  • Loading branch information
mrstepanovic authored Dec 6, 2024
2 parents 48c02d2 + 28ac7ff commit 5db6dfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/silver/defi/silver__swaps_arcane.sql
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ reports AS (
succeeded,
REPLACE(inputs[0]:value, 'field', '') AS address_from,
REPLACE(inputs[1]:value, 'field', '') AS address_to,
inputs[2]:value AS swap_from,
inputs[3]:value AS swap_to,
inputs[2]:value :: STRING AS swap_from,
inputs[3]:value :: STRING AS swap_to,
REPLACE(inputs[4]:value, 'u128', '') AS amount_from,
REPLACE(inputs[5]:value, 'u128', '') AS amount_to
FROM
Expand Down

0 comments on commit 5db6dfe

Please sign in to comment.