Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
viniabussafi committed Jul 11, 2024
1 parent 3930f87 commit e9af141
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ v1_twocrypto as (
dp.output_0 AS deposit_contract,
p.coins[1] AS coin0,
p.coins[2] AS coin1,
0x0000000000000000000000000000000000000000 as coin2,
0x0000000000000000000000000000000000000000 as coin3,
COALESCE(try(p.coins[3]),CAST(NULL as varbinary)) as coin2,
COALESCE(try(p.coins[4]),CAST(NULL as varbinary)) as coin3,
CAST(NULL as varbinary) AS undercoin0,
CAST(NULL as varbinary) AS undercoin1,
CAST(NULL as varbinary) AS undercoin2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ WITH dexs AS
FROM {{ source('ethereum', 'logs') }} l
JOIN {{ ref('curvefi_ethereum_view_pools') }} p
ON l.contract_address = p.pool_address
AND p.version IN ('Factory V1 Meta', 'Factory V1 Plain', 'Regular', 'Factory V1 Stableswap Plain', 'Factory V1 Stableswap Meta', 'Factory V1 Stableswap Plain NG', 'Factory V1 Twocrypto') --note Plain only has TokenExchange.
AND p.version IN ('Factory V1 Meta', 'Factory V1 Plain', 'Regular', 'Factory V1 Stableswap Plain', 'Factory V1 Stableswap Meta'/*, 'Factory V1 Stableswap Plain NG', 'Factory V1 Twocrypto'*/) --note Plain only has TokenExchange.
WHERE l.topic0 IN
(
0xd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b -- TokenExchangeUnderlying
Expand Down

0 comments on commit e9af141

Please sign in to comment.