Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: naming of crates #29

Merged
merged 5 commits into from
Jul 9, 2023
Merged

Conversation

matiasvillaverde
Copy link
Owner

  • refactor: rename packages to not prefix trust
  • refactor: rename validators
  • refactor: Refactor and organize imports throughout the project.
  • refactor: Refactor transaction validation and update transaction categories

- Refactor and reorder various imports in multiple modules for better readability
- Remove unused imports and variables in several modules
- Add missing imports for Decimal and Uuid types in some modules
- Add new validation methods in the validation module for deposits, withdrawals, fills, fees, and closes
- Rename and change access modifier for a function in the rule_worker module
- Remove obsolete validation method in the transaction_worker module
- Refactor the create_rule function to improve readability in the rule_worker module
- Move some model imports to the top of the file for easier understanding in the order_mapper and close_trade modules
…gories

- Refactored transaction validation functions to use `can_transfer` prefix instead of `validate`
- Renamed `TransactionWorker` to `TransactionController`
- Split payment from trade into separate function
- Added new transaction categories including trade ID and slippage
- Updated multiple overviews after transactions
- Refactored and renamed several traits and methods for better code organization and clarity
- Updated method calls and imports to accommodate the changes in file structure and naming conventions
- Improved code readability and removed unnecessary assertions
- Modified various function signatures to use `dyn` trait instead of separate traits for each database operation
- Removed unused function and files
@matiasvillaverde matiasvillaverde merged commit fee150c into main Jul 9, 2023
@matiasvillaverde matiasvillaverde deleted the refactor/package-names branch July 9, 2023 11:52
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.

1 participant