Skip to content

Return only BigNumberish/BigNumbers from Containers, cast in Features #118

Description

@nicholaspai

Currently, container data read from on-chain is returned as a combination of string and number types, however this opens the door for precision loss. Containers should return raw data and let downstream modules cast the data as they wish.

Example:
Position container returns position stats as strings and numbers but all should just be returned as BigNumbers, including derivative stats such as GCR

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