From b3e23786abcc77842a48ce41833f13cb3cca2cc7 Mon Sep 17 00:00:00 2001 From: David D'Amario Date: Sat, 26 Oct 2024 12:04:59 -0400 Subject: [PATCH] lower gusdc threshold --- cmd/blockchain/ethereum/diaSiloOracleService/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/blockchain/ethereum/diaSiloOracleService/main.go b/cmd/blockchain/ethereum/diaSiloOracleService/main.go index 999e30d25..9a671c87a 100644 --- a/cmd/blockchain/ethereum/diaSiloOracleService/main.go +++ b/cmd/blockchain/ethereum/diaSiloOracleService/main.go @@ -191,7 +191,7 @@ func oracleUpdateHelper(oldPrice float64, auth *bind.TransactOpts, contract *dia rawQ.Price = price // Special case: gUSDC with liq threshold } else if address == "0xd3443ee1e91af28e5fb858fbd0d72a63ba8046e0" && blockchain == "Arbitrum" { - price, symbol, err := getLiqThreshGraphqlAssetQuotationFromDia(blockchain, address, "gUSDC", 200000) + price, symbol, err := getLiqThreshGraphqlAssetQuotationFromDia(blockchain, address, "gUSDC", 50000) if err != nil { log.Printf("Failed to retrieve %s (gUSDC) quotation data from Graphql on DIA: %v", address, err) return oldPrice, err @@ -300,7 +300,7 @@ func periodicOracleUpdateHelper(oldPrice float64, deviationPermille int, auth *b rawQ.Price = price // Special case: gUSDC with liq threshold } else if address == "0xd3443ee1e91af28e5fb858fbd0d72a63ba8046e0" && blockchain == "Arbitrum" { - price, symbol, err := getLiqThreshGraphqlAssetQuotationFromDia(blockchain, address, "gUSDC", 200000) + price, symbol, err := getLiqThreshGraphqlAssetQuotationFromDia(blockchain, address, "gUSDC", 50000) if err != nil { log.Printf("Failed to retrieve %s (gUSDC) quotation data from Graphql on DIA: %v", address, err) return oldPrice, err