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

Clean up deposit withdraw services #466

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

Marchosiax
Copy link
Member

No description provided.

@Marchosiax Marchosiax added the enhancement New feature or request label Sep 17, 2024
@Marchosiax Marchosiax self-assigned this Sep 17, 2024
@Marchosiax Marchosiax merged commit 528b234 into dev Sep 17, 2024
1 check passed
@Marchosiax Marchosiax deleted the homogenize-deposit-withdraw-services branch September 17, 2024 09:34
fatemeh-i added a commit that referenced this pull request Oct 23, 2024
* Remove pulling dev branch in otc workflow (#462)

* Remove pulling dev branch in otc workflow

* Remove pulling dev branch in otc workflow

* Upgrade error-hanlder.version

* Replace user_transctions with transactions for external use (#463)

* Remove details from fiActions in wallet and accountant

* Use enum for withdraw status

* Use enum for more hardcoded variables

* Use enum for transfer category

* Modify database

* Add try catch in wallet BackupService

* FinancialActionJobKafka TBC

* Adding rest services

* Add admin tx for DEPOSIT_MANUALLY

* Remove balance_before

* Change fi_actions transfer ref to use uuid

* Fix test failure

* Fix type mismatch error

* Make one test function suspended

* Fix quote asset not included in estimated value

* Edit schema

Transaction refactor completed

* Replace docker-compose with docker compose in workflows

* Start to handle different type of gateways for currencies

* Implement requred services for all type of gateways

* Complete create new gateway service

* Complete gateway services

* Fix bug of currency creation

* Fix bug of currency creation

* Fix bug of currency creation

* Refactor withdraw services (#464)

* Start refactoring withdraw

* Remove applied_fee
Refactor withdraw service

* Delete deprecated services

* Add fee service

* Fix amount mismatch

* Fix user transaction service

* Change getUserTransactions http method

* -

* Fix dependency bug

* Fix schema.sql for old DB version

* Set scale for Division Calculations

* Set withdraw/deposit allowed field in a currency object using detail of it's gateways

* Set withdraw/deposit allowed field in a currency object using detail of it's gateways

* Clean up deposit withdraw services (#466)

* Simplified deposit services

* Clean up withdraw services

* Fix quote asset not considered in total assets

* Add docker compose instead of docker-compose in actions scripts

* try to merge

* add availableGatewayType to currency object

* docker-compose -> docker compose (#471)

* docker-compose -> docker compose

* rm prefrences config from otc profile

* Rm isCryptoCurrency field from currency class

* Rm isCryptoCurrency field from currency class

* Try to debug wrong value in availableGatewayType

* Try to debug wrong value in availableGatewayType

* Try to debug wrong value in availableGatewayType

* Solve bug in having wrong value for availableGatewayType

* Try to solve diffrent merge conflicts

* Try to solve diffrent merge conflicts

* Try to solve diffrent merge conflicts

* Try to solve diffrent merge conflicts

* Try to solve diffrent merge conflicts

* Replace main with MAIN in wallet proxy

* Try to solve diffrent merge conflicts

* Try to solve diffrent merge conflicts

* Try to solve diffrent merge conflicts

* Try to solve diffrent merge conflicts

* Set default value for advanced transfer

* Transfer ref is not nullable field

* Set default value for wallet type in advanced transfer

* Set default value for wallet type in advanced transfer

* Add swap category to user transactions history

* Support get transactions history by admin

* Fix change in balance calculation for swap category

* sync

* Add last update date and applicator to withdraw model

* Add last update date and applicator to withdraw model

* Handle off-chain withdraw request

* Handle off-chain withdraw request

* Handle off-chain withdraw request

* Handle off-chain withdraw request

* Handle off-chain withdraw request

* Set default message in error handling process

* refactor deposit's endpoints

* Fetch seaps history for user and admin

* Develop services to get history for transfer-based actions for trusted users and admins

* Fix ithdrw search query

* Fix withdrow search query

* Fix withdrow search query

* Fix withdrow search query

* Fix withdrow search query

* Fix deposit search param

* Change swap history services

* Fix query of swap history

* Fix query of swap history

* Fix query of swap history

* Fix query of swap history

* Fix query of swap history

* Fix query of swap history

* Fix query of swap history

* Change in swap hitory detail

* -

* -

* -

* -

* Alter table -> -

* -

* Fix a calculation issue in swap history

* Consider attachment field for withdraw/deposit actions

---------

Co-authored-by: Peyman <peyman.sepehrad@gmail.com>
Co-authored-by: Peyman <marchosiax@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants