Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ControlCplusControlV/ferrofluid
/ functions
Functions
243 in github.com/ControlCplusControlV/ferrofluid
⨍
Functions
243
◇
Types & classes
142
↓ 21 callers
Function
encode_value
Encode a value according to EIP-712 rules
src/types/eip712.rs:67
↓ 18 callers
Method
request
( &self, request_json: serde_json::Value, )
src/providers/info.rs:98
↓ 15 callers
Method
send_l1_action
( &self, action_type: &str, action: &T, )
src/providers/exchange.rs:847
↓ 13 callers
Method
build
(self)
src/providers/exchange.rs:1094
↓ 12 callers
Method
as_ref
(&self)
src/types/symbol.rs:41
↓ 12 callers
Method
next_nonce
Get next nonce for this agent
src/providers/agent.rs:61
↓ 10 callers
Method
check_weight
(&self, weight: u32)
src/providers/info.rs:37
↓ 8 callers
Method
infer_network
(&self)
src/providers/exchange.rs:59
↓ 8 callers
Method
send
(self)
src/providers/info.rs:347
↓ 7 callers
Method
domain
Get the EIP-712 domain for this action
src/types/eip712.rs:18
↓ 7 callers
Method
subscribe
Generic subscription method
src/providers/websocket.rs:170
↓ 6 callers
Method
as_str
Get the symbol as a string slice
src/types/symbol.rs:17
↓ 6 callers
Method
eip712_signing_hash
(&self, domain: &Eip712Domain)
src/types/eip712.rs:52
↓ 6 callers
Method
next_nonce
Get the next nonce for an optional address
src/providers/nonce.rs:36
↓ 6 callers
Method
send_user_action
( &self, action: &T, )
src/providers/exchange.rs:890
↓ 6 callers
Method
size
(mut self, size: impl ToString)
src/providers/exchange.rs:1035
↓ 5 callers
Function
create_test_exchange
()
tests/order_tracking_test.rs:23
↓ 4 callers
Method
buy
(mut self)
src/providers/exchange.rs:1020
↓ 4 callers
Method
limit_px
(mut self, price: impl ToString)
src/providers/exchange.rs:1030
↓ 4 callers
Method
order
(&self, asset: u32)
src/providers/exchange.rs:1133
↓ 4 callers
Method
place_order
( &self, order: &OrderRequest, )
src/providers/exchange.rs:263
↓ 4 callers
Method
sign_hash
(&self, hash: B256)
src/signers/signer.rs:39
↓ 4 callers
Function
symbol
Create a new symbol at runtime (for assets not yet in the SDK) # Example ``` use ferrofluid::types::symbols::symbol; let new_coin = symbol("NEWCOIN"
src/types/symbols.rs:1191
↓ 4 callers
Method
update_order_status
Update order status after submission
src/providers/order_tracker.rs:52
↓ 4 callers
Method
with_cloid
Set client order ID
src/types/requests.rs:129
↓ 4 callers
Method
with_network
Set network
src/providers/exchange.rs:1330
↓ 3 callers
Method
bulk_orders
( &self, orders: Vec<OrderRequest>, )
src/providers/exchange.rs:457
↓ 3 callers
Function
get_test_signer
()
src/signers/signer.rs:93
↓ 3 callers
Method
is_success
Check if this status represents a successful order
src/types/responses.rs:78
↓ 3 callers
Method
post
( &self, action: Value, signature: HyperliquidSignature, nonce: u64, )
src/providers/exchange.rs:932
↓ 3 callers
Function
print_symbol_info
(symbol: impl Into<Symbol>)
examples/00_symbols.rs:32
↓ 2 callers
Method
add_order
Add an order to the batch queue
src/providers/batcher.rs:116
↓ 2 callers
Method
address
(&self)
src/signers/privy.rs:197
↓ 2 callers
Method
clear_tracked_orders
Clear tracked orders
src/providers/exchange.rs:126
↓ 2 callers
Method
cloid
(mut self, id: Uuid)
src/providers/exchange.rs:1050
↓ 2 callers
Function
format_float_string
Format a float for use in API requests Formats to 8 decimal places and removes trailing zeros
src/providers/exchange.rs:30
↓ 2 callers
Method
get_or_rotate_agent
Get or create an agent, rotating if necessary
src/providers/agent.rs:111
↓ 2 callers
Method
get_orders_by_status
Get orders by status
src/providers/order_tracker.rs:78
↓ 2 callers
Function
init_crypto
()
tests/order_tracking_test.rs:14
↓ 2 callers
Method
len
Get the number of tracked orders
src/providers/order_tracker.rs:114
↓ 2 callers
Method
order_type
(mut self, order_type: OrderType)
src/providers/exchange.rs:1045
↓ 2 callers
Method
sell
(mut self)
src/providers/exchange.rs:1025
↓ 2 callers
Method
sign_hash
(&self, hash: B256)
src/signers/privy.rs:145
↓ 2 callers
Method
start_reading
Start reading messages (must be called after connecting)
src/providers/websocket.rs:253
↓ 2 callers
Method
struct_hash
(&self)
src/types/eip712.rs:48
↓ 2 callers
Method
time_range
(mut self, start: u64, end: u64)
src/providers/info.rs:331
↓ 2 callers
Method
track_order
Track a new order
src/providers/order_tracker.rs:38
↓ 1 callers
Method
all_mids
(&self)
src/providers/info.rs:141
↓ 1 callers
Method
approve_agent
( &self, agent_address: Address, agent_name: Option<String>, )
src/providers/exchange.rs:645
↓ 1 callers
Method
approve_agent_internal
Internal method to approve agent (will use exchange provider)
src/providers/agent.rs:159
↓ 1 callers
Method
approve_builder_fee
( &self, builder: Address, max_fee_rate: String, )
src/providers/exchange.rs:714
↓ 1 callers
Method
bulk_cancel
( &self, cancels: Vec<CancelRequest>, )
src/providers/exchange.rs:506
↓ 1 callers
Method
candles
(&self, coin: impl Into<Symbol>)
src/providers/info.rs:295
↓ 1 callers
Method
chain_id
Get chain ID for domain construction Override this method for actions with signature_chain_id
src/types/eip712.rs:13
↓ 1 callers
Method
clear
Clear all tracked orders
src/providers/order_tracker.rs:108
↓ 1 callers
Method
create_new_agent
Create and approve a new agent
src/providers/agent.rs:142
↓ 1 callers
Method
encode_data
Encode the struct data according to EIP-712 rules Default implementation - should be overridden for proper field ordering
src/types/eip712.rs:39
↓ 1 callers
Method
encode_eip712
(&self)
src/types/eip712.rs:77
↓ 1 callers
Method
funding_history
(&self, coin: impl Into<Symbol>)
src/providers/info.rs:305
↓ 1 callers
Method
get_active_agents
Get all active agents
src/providers/agent.rs:179
↓ 1 callers
Method
get_all_orders
Get all tracked orders
src/providers/order_tracker.rs:72
↓ 1 callers
Method
get_order
Get a specific order by CLOID
src/providers/order_tracker.rs:66
↓ 1 callers
Method
handle_disconnect
Handle disconnection
src/providers/websocket.rs:621
↓ 1 callers
Method
interval
(mut self, interval: impl Into<String>)
src/providers/info.rs:326
↓ 1 callers
Method
is_connected
Check if connected
src/providers/websocket.rs:248
↓ 1 callers
Method
is_spot
Check if this is a spot symbol (starts with @)
src/types/symbol.rs:22
↓ 1 callers
Method
keepalive_loop
Keep-alive loop
src/providers/websocket.rs:532
↓ 1 callers
Method
l2_book
( &self, coin: impl Into<Symbol>, )
src/providers/info.rs:159
↓ 1 callers
Method
limit_buy
Convenience methods for common order types
src/providers/exchange.rs:1056
↓ 1 callers
Method
limit_sell
(self, price: impl ToString, size: impl ToString)
src/providers/exchange.rs:1060
↓ 1 callers
Method
meta
(&self)
src/providers/info.rs:270
↓ 1 callers
Method
ping
Send a ping to keep connection alive
src/providers/websocket.rs:228
↓ 1 callers
Method
place_order_with_builder_fee
( &self, order: &OrderRequest, builder_fee: u64, )
src/providers/exchange.rs:331
↓ 1 callers
Method
recent_trades
( &self, coin: impl Into<Symbol>, )
src/providers/info.rs:236
↓ 1 callers
Method
reconnect_loop
Reconnection loop
src/providers/websocket.rs:550
↓ 1 callers
Method
rpc
Internal RPC helper
src/signers/privy.rs:108
↓ 1 callers
Method
run
Run the batching loop (should be spawned as a task)
src/providers/batcher.rs:164
↓ 1 callers
Method
should_rotate
Check if agent should be rotated based on TTL
src/providers/agent.rs:53
↓ 1 callers
Method
spot_meta
(&self)
src/providers/info.rs:277
↓ 1 callers
Method
subscribe_all_mids
Subscribe to all mid prices
src/providers/websocket.rs:163
↓ 1 callers
Method
subscribe_l2_book
Subscribe to L2 order book updates
src/providers/websocket.rs:139
↓ 1 callers
Method
with_auto_batching
Enable automatic order batching
src/providers/exchange.rs:1336
↓ 1 callers
Method
with_order_tracking
Enable order tracking for this exchange instance
src/providers/exchange.rs:73
↓ 1 callers
Method
without_agent_rotation
Disable agent rotation
src/providers/exchange.rs:1369
Method
add_cancel
Add a cancel to the batch queue
src/providers/batcher.rs:133
Method
address
(&self)
src/signers/signer.rs:54
Method
api_url
(&self)
src/constants.rs:10
Method
approve_agent_new
Approve a new agent, generating a random key like the original SDK Returns (private_key_hex, response)
src/providers/exchange.rs:670
Method
builder
Get the configured builder address
src/providers/exchange.rs:68
Method
bulk_cancel_by_cloid
( &self, cancels: Vec<CancelRequestCloid>, )
src/providers/exchange.rs:516
Method
bulk_modify
( &self, modifies: Vec<ModifyRequest>, )
src/providers/exchange.rs:526
Method
bulk_orders_with_builder_fee
( &self, orders: Vec<OrderRequest>, builder_fee: u64, )
src/providers/exchange.rs:475
Method
bulk_orders_with_cloids
( &self, orders: Vec<(OrderRequest, Option<Uuid>)>, )
src/providers/exchange.rs:494
Method
cancel_order
( &self, asset: u32, oid: u64, )
src/providers/exchange.rs:410
Method
cancel_order_by_cloid
( &self, asset: u32, cloid: Uuid, )
src/providers/exchange.rs:424
Method
chain_id
(&self)
src/types/actions.rs:28
Method
cleanup_deregistered
Clean up deregistered agents
src/providers/agent.rs:197
Method
connect
Connect to Hyperliquid WebSocket
src/providers/websocket.rs:47
Method
connect_with_defaults
Connect with default configuration
src/providers/websocket.rs:414
Method
current_nonce
()
src/providers/exchange.rs:772
next →
1–100 of 243, ranked by callers