Skip to main content

Module encoder

Module encoder 

Source
Expand description

Route encoder: converts solver output into ABI-encoded on-chain calldata.

Wraps tycho-execution to produce ABI-encoded calldata for single, sequential, and split swaps, with and without Permit2. See the Fynd encoding guide for supported encoding options and how to configure them.

Structs§

Encoder
Encodes solution into tycho compatible transactions.

Constants§

PERMIT2_ADDRESS
Canonical Permit2 contract address — identical on all EVM chains.