Skip to content

Current AfterSwap callback is Agnostic to BeforeSwapDelta #2

@Khrafts

Description

@Khrafts

While the afterSwap function definition is agnostic to the BeforeSwapDelta return of the beforeSwap callback, the Hooks library has a different implementation, one that expects the BeforeSwapDelta as a function parameter.
For simplicity, I have chosen to ignore this function argument as it's not present in the BaseHook interface, however, it's a matter worth looking into at a later date hence this issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions