Skip to content

Commit

Permalink
Merge pull request #141 from gnosisguild/unfold-multicall-clear-eth
Browse files Browse the repository at this point in the history
Allow unfolding multicall with value, but set to `0` on unfolded calls
  • Loading branch information
jfschwarz authored Sep 30, 2024
2 parents 46e6026 + 3e99590 commit 5222d1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extension/src/transactionTranslations/uniswapMulticall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export default {

if (parseInt(value) > 0) {
// We don't support unfolding of transactions with value since it's hard to tell which individual calls are supposed to receive the value
return undefined
console.warn(
'Unfolding multicall with value is not supported. The unfolded transactions will not include value and need manual editing.'
)
}

let functionCalls: string[] = []
Expand Down

0 comments on commit 5222d1c

Please sign in to comment.