Introduction
User Guide
Installation
Testing
Scripts
Modules
Accounts
Commands
Context
Expect
Fe
Format
Fs
Gas
Huff
Json
Results & Errors
Requests
Utils
Others
❱
Config
Console
Env
Events
Forks
RPC
Strings
References
Accounts
Commands
Config
Context
Env
Error
Events
Expect
Fe
Fmt
Forks
Fs
Gas
Huff
Invariants
Json
Pointer
Result
Semver
Strings
Utils
Vulcan
Watchers
Light (default)
Rust
Coal
Navy
Ayu
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)