Skip to content

add pool state transition funcs to interface #1514

@dpaiton

Description

@dpaiton

First outlined here: #1010 which was closed in favor of this issue.

We want to be able to estimate the future value of a trade as well as predict all outcomes of trades wrt user, pool, fees in base and shares.

Both this task and delvtech/hyperdrive-rs#39 require implementing "pool delta" calc functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA feature or refactor request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions