Skip to main content

Module cache

Module cache 

Source
Expand description

In-memory cache for liquidation states.

Provides fast synchronous access to liquidation state for order blocking in the unified engine, with async methods for updates.

Structsยง

LiquidationCache
In-memory cache for liquidation states.

Constantsยง

DEFAULT_STATE ๐Ÿ”’
Default liquidation state for accounts not in the cache.

Functionsยง

json_string_array ๐Ÿ”’
optional_i64 ๐Ÿ”’
persisted_updated_at_ms ๐Ÿ”’
required_decimal ๐Ÿ”’
required_i32 ๐Ÿ”’
required_i64 ๐Ÿ”’
required_string ๐Ÿ”’