From 637a4a99ef188a41c25c39ae196d6e0e7add8423 Mon Sep 17 00:00:00 2001 From: Maxence Raballand Date: Tue, 14 May 2024 15:49:11 +0200 Subject: [PATCH] fix: payabale invalid ABI param --- .changeset/happy-poems-heal.md | 5 +++++ src/builder/kandel/retract.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/happy-poems-heal.md diff --git a/.changeset/happy-poems-heal.md b/.changeset/happy-poems-heal.md new file mode 100644 index 0000000..2fb8b88 --- /dev/null +++ b/.changeset/happy-poems-heal.md @@ -0,0 +1,5 @@ +--- +"@mangrovedao/mgv": patch +--- + +Fix payable not valid ABI diff --git a/src/builder/kandel/retract.ts b/src/builder/kandel/retract.ts index 457bebc..e621ba2 100644 --- a/src/builder/kandel/retract.ts +++ b/src/builder/kandel/retract.ts @@ -6,7 +6,7 @@ import { } from 'viem' export const restractKandelABI = parseAbi([ - 'function retractAndWithdraw(uint from, uint to, uint baseAmount, uint quoteAmount, uint freeWei, address payable recipient) external', + 'function retractAndWithdraw(uint from, uint to, uint baseAmount, uint quoteAmount, uint freeWei, address recipient) external', ]) export type RetractParams = {