mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 14:11:54 +00:00
expand def of to_address for stader
This commit is contained in:
parent
49638db1a7
commit
6cfae334e7
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user