Skip to content

feat: add token factory#57

Merged
huyhuynh3103 merged 1 commit into
mainnetfrom
feature/token-factory
Apr 21, 2025
Merged

feat: add token factory#57
huyhuynh3103 merged 1 commit into
mainnetfrom
feature/token-factory

Conversation

@huyhuynh3103
Copy link
Copy Markdown
Collaborator

Description

This pull request introduces a new test suite for the TokenFactory contract to ensure the correct deployment and configuration of various token types. The tests verify the token name, symbol, and decimals for each deployed token.

Added test suite for TokenFactory:

  • test/factory/TokenFactory.t.sol: Added a new contract TokenFactoryTest that includes test cases for deploying and validating the configuration of AXS, SLP, USDC, and WETH tokens. The _assertTokenConfig helper function was implemented to assert the correctness of token properties such as name, symbol, and decimals.

Checklist

  • I have clearly commented on all the main functions following the NatSpec Format
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works

@huyhuynh3103 huyhuynh3103 merged commit 9aa36ec into mainnet Apr 21, 2025
3 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.

2 participants