foundry_evm_abi

Module Console

Source
Expand description

Module containing a contract’s types and functions.

interface Console {
    event log(string val);
    event logs(bytes val);
    event log_address(address val);
    event log_bytes32(bytes32 val);
    event log_int(int val);
    event log_uint(uint val);
    event log_bytes(bytes val);
    event log_string(string val);
    event log_array(uint256[] val);
    event log_array(int256[] val);
    event log_array(address[] val);
    event log_named_address(string key, address val);
    event log_named_bytes32(string key, bytes32 val);
    event log_named_decimal_int(string key, int val, uint decimals);
    event log_named_decimal_uint(string key, uint val, uint decimals);
    event log_named_int(string key, int val);
    event log_named_uint(string key, uint val);
    event log_named_bytes(string key, bytes val);
    event log_named_string(string key, string val);
    event log_named_array(string key, uint256[] val);
    event log_named_array(string key, int256[] val);
    event log_named_array(string key, address[] val);
}

Modules§

Structs§

  • Event with signature log(string) and selector 0x41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50.
  • Event with signature log_address(address) and selector 0x7ae74c527414ae135fd97047b12921a5ec3911b804197855d67e25c7b75ee6f3.
  • Event with signature log_array(uint256[]) and selector 0xfb102865d50addddf69da9b5aa1bced66c80cf869a5c8d0471a467e18ce9cab1.
  • Event with signature log_array(int256[]) and selector 0x890a82679b470f2bd82816ed9b161f97d8b967f37fa3647c21d5bf39749e2dd5.
  • Event with signature log_array(address[]) and selector 0x40e1840f5769073d61bd01372d9b75baa9842d5629a0c99ff103be1178a8e9e2.
  • Event with signature log_bytes(bytes) and selector 0x23b62ad0584d24a75f0bf3560391ef5659ec6db1269c56e11aa241d637f19b20.
  • Event with signature log_bytes32(bytes32) and selector 0xe81699b85113eea1c73e10588b2b035e55893369632173afd43feb192fac64e3.
  • Event with signature log_int(int256) and selector 0x0eb5d52624c8d28ada9fc55a8c502ed5aa3fbe2fb6e91b71b5f376882b1d2fb8.
  • Event with signature log_named_address(string,address) and selector 0x9c4e8541ca8f0dc1c413f9108f66d82d3cecb1bddbce437a61caa3175c4cc96f.
  • Event with signature log_named_array(string,uint256[]) and selector 0x00aaa39c9ffb5f567a4534380c737075702e1f7f14107fc95328e3b56c0325fb.
  • Event with signature log_named_array(string,int256[]) and selector 0xa73eda09662f46dde729be4611385ff34fe6c44fbbc6f7e17b042b59a3445b57.
  • Event with signature log_named_array(string,address[]) and selector 0x3bcfb2ae2e8d132dd1fce7cf278a9a19756a9fceabe470df3bdabb4bc577d1bd.
  • Event with signature log_named_bytes(string,bytes) and selector 0xd26e16cad4548705e4c9e2d94f98ee91c289085ee425594fd5635fa2964ccf18.
  • Event with signature log_named_bytes32(string,bytes32) and selector 0xafb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f99.
  • Event with signature log_named_decimal_int(string,int256,uint256) and selector 0x5da6ce9d51151ba10c09a559ef24d520b9dac5c5b8810ae8434e4d0d86411a95.
  • Event with signature log_named_decimal_uint(string,uint256,uint256) and selector 0xeb8ba43ced7537421946bd43e828b8b2b8428927aa8f801c13d934bf11aca57b.
  • Event with signature log_named_int(string,int256) and selector 0x2fe632779174374378442a8e978bccfbdcc1d6b2b0d81f7e8eb776ab2286f168.
  • Event with signature log_named_string(string,string) and selector 0x280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf3583.
  • Event with signature log_named_uint(string,uint256) and selector 0xb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a8.
  • Event with signature log_string(string) and selector 0x0b2e13ff20ac7b474198655583edf70dedd2c1dc980e329c4fbb2fc0748b796b.
  • Event with signature log_uint(uint256) and selector 0x2cab9790510fd8bdfbd2115288db33fec66691d476efc5427cfd4c0969301755.
  • Event with signature logs(bytes) and selector 0xe7950ede0394b9f2ce4a5a1bf5a7e1852411f7e6661b4308c913c4bfd11027e4.

Enums§