Navigation Menu

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

[WIP][GUI] New double amount transaction row. #1275

Closed
wants to merge 1 commit into from

Conversation

furszy
Copy link

@furszy furszy commented Jan 15, 2020

This PR comes from #1270 issue, in which a special type of cold staking contract transaction is not presented in the best possible way in the GUI.

The PR adds a new transaction type and change the transaction row in the GUI + modifies the transaction record flow to support the special transaction.

  • The new transaction record is contemplating the following scenario:

    coin-owner transferring ownership to external wallet and receiving the delegation contract to hot stake.

    So.. there are at least 2 utxo, and 3 utxo if there is a change utxo. The two amounts are:

    1. The outgoing amount: delegated amount + change + fee. ---> showed in red.

    2. The incoming delegation contract: delegated to myself amount. ---> showed in gray (for now).


TODO:

  • Complete second amount flow (currently the record is only storing the outgoing amount, not parsing the incoming delegation to be shown in the GUI).
  • Create a TransactionRecord subclass with the needed two amounts + two addresses information.

Will not rush here to include it in 4.0.2, have been speaking with @random-zebra and most likely there are other scenarios that need the same treatment.

* New transaction record contemplating the following scenario:

  coin-owner transferring ownership to external wallet and receiving the delegation contract to hot stake.

  So.. there are at least 2 utxo and 3 utxo if there is a change utxo. The two amounts are:

  1) The outgoing amount: delegated amount + change + fee. ---> showed in red.

  2) The incoming delegation contract: delegated to myself amount. ---> showed in gray (for now).
@furszy furszy added this to the 4.1.0 milestone Jan 15, 2020
@furszy furszy self-assigned this Jan 15, 2020
@furszy furszy modified the milestones: 4.1.0, Future Apr 6, 2020
@random-zebra random-zebra modified the milestones: Future, 5.0.0 Apr 24, 2020
@furszy
Copy link
Author

furszy commented May 20, 2020

Closing this PR, not on the current GUI records structure path.

@furszy furszy closed this May 20, 2020
@furszy furszy deleted the 2020_double_amount_row branch November 29, 2022 14:11
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.

None yet

2 participants