You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Currently, container data read from on-chain is returned as a combination of
string
andnumber
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 asstrings
andnumbers
but all should just be returned as BigNumbers, including derivative stats such asGCR
The text was updated successfully, but these errors were encountered: