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

Miroshnichenko/contest 2024 #13

Closed

Conversation

Otlichnick
Copy link

@Otlichnick Otlichnick commented May 29, 2024

Staking Feature

Implemented deposit and withdrawal functionalities for all supported staking pools.

  • Added items for tokens involved in deposit or withdrawal operations and their processing states to the main wallet screen.
  • Additionally, handled the overall balance and specific token balances for Whales and Nominators pools when a token is in the process of being deposited or withdrawn.
  • Handled edge cases during transaction submissions, including the ability to purchase additional coins if insufficient funds are available to complete the operation.
  • Managed edge cases such as depositing and withdrawing the maximum amount.
  • Added the ability to select a staking pool, view detailed information, and filter for the most profitable one.
  • Displayed profitable APY on the StakingDepositEdit screen in the pool item if the profit is more than 1 TON.
  • Introduced a detailed information screen for staked tokens, featuring a profit prediction chart based on APY and transaction history, as well as options to deposit or withdraw tokens.
  • Added a detailed information screen for the staking pool.
  • Additionally, I fixed several bugs and left comments in the code.

Note: It is recommended to run on a clean slate as the database schema has been updated, and migrations were not written.

If you have any additional questions or need further clarifications, feel free to contact me on Telegram: https://t.me/DaniilMirosh.

@grishamsc grishamsc closed this Oct 22, 2024
grishamsc added a commit that referenced this pull request Nov 11, 2024
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.

4 participants