Skip to main content

Module data

Module data 

Source
Expand description

Wire-format data structures shared by clients and the on-chain program: each module pairs an idiomatic Rust struct with its canonical byte representation.

Modulesยง

intent
Order intents and their canonical byte representation.
order
Order account: its byte layout and the zero-copy accessor over it.
state
Settlement state account: its byte layout and the zero-copy accessor over it.