Expand fxusd skill with fxSAVE, Hydrex, and Morpho flows#243
Open
huwangtao123 wants to merge 3 commits intoBankrBot:mainfrom
Open
Expand fxusd skill with fxSAVE, Hydrex, and Morpho flows#243huwangtao123 wants to merge 3 commits intoBankrBot:mainfrom
huwangtao123 wants to merge 3 commits intoBankrBot:mainfrom
Conversation
Author
|
Adding a bit more context here: This skill is intended to be the starting point for a broader collection of The initial version focuses on the most obvious Base user flow:
But the direction is larger than that. The goal is to make
In short: this PR adds the first public shortcut skill, but the broader vision is an |
Author
|
@sidrisov Do you get a chance to take a look |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fxusdfrom a singlefxSAVEshortcut skill into a broaderfxUSDstrategy skill on BasefxSAVEshortcut flow, but add Hydrex single-sided liquidity discovery and execution planningfxUSDsupply, withdraw, borrow, and repay workflowsWhat the skill does now
This PR turns
fxusdinto a routing layer for Base-sidefxUSDactions.It now covers three modules:
fxSAVEshortcutHydrexsingle-sided liquidityMorpholend / borrow planningExecution model by module
fxSAVE: executable today through the public app backend athttps://fxsave.up.railway.appHydrex: live discovery plus execution-ready planning, including Bankr-ready/agent/submitstepsMorpho: planning and decision support, with explicit risk controls before any future execution workNew and updated files
fxusd/SKILL.mdfxusd/references/api.mdfxusd/references/hydrex.mdfxusd/references/morpho.mdfxusd/scripts/fxusd_cli.pyfxusd/scripts/fxusd_hydrex.pyREADME.mdHighlights
fxSAVE
fxSAVEHydrex
stablecoin-farmingfromcrypto-farmingMorpho
fxUSDsupply and borrow as a separate moduleValidation
I validated the updated skill contents and scripts locally.
Script validation
python3 -m py_compile fxusd/scripts/fxusd_cli.py fxusd/scripts/fxusd_hydrex.pyfxSAVE validation
python3 fxusd/scripts/fxusd_cli.py mint --from-address 0x241e25c9d15b5E7FB007B5E028C4ce8694893870 --amount 1 --source-token fxUSDpython3 fxusd/scripts/fxusd_cli.py redeem --from-address 0x241e25c9d15b5E7FB007B5E028C4ce8694893870 --amount 1 --target-token USDCThese returned valid bundle and approval responses from the public app backend.
Hydrex validation
discoverandrecommendchecks forfxUSDandBNKRdeposit-planforfxUSDwithdraw-planfor Hydrex vault positionsWhy this is a better fit for Bankr
The old PR body described a narrow
fxSAVEshortcut skill.The updated skill is closer to how users actually think about
fxUSD:fxUSDto work