Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add back changes for solana token 2022 #6107

Merged
merged 15 commits into from
Jun 10, 2024
Prev Previous commit
Next Next commit
typeing
andrewhong5297 committed Jun 7, 2024
commit 4afc64e5f5ff66532114b4ad17129568167639bb
12 changes: 6 additions & 6 deletions models/tokens/solana/tokens_solana_spl_transfers.sql
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ base as (
, call_tx_id, call_block_time, call_block_slot, call_outer_executing_account, call_tx_signer
, 'transfer' as action
, call_outer_instruction_index, call_inner_instruction_index
, null as fee
, cast(null as double) as fee
, 'spl_token' as token_version
FROM {{ source('spl_token_solana','spl_token_call_transfer') }}
WHERE 1=1
@@ -36,7 +36,7 @@ base as (
, call_tx_id, call_block_time, call_block_slot, call_outer_executing_account, call_tx_signer
, 'transfer' as action
, call_outer_instruction_index, call_inner_instruction_index
, null as fee
, cast(null as double) as fee
, 'spl_token' as token_version
FROM {{ source('spl_token_solana','spl_token_call_transferChecked') }}
WHERE 1=1
@@ -52,7 +52,7 @@ base as (
, call_tx_id, call_block_time, call_block_slot, call_outer_executing_account, call_tx_signer
, 'mint' as action
, call_outer_instruction_index, call_inner_instruction_index
, null as fee
, cast(null as double) as fee
, 'spl_token' as token_version
FROM {{ source('spl_token_solana','spl_token_call_mintTo') }}
WHERE 1=1
@@ -68,7 +68,7 @@ base as (
, call_tx_id, call_block_time, call_block_slot, call_outer_executing_account, call_tx_signer
, 'mint' as action
, call_outer_instruction_index, call_inner_instruction_index
, null as fee
, cast(null as double) as fee
, 'spl_token' as token_version
FROM {{ source('spl_token_solana','spl_token_call_mintToChecked') }}
WHERE 1=1
@@ -84,7 +84,7 @@ base as (
, call_tx_id, call_block_time, call_block_slot, call_outer_executing_account, call_tx_signer
, 'burn' as action
, call_outer_instruction_index, call_inner_instruction_index
, null as fee
, cast(null as double) as fee
, 'spl_token' as token_version
FROM {{ source('spl_token_solana','spl_token_call_burn') }}
WHERE 1=1
@@ -100,7 +100,7 @@ base as (
, call_tx_id, call_block_time, call_block_slot, call_outer_executing_account, call_tx_signer
, 'burn' as action
, call_outer_instruction_index, call_inner_instruction_index
, null as fee
, cast(null as double) as fee
, 'spl_token' as token_version
FROM {{ source('spl_token_solana','spl_token_call_burnChecked') }}
WHERE 1=1