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

User Story: Buy an option with an expirationDate GTE to some timestamp #2352

Open
katelynsills opened this issue Feb 5, 2021 · 0 comments
Open
Labels
enhancement New feature or request ERTP package: ERTP Zoe Contract Contracts within Zoe Zoe package: Zoe

Comments

@katelynsills
Copy link
Contributor

Story

As a user, I want to buy an option and have my purchase be protected by offer safety. I want to be able to specify things that are important to me, such as that the option will not expire until after a specific timestamp. I don't want to have to specify things that are not important to me, such as the invitation handle for a particular option. (This use case also pertains to staking derivatives.)

Status

Currently, a user must specify the exact amount matching the option in order to buy it with offer safety. The user can be told of the exact amount by another user or a contract, but if they are not told, they cannot get offer safety.

Details

The test-coveredCall.js file is the best to look at for this use case. Currently, as of 2/5/2021, Dave must specify the optionAmount exactly, whereas he might actually only care that the expirationDate is after a timestamp, and that the strikePrice is under a certain amount, and the underlyingAssets are above a certain amount.

Next Steps

Please see the Amount Patterns Implementation Plan issue

@katelynsills katelynsills added the enhancement New feature or request label Feb 5, 2021
@katelynsills katelynsills self-assigned this Feb 5, 2021
@katelynsills katelynsills added the Zoe Contract Contracts within Zoe label Feb 5, 2021
@katelynsills katelynsills added Zoe package: Zoe ERTP package: ERTP Beta labels Feb 9, 2021
@katelynsills katelynsills added this to the Beta Launch milestone Feb 9, 2021
@rowgraus rowgraus removed this from the Beta Initial Launch milestone Mar 29, 2021
@Tartuffo Tartuffo added the MN-2 label Jan 19, 2022
@Tartuffo Tartuffo removed the MN-2 label Feb 7, 2022
@ivanlei ivanlei removed the Beta label Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ERTP package: ERTP Zoe Contract Contracts within Zoe Zoe package: Zoe
Projects
None yet
Development

No branches or pull requests

4 participants