Skip to content

Add token amount normalization for issue #551#578

Merged
greatest0fallt1me merged 1 commit into
Predictify-org:masterfrom
victor62-art:issue-551-add-token-normalization
May 31, 2026
Merged

Add token amount normalization for issue #551#578
greatest0fallt1me merged 1 commit into
Predictify-org:masterfrom
victor62-art:issue-551-add-token-normalization

Conversation

@victor62-art
Copy link
Copy Markdown

closes #551

- Add normalize_amount and denormalize_amount functions in tokens.rs
- Document canonical 7-decimal scale at top of tokens.rs
- Wire normalize_amount into minimum pool checks in resolution.rs
- Add comprehensive tests for normalization functions
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 31, 2026

@victor62-art Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@greatest0fallt1me greatest0fallt1me merged commit 8f0e94f into Predictify-org:master May 31, 2026
1 check failed
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.

Implement SAC token decimals normalization for multi-asset markets in tokens.rs

3 participants