solidity-multicall

1.0.0 • Public • Published

Build Status

Solidity Multi-Transaction

Solidity testing utility for calling the same function several times in a single transaction. Such a tool can be used during unit testing to achieve conditional coverage in situations that might require several transactions to be executed simultaneously.

Practical use case

Request collection in batches having limited capacity which expire after a pre-defined amount of time. That is, the batch collection of requests "closes" (i.e. becomes inactive) and can be processed after either a pre-defined amount of time or when the batch is full/capacity reached. If the batch capacity is too large to fill in short time period (say the average time of a single block), then testing desired functionality of how the contract handle's full batches.

Package Sidebar

Install

npm i solidity-multicall

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

150 kB

Total Files

14

Last publish

Collaborators

  • bh2smith