Skip to content

Commit

Permalink
fix: preprod -> prod api
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory Ivantov committed Feb 14, 2025
1 parent 1ca01be commit 69aecbc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions integrations/stonfi_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
from utils.request_utils import requests_retry_session
from utils.slack import slack_message

# STONFI_ENDPOINT = "https://api.ston.fi"
STONFI_ENDPOINT = "https://api-preprod.ston.fi" # FIXME: replace to prod url
STONFI_ENDPOINT = "https://api.ston.fi"

STONFI_LP_TOKEN_DECIMALS = 9

Expand Down Expand Up @@ -80,7 +79,7 @@ def get_participants_data(self, block: int) -> Dict[str, float]:
block_data: Dict[str, float] = {}
try:
for pool_address in pools_list:
# example: https://api-preprod.ston.fi/v1/snapshots/liquidity_providers?timestamp=2025-02-11T01:00:00&pool_address=EQBbsMjyLRj-xJE4eqMbtgABvPq34TF_hwiAGEAUGUb5sNGO
# example: https://api.ston.fi/v1/snapshots/liquidity_providers?timestamp=2025-02-11T01:00:00&pool_address=EQBbsMjyLRj-xJE4eqMbtgABvPq34TF_hwiAGEAUGUb5sNGO
res = requests_retry_session().get(
STONFI_ENDPOINT + "/v1/snapshots/liquidity_providers",
params={
Expand Down

0 comments on commit 69aecbc

Please sign in to comment.