foundry_cheatcodes

Module script

Source
Expand description

Implementations of Scripting cheatcodes.

Structsยง

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 to stateโ€™s wallets vector to later be used for signing if broadcast is successful.
  • create_auth ๐Ÿ”’
  • sig_to_auth ๐Ÿ”’
  • sig_to_delegation ๐Ÿ”’
  • write_delegation ๐Ÿ”’