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

Add 'refund' api to refund original selling price #15

Open
kohlivarun5 opened this issue Sep 10, 2018 · 3 comments
Open

Add 'refund' api to refund original selling price #15

kohlivarun5 opened this issue Sep 10, 2018 · 3 comments
Labels
good first issue Good for newcomers Solidity Changes to the smart contract that require re-deployment

Comments

@kohlivarun5
Copy link
Owner

No description provided.

@kohlivarun5 kohlivarun5 added the good first issue Good for newcomers label Sep 25, 2018
@kohlivarun5 kohlivarun5 added Solidity Changes to the smart contract that require re-deployment React UI changes that can be rolled out for existing contracts and removed React UI changes that can be rolled out for existing contracts labels Oct 20, 2018
@kohlivarun5
Copy link
Owner Author

Might relate to #65.

This should allow seller to refund unused tickets, and close out the contract, for situations like COVID-19.

Seller would need to submit and distribute, maybe clients can fetch refunds from universe or event and burn tickets.

  • Needs to ensure client doesn’t take refund but then resell
  • Needs to evaluate refunds after resale, probably only original price

@kohlivarun5
Copy link
Owner Author

Changes needed:

Solidity

  • Remember original sale price per ticket
  • Expose total refund amount (view)
  • Expose refund tickets (setter)
  • Block all resale during refunds (require)
  • Expose ticket refunded (view)
  • Expose claim refund and burn tickets (setter)

UI

  • Get total refund amount
  • Allow seller to set refund mode
  • Show claim refund instead of use ticket for user
  • Allow user to get refund and burn ticket

@MartinRep
Copy link

Nice try, man. 😃😃😃

Repository owner deleted a comment Jan 1, 2024
Repository owner deleted a comment from majeeel Jan 12, 2024
Repository owner deleted a comment from majeeel Jan 12, 2024
Repository owner deleted a comment from jacky-xbb Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Solidity Changes to the smart contract that require re-deployment
Projects
None yet
Development

No branches or pull requests

2 participants