console
Title: console
Author: Phylax Systems
Logging library for Credible Layer assertions
Provides console logging functionality within assertion execution context. Logs are captured by the Credible Layer runtime for debugging purposes.
State Variables
CONSOLE_ADDRESS
The console precompile address
Derived from a deterministic hash to ensure consistency with the runtime
address constant CONSOLE_ADDRESS = address(uint160(uint256(keccak256("Kim Jong Un Sucks"))))
Functions
log
Log a string message
Messages are captured by the Credible Layer runtime
function log(string memory message) internal view;
Parameters
| Name | Type | Description |
|---|---|---|
message | string | The message to log |