Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
MulticallerWithSender
copy icon
Multicall
Utility
Deployable

MulticallerWithSender

This contract allows for efficient aggregation of multiple calls in a single transaction, while "forwarding" the `msg.sender`. This is useful for situations where multiple calls need to be made in a single transaction, but the `msg.sender` needs to be preserved. (autogenerated description)

*Visit desktop site to download or deploy

Last Publish

3/4/2023
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
aggregateWithSender(address[],bytes[]) :
Aggregates multiple calls in a single transaction. The `msg.value` will be forwarded to the last call. This method will set `sender` to the `msg.sender` temporarily for the span of its execution. This method does not support reentrancy. - data: An array of calldata to forward to the targets. - targets: An array of addresses to call.
aggregateWithSender() :
This function aggregates multiple calls to different contracts with the same sender, using dynamic assembly to optimize gas usage. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i MulticallerWithSender
copy icon

Bytecode

Download

Verification

Download

Last Publish

3/4/2023

Solidity Compiler

v0.8.17+commit.8df45f5f

Version

1.0.0

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.