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

When someone takes out the funds it shows it as spent #115

Open
itailiors opened this issue Jul 5, 2024 · 4 comments
Open

When someone takes out the funds it shows it as spent #115

itailiors opened this issue Jul 5, 2024 · 4 comments

Comments

@itailiors
Copy link
Collaborator

If someone pulls out their investment from a project, there are 2 problems

  1. in the project page there is no information about it (investors can't tell if people pulled out their money, or how much is actually invested in the project)
  2. in spends funds it is showed as "spent" even though it really isn't.
@dangershony
Copy link
Member

  1. will be solved with explorers (I think we already have endpoints for that we just need to call them)
  2. do you have a way to reproduce this? shows as spent for who founder or investor?

@itailiors
Copy link
Collaborator Author

  1. explorers ? you mean https://browse.angor.io/ ?
  2. for the founder:
    in spends funds, the utxo of the refunded invested is shown as "spent".
    for investor:
    in browse there is no way to know

very easy to reproduce, you can even look in spend,razor for string statusText = transaction.IsSpent ? "Spent" : "Unspent";
there is no condition for refunded.
(also can be solved by a filter on the items that if they were refunded don't show in spend page
var transaction in stage.Items) line 110~

@dangershony
Copy link
Member

explorers is basically https://explorer.angor.io/tbtc/explorer
we still dont have a dedicated page to show angor projects (but its coming)

ok I will try to reproduce this

@dangershony
Copy link
Member

for investor:
in browse there is no way to know

are you sure it is not just a matter of waiting for the confirmations on the blockchains?

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

No branches or pull requests

2 participants