Replies: 6 comments 2 replies
-
Following the findings related to the encoding / decoding and the potential security risks that may be present, removing the custom calldata has been discussed. Here are some pros:
|
Beta Was this translation helpful? Give feedback.
-
Something that we mentioned in the past: https://github.com/spearbit-audits/review-primitive/issues/4. Basically we need to add safety checks when it comes to adding / removing liquidity, we need to decide if we want to do it inside of the Portfolio contract or at a periphery level. Quick note: we might be running out of space for |
Beta Was this translation helpful? Give feedback.
-
I'm considering removing "Collect", here's why:
|
Beta Was this translation helpful? Give feedback.
-
Great suggestion from infomorph:
|
Beta Was this translation helpful? Give feedback.
-
Meeting notes March 29, 2023
|
Beta Was this translation helpful? Give feedback.
-
Pushing token scaling to the edgesNative token decimals and WAD values (1e18) are mixed within Portoflio's business logic. One idea is to push the decimal scaling only to the edges, i.e. when tokens are actually transferred. Lifetime of Token Decimals
So from this, we can see only swap really handles decimal scaling. This probably makes sense to leave in because its siloed to a single function. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Spearbit audit will end soon and the goal of this discussion is to plan what's next (code fixes, refactoring, etc...).
Beta Was this translation helpful? Give feedback.
All reactions