Skip to content

rescaling erc20 decimal words - #237

Merged
thedavidmeister merged 5 commits into
mainfrom
2024-05-19-decimal-token
Jun 3, 2024
Merged

thedavidmeister merged 5 commits into
mainfrom
2024-05-19-decimal-token

Conversation

@thedavidmeister

@thedavidmeister thedavidmeister commented May 19, 2024 •

Copy link
Copy Markdown
Contributor

Motivation

issue #230

Solution

provide versions of erc20 token words that rescale according to self-reported decimals of the token contract

this won't always work, but it usually will and when it does it is convenient

authors can use uint256-* versions if they want to control rescaling/decimal lookup

Checks

By submitting this for review, I'm confirming I've done the following:

  • made this PR as small as possible
  • unit-tested any new functionality
  • linked any relevant issues or PRs

@thedavidmeister thedavidmeister changed the title wip on rescaling decimal words rescaling erc20 decimal words May 30, 2024
@thedavidmeister thedavidmeister self-assigned this May 30, 2024
@thedavidmeister
thedavidmeister requested a review from hardyjosh May 30, 2024 17:35
@thedavidmeister
thedavidmeister merged commit 6b50a76 into main Jun 3, 2024
@thedavidmeister thedavidmeister mentioned this pull request Jun 15, 2026
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.

2 participants