expand def of to_address for stader

This commit is contained in:
jacksan 2025-06-03 10:44:09 -06:00
parent 49638db1a7
commit 6cfae334e7
2 changed files with 8 additions and 5 deletions

View File

@ -50,13 +50,15 @@ ft_transfers_final AS (
predecessor_id,
signer_id,
log_index,
NVL(
COALESCE(
f.value :old_owner_id,
f.value :sender_id,
NULL
) :: STRING AS from_address,
NVL(
COALESCE(
f.value :new_owner_id,
f.value :owner_id
f.value :owner_id,
f.value :receiver_id
) :: STRING AS to_address,
f.value :amount :: STRING AS amount_unadj,
f.value :memo :: STRING AS memo,

View File

@ -53,9 +53,10 @@ ft_mints_final AS (
f.value :old_owner_id,
NULL
) :: STRING AS from_address,
NVL(
COALESCE(
f.value :new_owner_id,
f.value :owner_id
f.value :owner_id,
f.value :user_id
) :: STRING AS to_address,
f.value :amount :: STRING AS amount_unadj,
f.value :memo :: STRING AS memo,