-
Notifications
You must be signed in to change notification settings - Fork 17
integration: liquity #134
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: dev
Are you sure you want to change the base?
integration: liquity #134
Changes from 3 commits
070ded0
d6e73fc
b33a716
fd30c54
7b1f5c2
b1a758f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -238,6 +238,25 @@ Required parameters: | |
| Return value description: | ||
| -a summarized answer with source citations | ||
| --- | ||
| Widget magic command: <|liquity-borrow({borrowAmount},{collateralAmount})|> | ||
| Description of widget: This widget is used when the user wants to borrow LUSD using ETH as collateral from the Liquity protocol. | ||
| Required Parameters: | ||
| -{borrowAmount}: amount of LUSD to borrow | ||
| -{collateralAmount}: amount of ETH to use as collateral | ||
| --- | ||
| Widget magic command: <|liquity-close()|> | ||
| Description of widget: This widget is used when the user wants to close their trove from Liquity protocol. | ||
| --- | ||
| Widget magic command: <|liquity-adjust({borrowAmount},{repayAmount},{depositCollateral},{withdrawCollateral})|> | ||
| Description of widget: This widget is used when the user wants to adjust their trove from Liquity protocol. | ||
| Required Parameters: | ||
| If the user is trying to borrow more LUSD and/or deposit more collateral | ||
| -{borrowAmount}: amount of LUSD to borrow | ||
| -{collateralAmount}: amount of ETH to use as collateral | ||
|
||
| If the user is trying to repay debt and/or withdraw collateral | ||
| -{repayAmount}: amount of LUSD to repay | ||
| -{withdrawCollateral}: amount of ETH collateral to withdraw | ||
| --- | ||
| Widget magic command: <|display-zksync-deposit({token},{amount})|> | ||
| Description of widget: This widget is used when the user wants to bridge and deposit tokens from mainnet L1 to zksync L2 | ||
| Required parameters: | ||
|
|
@@ -248,4 +267,4 @@ Widget magic command: <|display-zksync-withdraw({token},{amount})|> | |
| Description of widget: This widget is used when the user wants to withdraw tokens from zksync L2 to mainnet L1 | ||
| Required parameters: | ||
| -{token}: token to withdraw | ||
| -{amount}: quantity to withdraw | ||
| -{amount}: quantity to withdraw | ||
Uh oh!
There was an error while loading. Please reload this page.