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

Pointer

Custom types

Pointer

type Pointer is bytes32;

LibPointer

asBytes32(Pointer self) → (bytes32)

asString(Pointer self) → (string val)

asBytes(Pointer self) → (bytes val)

asBool(Pointer self) → (bool val)

asUint256(Pointer self) → (uint256 val)

asInt256(Pointer self) → (int256 val)

asAddress(Pointer self) → (address val)

toPointer(bytes32 value) → (Pointer ptr)

toPointer(string value) → (Pointer ptr)

toPointer(bytes value) → (Pointer ptr)

toPointer(bool value) → (Pointer ptr)

toPointer(uint256 value) → (Pointer ptr)

toPointer(int256 value) → (Pointer ptr)

toPointer(address value) → (Pointer ptr)