mirror of
https://github.com/FlipsideCrypto/arbitrum-models.git
synced 2026-02-06 15:16:49 +00:00
An 5822 - Update fsc utils package + fix ABI request (#310)
* update utils version * change vault path
This commit is contained in:
parent
f96de6114c
commit
5303fe79fb
@ -50,7 +50,18 @@ row_nos AS (
|
||||
),
|
||||
batched AS ({% for item in range(501) %}
|
||||
SELECT
|
||||
rn.contract_address, live.udf_api('GET', CONCAT('https://api.arbiscan.io/api?module=contract&action=getabi&address=', rn.contract_address, '&apikey={key}'),{ 'User-Agent': 'FlipsideStreamline' },{}, 'Vault/prod/block_explorers/arbiscan') AS abi_data, SYSDATE() AS _inserted_timestamp
|
||||
rn.contract_address,
|
||||
live.udf_api(
|
||||
'GET',
|
||||
CONCAT('https://api.arbiscan.io/api?module=contract&action=getabi&address=', rn.contract_address, '&apikey={key}'),
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type', 'application/json',
|
||||
'fsc-quantum-state', 'livequery'
|
||||
),
|
||||
NULL,
|
||||
'Vault/prod/block_explorers/arbitrum_scan'
|
||||
)AS abi_data,
|
||||
SYSDATE() AS _inserted_timestamp
|
||||
FROM
|
||||
row_nos rn
|
||||
WHERE
|
||||
|
||||
@ -6,8 +6,8 @@ packages:
|
||||
- package: dbt-labs/dbt_utils
|
||||
version: 1.0.0
|
||||
- git: https://github.com/FlipsideCrypto/fsc-utils.git
|
||||
revision: v1.31.0
|
||||
revision: v1.33.1
|
||||
- package: get-select/dbt_snowflake_query_tags
|
||||
version: [">=2.0.0", "<3.0.0"]
|
||||
- git: https://github.com/FlipsideCrypto/fsc-evm.git
|
||||
revision: v1.3.0
|
||||
revision: v1.3.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user