From d823542cb00c4e04eeff610b2df6f800efc1304b Mon Sep 17 00:00:00 2001 From: SebMelendez01 <78228475+SebMelendez01@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:15:49 -0500 Subject: [PATCH] Stablecoins: USDS (#629) --- macros/stablecoins/stablecoin_balances.sql | 2 ++ .../contracts/fact_ethereum_stablecoin_bridge_addresses.sql | 4 ++++ .../contracts/fact_ethereum_stablecoin_contracts.sql | 3 ++- .../contracts/fact_solana_stablecoin_contracts.sql | 3 ++- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/macros/stablecoins/stablecoin_balances.sql b/macros/stablecoins/stablecoin_balances.sql index 299a44ab..0f7cf381 100644 --- a/macros/stablecoins/stablecoin_balances.sql +++ b/macros/stablecoins/stablecoin_balances.sql @@ -7,6 +7,8 @@ -- Make sure to set to '' after backfill is complete {% set backfill_date = '' %} + + -- This is used to backfill a new stablecoin, make sure the run is incremental {% set new_stablecoin_address = '' %} with diff --git a/models/metrics/stablecoins/contracts/fact_ethereum_stablecoin_bridge_addresses.sql b/models/metrics/stablecoins/contracts/fact_ethereum_stablecoin_bridge_addresses.sql index a63cf009..d7de3214 100644 --- a/models/metrics/stablecoins/contracts/fact_ethereum_stablecoin_bridge_addresses.sql +++ b/models/metrics/stablecoins/contracts/fact_ethereum_stablecoin_bridge_addresses.sql @@ -16,6 +16,10 @@ from '0xdAC17F958D2ee523a2206206994597C13D831ec7', '0x3ee18B2214AFF97000D974cf647E7C347E8fa585' ), + ( + '0xdC035D45d973E3EC169d2276DDab16f1e407384F', + '0x7d4958454a3f520bDA8be764d06591B054B0bf33' + ), -- Axelar ( '0xdAC17F958D2ee523a2206206994597C13D831ec7', diff --git a/models/metrics/stablecoins/contracts/fact_ethereum_stablecoin_contracts.sql b/models/metrics/stablecoins/contracts/fact_ethereum_stablecoin_contracts.sql index 7d5fa695..af2a4d90 100644 --- a/models/metrics/stablecoins/contracts/fact_ethereum_stablecoin_contracts.sql +++ b/models/metrics/stablecoins/contracts/fact_ethereum_stablecoin_contracts.sql @@ -23,5 +23,6 @@ from ('PYUSD', '0x6c3ea9036406852006290770BEdFcAbA0e23A0e8', 6, 'paypal-usd', 0), ('EURC', '0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c', 6, 'euro-coin', 0), ('USDP', '0x8e870d67f660d95d5be530380d0ec0bd388289e1', 18, 'paxos-standard', 0), - ('AUSD', '0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a', 6, 'agora-dollar', 0) + ('AUSD', '0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a', 6, 'agora-dollar', 0), + ('USDS', '0xdC035D45d973E3EC169d2276DDab16f1e407384F', 18, 'usds', 0) ) as results(symbol, contract_address, num_decimals, coingecko_id, initial_supply) diff --git a/models/metrics/stablecoins/contracts/fact_solana_stablecoin_contracts.sql b/models/metrics/stablecoins/contracts/fact_solana_stablecoin_contracts.sql index df1f98f4..8af82835 100644 --- a/models/metrics/stablecoins/contracts/fact_solana_stablecoin_contracts.sql +++ b/models/metrics/stablecoins/contracts/fact_solana_stablecoin_contracts.sql @@ -12,5 +12,6 @@ from ), ('USDT', 'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB', 6, 'tether', 0), ('EURC', 'HzwqbKZw8HxMN6bF2yFZNrht3c2iXXzpKcFu7uBEDKtr', 6, 'euro-coin', 0), - ('PYUSD', '2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo', 6, 'paypal-usd', 0) + ('PYUSD', '2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo', 6, 'paypal-usd', 0), + ('USDS', 'USDSwr9ApdHk5bvJKMjzff41FfuX8bSxdKcR81vTwcA', 6, 'usds', 0) ) as results(symbol, contract_address, num_decimals, coingecko_id, initial_supply)