Expand description
Implementations of Scripting
cheatcodes.
Structs§
- Broadcast
- Wallets
- Clonable wrapper around
WalletsInner
. - Wallets
Inner - Contains context for wallet management.
Functions§
- broadcast 🔒
- Sets up broadcasting from a script using
new_origin
as the sender. - broadcast_
key 🔒 - Sets up broadcasting from a script with the sender derived from
private_key
. Adds this private key tostate
’swallets
vector to later be used for signing if broadcast is successful. - sign_
delegation 🔒 - Helper function to sign and attach (if needed) an EIP-7702 delegation. Uses the provided nonce, otherwise retrieves and increments the nonce of the EOA.
- write_
delegation 🔒