diff --git a/.changeset/itchy-bags-allow.md b/.changeset/itchy-bags-allow.md new file mode 100644 index 0000000..da04136 --- /dev/null +++ b/.changeset/itchy-bags-allow.md @@ -0,0 +1,5 @@ +--- +"@shadeprotocol/shadejs": patch +--- + +fix withdraw collateral msg diff --git a/src/contracts/definitions/moneyMarket.ts b/src/contracts/definitions/moneyMarket.ts index 002d841..e4938b9 100644 --- a/src/contracts/definitions/moneyMarket.ts +++ b/src/contracts/definitions/moneyMarket.ts @@ -82,7 +82,7 @@ function msgMoneyMarketWithdrawCollateral({ collateralTokenAddress: string, }) { return { - deposit_collateral: { + withdraw_collateral: { token: collateralTokenAddress, amount: withdrawAmount, },