mirror of
https://github.com/FlipsideCrypto/aptos-models.git
synced 2026-02-06 13:56:45 +00:00
add events to join
This commit is contained in:
parent
2fdc8d5ab7
commit
698b42310f
@ -100,7 +100,7 @@ wormhole_transfers AS (
|
||||
ON A.tx_hash = b.tx_hash
|
||||
AND A.block_timestamp :: DATE = b.block_timestamp :: DATE
|
||||
WHERE
|
||||
A.event_resource = 'DepositEvent'
|
||||
A.event_resource in ('DepositEvent', 'Deposit')
|
||||
AND b.payload_function = '0x576410486a2da45eee6c949c995670112ddf2fbeedab20350d506328eefc9d4f::complete_transfer::submit_vaa_and_register_entry'
|
||||
AND event_data :amount :: INT <> 0
|
||||
UNION ALL
|
||||
@ -150,7 +150,7 @@ wormhole_transfers AS (
|
||||
LEFT JOIN {{ ref('silver__bridge_wormhole_chain_id_seed') }}
|
||||
ON chain_id = destination_chain_id
|
||||
WHERE
|
||||
A.event_resource = 'WithdrawEvent'
|
||||
A.event_resource in ('WithdrawEvent', 'Withdraw')
|
||||
AND b.payload_function IN (
|
||||
'0x576410486a2da45eee6c949c995670112ddf2fbeedab20350d506328eefc9d4f::transfer_tokens::transfer_tokens_entry',
|
||||
'0x576410486a2da45eee6c949c995670112ddf2fbeedab20350d506328eefc9d4f::transfer_tokens::transfer_tokens_with_payload_entry'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user