Skip to content

chore: add support for others token decimals that are not 18#2024

Merged
AdriGeorge merged 14 commits intomainfrom
feat/escrow-token-decimals
Jan 21, 2026
Merged

chore: add support for others token decimals that are not 18#2024
AdriGeorge merged 14 commits intomainfrom
feat/escrow-token-decimals

Conversation

@AdriGeorge
Copy link
Copy Markdown
Collaborator

@AdriGeorge AdriGeorge commented Jan 15, 2026

Fixes # .

Changes proposed in this PR:

  • detect tokenDecimals to allow to deposit/withdraw/authorize a token with a different number of decimals than 18, like usdc or eurc.

@alexcos20
Copy link
Copy Markdown
Member

We should detect the number of decimals for a token, not hardcode them.

@bogdanfazakas
Copy link
Copy Markdown
Member

think a test that uses a token with 6 decimals would be useful besides this looks good to me

@alexcos20
Copy link
Copy Markdown
Member

let's merge it and handle remaining issues in another pr

@AdriGeorge AdriGeorge merged commit 9232599 into main Jan 21, 2026
11 checks passed
@AdriGeorge AdriGeorge deleted the feat/escrow-token-decimals branch January 21, 2026 06:23
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