Skip to main content

Module fluid

Module fluid 

Source

Structs§

FluidV1
ResolverOverrides
State the resolver call runs against, overriding what the engine’s database holds. Default overrides nothing and reads confirmed state.

Constants§

BLOCK_TIMESTAMP_ATTRIBUTE
Attribute carrying the target block’s timestamp as an eight-byte big-endian u64.
POOL_RESERVES_ADJUSTED_ATTRIBUTE
Attribute carrying the resolver’s ABI-encoded PoolWithReserves output.

Functions§

call_resolver
Calls the reserves resolver for pool and returns the raw ABI-encoded return bytes.
pending_state_attributes
Encodes Fluid resolver output and its block timestamp as pending-state attributes.