-
Notifications
You must be signed in to change notification settings - Fork 0
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
research(contracts): Order.Data struct (aka GPv2Order.Data) #3
Comments
Suggest to include a field that is a This would allow for easily reasoned "one-cancels-the-other", and would actually be supported by any signing scheme. Optionally, could also introduce a trade flag that allows for this logic to be inverted (only trade if the Overall this would drastically reduce the complexity required when reasoning about conditional orders that generally either require some storage slot used on some specific handler contract, or relies upon the |
Wouldn't this potentially cause problems with programmatic orders where a malicious observer could potentially front run any orders placed by a watch tower with random other orders for the same nullifier? |
Problem
There have been some limitations observed in the current
GPv2Order.Data
struct that have led to issues such as circular hashing.Acceptance criteria
Details
TBD
Possible Solutions
TBD
Research track
The text was updated successfully, but these errors were encountered: