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

feat: watch tower / sdk friendly expanded interface #77

Merged
merged 4 commits into from
Sep 25, 2023

Conversation

mfw78
Copy link
Contributor

@mfw78 mfw78 commented Sep 25, 2023

Description

Provides expanded IConditionalOrder interfaces with parameterized errors as these are required to standardise such that the conditional order is able to communicate it's indexing intent to a watch tower.

NOTE: Replaces #73 that was closed in error.

Changes

  • Add custom parameterized errors for watch tower indexing.
  • validateData external function for verifying a conditional order's data struct if granular verification has been implemented (recommended for order type developers).

How to test

The TWAP contract has been updated to implement the expanded interface. To test:

forge test

Related Issues

Closes #72

@mfw78 mfw78 added enhancement New feature or request E:2023-composable-cow labels Sep 25, 2023
@mfw78 mfw78 self-assigned this Sep 25, 2023
@mfw78 mfw78 changed the title Feat interface learnings feat: watch tower / sdk friendly expanded interface Sep 25, 2023
@mfw78 mfw78 merged commit ba6e5b4 into develop Sep 25, 2023
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 25, 2023
@mfw78 mfw78 linked an issue Sep 25, 2023 that may be closed by this pull request
3 tasks
@mfw78 mfw78 deleted the feat-interface-learnings branch September 25, 2023 01:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: watch-tower and sdk friendly extended interface
1 participant