Collect defi assets#871
Open
erokhinav wants to merge 3 commits into
Open
Conversation
mr-tron
reviewed
May 12, 2026
| DefiProviderMeta: DefiProviderMeta{ | ||
| Name: "Tonstakers", | ||
| URL: "https://app.tonstakers.com/", | ||
| Image: "https://cache.tonapi.io/imgproxy/qkMSC0tZBAgHZkpLfCvhQJMXnHVpFKjhGM4eMD7HWWQ/rs:fill:200:200:1/g:no/aHR0cHM6Ly90b25zdGFrZXJzLmNvbS9sb2dvLnBuZw.webp", |
Contributor
There was a problem hiding this comment.
этот урл сдохнет если сротируются ключи imgproxy
https://www.figma.com/design/RGMQMKmoahly785O8Z9Eqc/Tonstakers-public-graphics-assets?node-id=0-1&p=f&t=XlCYUN6wArg0ZChz-0 вот тут можно взять нормальное лого и закинуть куда-нибудь
| } | ||
| } | ||
|
|
||
| func fetchJSON(ctx context.Context, url string, dst any) error { |
Contributor
There was a problem hiding this comment.
так нельзя. ты спалишь все адреса бэкэндов тонапи всем сервисам которые опрашиваешь. 1) все запросы надо делать через список сокс проксей для исходящих вызов.
2) в идеале апишки вообще не должны в работе завязываться на вызовы сторонних сервисов. обычно в таком случае мы делали кэширование в миске и оттуда уже запрашивали
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.