Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Remove V3 logic in Dataworker (#1352)
* feat: Remove V3 logic in Dataworker Some changes to highlight that might need deeper review: - Replaced all SlowFIllLeaf types with V3SlowFillLeaf. It might be preferable instead to change the upstream type SlowFillLeaf = V3SlowFillLeaf - We still need to apply isV3 filters when getting fills and deposits from SpokePoolClients because they return union events. Changing these types might save us some compute by removing the typeguards The motivation for this PR is removing dead code and cleaning up everything. Its a big diff but mostly subtraction! * Update PoolRebalanceUtils.ts * Update PoolRebalanceUtils.ts * Delte fillMathUtils and change deposit type to V3 in updateRunningBalanceForDeposit * Update package.json * Update index.ts * WIP * wip * fix * Update PoolRebalanceUtils.ts --------- Co-authored-by: Paul <[email protected]>
- Loading branch information