Is there any advantage of using inline assembly call
over address.call
?
For example
// address addr
// uint value
// bytes memory data
// using inline assembly
assembly {
call(gas, addr, value, add(data, 0x20), mload(data), mload(0x40), 0)
}
// using address.call
addr.call.value(value)(data)
I am looking at the code for Gnosis multisig wallet and wondered why they were using assembly call
instead of address.call