Skip to content

Conversation

montyp0x
Copy link
Contributor

Name (to be shown on DefiLlama):

Bidask

Twitter Link:

https://x.com/BidaskProtocol

Website Link:

https://bidask.finance/en/app

Logo (High resolution, will be shown with rounded borders):

https://www.figma.com/design/qivks07WbiqecjwQWQwc8z/Branding?node-id=2-2699

Current TVL:

149.28 k

Chain:

TON

Short Description (to be shown on DefiLlama):

The first DLMM DEX architected natively for TON Blockchain – optimized for speed, scalability, and efficiency.

Category (full list at https://defillama.com/categories) *Please choose only one:

DEX

methodology (what is being counted as tvl, how is tvl being calculated):

Total value locked in all pools created by Bidask Factory

@llamabutler
Copy link

The adapter at projects/factorial exports TVL:

ton                       8.49 M
ton-borrowed              3.98 M
borrowed                  3.98 M

total                    8.49 M 

@montyp0x
Copy link
Contributor Author

a few notes:

  1. I suggest adding a Toncenter API key - it’s free, and doing so will speed up the whole process by about 10x, you can do it here
  2. also, in this PR you can find a small refactor: I moved the utils from Factorial (Affluent) to TON helpers, since they can be useful in any TON project

@llamabutler
Copy link

The adapter at projects/bidask exports TVL:

ton                       105.09 k

total                    105.09 k 

@llamabutler
Copy link

The adapter at projects/factorial exports TVL:

ton                       8.49 M
ton-borrowed              3.98 M
borrowed                  3.98 M

total                    8.49 M 

@llamabutler
Copy link

The adapter at projects/bidask exports TVL:

ton                       107.55 k

total                    107.55 k 

@waynebruce0x
Copy link
Collaborator

Our error monitoring only flags on hard failures, therefore we strongly discourage using try/catch in your adapter code. Is there any way we can avoid the try/catches currently here?

@waynebruce0x waynebruce0x self-assigned this Oct 13, 2025
@montyp0x
Copy link
Contributor Author

@waynebruce0x well, there are basically two possible errors:

  1. API limit - fixed by adding an API key (rate limiting to 1 req/sec makes it slow since this PR is fully on-chain)
  2. Expected behavior - if a pool has no activity, its jetton wallet isn’t initialized and has no getters

we could technically avoid the try/catches here, but they’re harmless and useful for proper error handling

@llamabutler
Copy link

The adapter at projects/factorial exports TVL:

ton                       7.52 M
ton-borrowed              3.97 M
borrowed                  3.97 M

total                    7.52 M 

@llamabutler
Copy link

The adapter at projects/bidask exports TVL:

ton                       130.03 k

total                    130.03 k 

@waynebruce0x waynebruce0x merged commit e2004be into DefiLlama:main Oct 14, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants