-
Notifications
You must be signed in to change notification settings - Fork 18
mow plant harvest blueprint with dynamic tractor data #168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: frijo/release/PI-wsteth-referral
Are you sure you want to change the base?
mow plant harvest blueprint with dynamic tractor data #168
Conversation
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…otocol into mow-plant-harvest-blueprint
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…otocol into mow-plant-harvest-blueprint
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…oHelpers instead of redefining them locally
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…o-org/protocol into pocikerim/mow-plant-harvest
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
fr1jo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review II
…d operator validation and tip resolution logic
…olvedSourceIsBean and _enforceWithdrawalPlanAndTip
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
fr1jo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review III. needs 1 more small-medium refactor, but 95% of the way there!
| int96 plantedStem, | ||
| uint256 maxGrownStalkPerBdv, | ||
| uint256 slippageRatio | ||
| ) internal { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to add back the previous logic where we only perform this special logic if the token they want to tip from is the pinto token. Unclear why that was removed. should be able to copy paste this directly from a previous commit.
905d012#diff-00263ed26b5d1f84db9835491aa9430aa4d226b0919134fd66fef150d7ad8c1aL594-L624
also, in. _resolvedSourceIsBean, if (sourceTokenIndices.length == 0) return false; is redundant. _validateSourceTokens already checks that sourceTokenIndices.length > 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my bad. restored here: fb8392a
…nd fix minTwaDeltaB naming
…ot indexes directly
…g minHarvestAmount in struct
…' into pocikerim/mow-plant-harvest
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
No description provided.