1. Introduction
  2. User Guide
  3. Installation
  4. Testing
  5. Scripts
  6. Modules
  7. Accounts
  8. Commands
  9. Context
  10. Expect
  11. Fe
  12. Format
  13. Fs
  14. Gas
  15. Huff
  16. Json
  17. Results & Errors
  18. Requests
  19. Utils
  20. Others
    ❱
    1. Config
    2. Console
    3. Env
    4. Events
    5. Forks
    6. RPC
    7. Strings
  21. References
  22. Accounts
  23. Commands
  24. Config
  25. Context
  26. Env
  27. Error
  28. Events
  29. Expect
  30. Fe
  31. Fmt
  32. Forks
  33. Fs
  34. Gas
  35. Huff
  36. Invariants
  37. Json
  38. Pointer
  39. Result
  40. Semver
  41. Strings
  42. Utils
  43. Vulcan
  44. Watchers

Utils

Functions

bound(uint256 x, uint256 min, uint256 max) → (uint256 result)

bound(int256 x, int256 min, int256 max) → (int256 result)

abs(int256 a) → (uint256)

delta(uint256 a, uint256 b) → (uint256)

delta(int256 a, int256 b) → (uint256)

format(string template, bytes args) → (string)

formatError(string module, string func, string message) → (string)

println(string template, bytes args)

println(string arg)

rawConsoleLog(string arg)

removeSelector(bytes data) → (bytes)