* updates

* sushi

* v4.3
This commit is contained in:
Austin 2025-06-24 15:27:36 -04:00 committed by GitHub
parent 0a75c52f0d
commit 9057b192fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
23 changed files with 44 additions and 23 deletions

View File

@ -20,7 +20,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template_alter_all_gha_tasks.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template_alter_all_gha_tasks.yml@main
with:
task_action: ${{ inputs.task_action }}
target: prod

View File

@ -24,7 +24,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template_alter_gha_tasks.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template_alter_gha_tasks.yml@main
with:
workflow_name: ${{ inputs.workflow_name }}
task_action: ${{ inputs.task_action }}

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Deploy New Github Actions
command: |

View File

@ -10,5 +10,5 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template_docs_update.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template_docs_update.yml@main
secrets: inherit

View File

@ -14,7 +14,7 @@ concurrency: ${{ github.workflow }}
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template_integration_test.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template_integration_test.yml@main
with:
target: ${{ inputs.environment }}
command: |

View File

@ -34,7 +34,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
warehouse: ${{ inputs.warehouse }}
target: ${{ inputs.target }}

View File

@ -11,5 +11,5 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template_dev_refresh.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template_dev_refresh.yml@main
secrets: inherit

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
warehouse: DBT_EMERGENCY
command_name: Run Observability Models

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Run Heal Models
command: |

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Run ABI Models
command: |

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Run Curated Models
command: |

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Run Decoder Models
command: |

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Run Main Models
command: |

View File

@ -12,7 +12,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Run Scores Models
command: |

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Run Chainhead Models
command: |

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Run Decoder Complete
command: |

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Run History Models
command: |

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
target: test
command_name: Build Daily Testing Views

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
target: test
command_name: Run Observability & Recent Tests

View File

@ -11,7 +11,7 @@ concurrency:
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@prod/v4.x
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
warehouse: DBT_EMERGENCY
command_name: Build Full Testing Views

View File

@ -27,7 +27,7 @@ SELECT
amount_in,
ROUND(
CASE
WHEN token_in <> '0xe91d153e0b41518a2ce8dd3d7944fa863463a97d'
WHEN token_in <> '0xe91d153e0b41518a2ce8dd3d7944fa863463a97d' or not token_in_is_verified
AND (
amount_out_usd IS NULL
OR ABS((amount_in_usd - amount_out_usd) / NULLIF(amount_out_usd, 0)) > 0.75
@ -41,7 +41,7 @@ SELECT
amount_out,
ROUND(
CASE
WHEN token_out <> '0xe91d153e0b41518a2ce8dd3d7944fa863463a97d'
WHEN token_out <> '0xe91d153e0b41518a2ce8dd3d7944fa863463a97d' or not token_out_is_verified
AND (
amount_in_usd IS NULL
OR ABS((amount_out_usd - amount_in_usd) / NULLIF(amount_in_usd, 0)) > 0.75
@ -55,8 +55,12 @@ SELECT
tx_to,
event_index,
platform,
protocol,
version as protocol_version,
token_in,
token_in_is_verified,
token_out,
token_out_is_verified,
symbol_in,
symbol_out,
COALESCE (

View File

@ -27,6 +27,7 @@ WITH sushi AS (
tx_to,
event_index,
platform,
'sushiswap' as protocol,
'v1' AS version,
_log_id,
_inserted_timestamp
@ -61,6 +62,7 @@ curve AS (
tx_to,
event_index,
platform,
'curve' as protocol,
'v1' AS version,
_log_id,
_inserted_timestamp
@ -95,6 +97,7 @@ balancer AS (
tx_to,
event_index,
platform,
'balancer' as protocol,
'v1' AS version,
_log_id,
_inserted_timestamp
@ -129,6 +132,7 @@ honeyswap AS (
tx_to,
event_index,
platform,
'honeyswap' as protocol,
'v1' AS version,
_log_id,
_inserted_timestamp
@ -163,6 +167,7 @@ swapr AS (
tx_to,
event_index,
platform,
'swapr' as protocol,
'v1' AS version,
_log_id,
_inserted_timestamp
@ -216,6 +221,7 @@ complete_dex_swaps AS (
s.contract_address,
event_name,
token_in,
p1.is_verified as token_in_is_verified,
c1.token_decimals AS decimals_in,
c1.token_symbol AS symbol_in,
amount_in_unadj,
@ -228,6 +234,7 @@ complete_dex_swaps AS (
ELSE NULL
END AS amount_in_usd,
token_out,
p2.is_verified as token_out_is_verified,
c2.token_decimals AS decimals_out,
c2.token_symbol AS symbol_out,
amount_out_unadj,
@ -269,6 +276,7 @@ complete_dex_swaps AS (
tx_to,
event_index,
s.platform,
s.protocol,
s.version,
s._log_id,
s._inserted_timestamp
@ -313,6 +321,7 @@ heal_model AS (
t0.contract_address,
event_name,
token_in,
p1.is_verified as token_in_is_verified,
c1.token_decimals AS decimals_in,
c1.token_symbol AS symbol_in,
amount_in_unadj,
@ -325,6 +334,7 @@ heal_model AS (
ELSE NULL
END AS amount_in_usd_heal,
token_out,
p2.is_verified as token_out_is_verified,
c2.token_decimals AS decimals_out,
c2.token_symbol AS symbol_out,
amount_out_unadj,
@ -366,6 +376,7 @@ heal_model AS (
tx_to,
event_index,
t0.platform,
t0.protocol,
t0.version,
t0._log_id,
t0._inserted_timestamp
@ -591,12 +602,14 @@ SELECT
contract_address,
event_name,
token_in,
token_in_is_verified,
decimals_in,
symbol_in,
amount_in_unadj,
amount_in_heal AS amount_in,
amount_in_usd_heal AS amount_in_usd,
token_out,
token_out_is_verified,
decimals_out,
symbol_out,
amount_out_unadj,
@ -607,6 +620,7 @@ SELECT
tx_to,
event_index,
platform,
protocol,
version,
_log_id,
_inserted_timestamp
@ -634,9 +648,12 @@ SELECT
tx_to,
event_index,
platform,
protocol,
version,
token_in,
token_in_is_verified,
token_out,
token_out_is_verified,
symbol_in,
symbol_out,
decimals_in,

View File

@ -1,3 +1,3 @@
packages:
- git: https://github.com/FlipsideCrypto/fsc-evm.git
revision: prod/v4.x
revision: v4.3.0