Skip to content

Commit

Permalink
Merge pull request #168 from securesecrets/develop
Browse files Browse the repository at this point in the history
withdraw collateral msg
  • Loading branch information
AustinWoetzel authored Sep 17, 2024
2 parents c4bdd75 + d7809b2 commit 0e2f719
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/itchy-bags-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shadeprotocol/shadejs": patch
---

fix withdraw collateral msg
2 changes: 1 addition & 1 deletion src/contracts/definitions/moneyMarket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function msgMoneyMarketWithdrawCollateral({
collateralTokenAddress: string,
}) {
return {
deposit_collateral: {
withdraw_collateral: {
token: collateralTokenAddress,
amount: withdrawAmount,
},
Expand Down

0 comments on commit 0e2f719

Please sign in to comment.