Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 619 Bytes

File metadata and controls

7 lines (4 loc) · 619 Bytes

Batch Actions

In addition to batch create and batch mint, any set of Hats.sol functions can be batched together into a single transaction.

This is made possible by Multicallable — from which Hats.sol inherits — which adds a non-payable multicall function to the contract. This enables EOAs to make multiple calls to the contract atomically, unlocking a number of useful batch operations that were previously only available to smart contracts.

For example,