Skip to content

add "depth" parameter to position #270

Description

@yenicelik
    pub depth: u32,

if we add a depth parameter, we should be able to easily created nested strategies. not sure how to reflect this on the UI side as of now, but good to keep this in the backend anyways.

basically depth of 0 indicates that the cranks should run on these things first. this initial crank-run will create LP tokens, for example.

then we can run the cranks for depth=1, using the LP tokens generated from the cranks with depth=0, etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions