Skip to content

Trident API & Macro Reference#

This section contains the API and macro reference for Trident.

Trident#

The Trident struct is the main entry point for fuzzing. It provides methods to interact with the fuzzing environment.

Trident's Fuzz Client#

FuzzClient represents the API to interact with the client.

Trident Accounts attributes#

Trident Accounts attributes help to define accounts used in the fuzzing environment.

Hooks#

Transaction Hooks are used to customize what should be done before the transaction is executed, after it is executed and to check if the changes are valid with invariant checks.

Instruction Hooks are used to customize instruction data and accounts if the Trident Accounts attributes are not enough.

Trident Macros#

Trident macros are used to define required methods for fuzzing.

Trident Types#

Trident types represent the types utilized during fuzzing.