cowprotocol / cow-sdk

CoW protocol SDK
https://docs.cow.fi/cow-protocol/reference/sdks/cow-sdk
Other
31 stars 9 forks source link

feat: merkle tree support #155

Open anxolin opened 1 year ago

anxolin commented 1 year ago

For now, we are focusing on single order, and get TWAP indexing to work as smooth as possible

After that we will need to deprecate the old validation done in watch tower and move the logic to the SDK.

For now, we keep a simple approach, where each conditional order type implementation implements a isSingleOrder: boolean accessor that will signal that is not a Merkle root order.

This issue is to improve our Merkle root order (and potentially delete this prop)