Following up on this thread, I wish to understand what will be a good use case using the feature to call a function in .call{}() ?
Asked
Active
Viewed 28 times
1 Answers
0
One use case is for wallet contracts. For example a multi signature wallet contract. The contract owner should be able to call any contract with any message.
Similarly flash loans contracts could allow the requester to execute any contract and message after receiving the loan.
Ismael
- 30,570
- 21
- 53
- 96
call()? As in multisig, when you need to say - attain confirmation from multiple wallets. – Mrigendra Soni Jul 30 '23 at 03:22address.call(message), it is not possible. It sends one message to one address. However a it is possible to implement a 'multicall'contract, that accepts one message and split it into multiple calls. – Ismael Jul 30 '23 at 21:27