MCPcopy Create free account

hub / github.com/ControlCplusControlV/ferrofluid / functions

Functions243 in github.com/ControlCplusControlV/ferrofluid

↓ 21 callersFunctionencode_value
Encode a value according to EIP-712 rules
src/types/eip712.rs:67
↓ 18 callersMethodrequest
( &self, request_json: serde_json::Value, )
src/providers/info.rs:98
↓ 15 callersMethodsend_l1_action
( &self, action_type: &str, action: &T, )
src/providers/exchange.rs:847
↓ 13 callersMethodbuild
(self)
src/providers/exchange.rs:1094
↓ 12 callersMethodas_ref
(&self)
src/types/symbol.rs:41
↓ 12 callersMethodnext_nonce
Get next nonce for this agent
src/providers/agent.rs:61
↓ 10 callersMethodcheck_weight
(&self, weight: u32)
src/providers/info.rs:37
↓ 8 callersMethodinfer_network
(&self)
src/providers/exchange.rs:59
↓ 8 callersMethodsend
(self)
src/providers/info.rs:347
↓ 7 callersMethoddomain
Get the EIP-712 domain for this action
src/types/eip712.rs:18
↓ 7 callersMethodsubscribe
Generic subscription method
src/providers/websocket.rs:170
↓ 6 callersMethodas_str
Get the symbol as a string slice
src/types/symbol.rs:17
↓ 6 callersMethodeip712_signing_hash
(&self, domain: &Eip712Domain)
src/types/eip712.rs:52
↓ 6 callersMethodnext_nonce
Get the next nonce for an optional address
src/providers/nonce.rs:36
↓ 6 callersMethodsend_user_action
( &self, action: &T, )
src/providers/exchange.rs:890
↓ 6 callersMethodsize
(mut self, size: impl ToString)
src/providers/exchange.rs:1035
↓ 5 callersFunctioncreate_test_exchange
()
tests/order_tracking_test.rs:23
↓ 4 callersMethodbuy
(mut self)
src/providers/exchange.rs:1020
↓ 4 callersMethodlimit_px
(mut self, price: impl ToString)
src/providers/exchange.rs:1030
↓ 4 callersMethodorder
(&self, asset: u32)
src/providers/exchange.rs:1133
↓ 4 callersMethodplace_order
( &self, order: &OrderRequest, )
src/providers/exchange.rs:263
↓ 4 callersMethodsign_hash
(&self, hash: B256)
src/signers/signer.rs:39
↓ 4 callersFunctionsymbol
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 callersMethodupdate_order_status
Update order status after submission
src/providers/order_tracker.rs:52
↓ 4 callersMethodwith_cloid
Set client order ID
src/types/requests.rs:129
↓ 4 callersMethodwith_network
Set network
src/providers/exchange.rs:1330
↓ 3 callersMethodbulk_orders
( &self, orders: Vec<OrderRequest>, )
src/providers/exchange.rs:457
↓ 3 callersFunctionget_test_signer
()
src/signers/signer.rs:93
↓ 3 callersMethodis_success
Check if this status represents a successful order
src/types/responses.rs:78
↓ 3 callersMethodpost
( &self, action: Value, signature: HyperliquidSignature, nonce: u64, )
src/providers/exchange.rs:932
↓ 3 callersFunctionprint_symbol_info
(symbol: impl Into<Symbol>)
examples/00_symbols.rs:32
↓ 2 callersMethodadd_order
Add an order to the batch queue
src/providers/batcher.rs:116
↓ 2 callersMethodaddress
(&self)
src/signers/privy.rs:197
↓ 2 callersMethodclear_tracked_orders
Clear tracked orders
src/providers/exchange.rs:126
↓ 2 callersMethodcloid
(mut self, id: Uuid)
src/providers/exchange.rs:1050
↓ 2 callersFunctionformat_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 callersMethodget_or_rotate_agent
Get or create an agent, rotating if necessary
src/providers/agent.rs:111
↓ 2 callersMethodget_orders_by_status
Get orders by status
src/providers/order_tracker.rs:78
↓ 2 callersFunctioninit_crypto
()
tests/order_tracking_test.rs:14
↓ 2 callersMethodlen
Get the number of tracked orders
src/providers/order_tracker.rs:114
↓ 2 callersMethodorder_type
(mut self, order_type: OrderType)
src/providers/exchange.rs:1045
↓ 2 callersMethodsell
(mut self)
src/providers/exchange.rs:1025
↓ 2 callersMethodsign_hash
(&self, hash: B256)
src/signers/privy.rs:145
↓ 2 callersMethodstart_reading
Start reading messages (must be called after connecting)
src/providers/websocket.rs:253
↓ 2 callersMethodstruct_hash
(&self)
src/types/eip712.rs:48
↓ 2 callersMethodtime_range
(mut self, start: u64, end: u64)
src/providers/info.rs:331
↓ 2 callersMethodtrack_order
Track a new order
src/providers/order_tracker.rs:38
↓ 1 callersMethodall_mids
(&self)
src/providers/info.rs:141
↓ 1 callersMethodapprove_agent
( &self, agent_address: Address, agent_name: Option<String>, )
src/providers/exchange.rs:645
↓ 1 callersMethodapprove_agent_internal
Internal method to approve agent (will use exchange provider)
src/providers/agent.rs:159
↓ 1 callersMethodapprove_builder_fee
( &self, builder: Address, max_fee_rate: String, )
src/providers/exchange.rs:714
↓ 1 callersMethodbulk_cancel
( &self, cancels: Vec<CancelRequest>, )
src/providers/exchange.rs:506
↓ 1 callersMethodcandles
(&self, coin: impl Into<Symbol>)
src/providers/info.rs:295
↓ 1 callersMethodchain_id
Get chain ID for domain construction Override this method for actions with signature_chain_id
src/types/eip712.rs:13
↓ 1 callersMethodclear
Clear all tracked orders
src/providers/order_tracker.rs:108
↓ 1 callersMethodcreate_new_agent
Create and approve a new agent
src/providers/agent.rs:142
↓ 1 callersMethodencode_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 callersMethodencode_eip712
(&self)
src/types/eip712.rs:77
↓ 1 callersMethodfunding_history
(&self, coin: impl Into<Symbol>)
src/providers/info.rs:305
↓ 1 callersMethodget_active_agents
Get all active agents
src/providers/agent.rs:179
↓ 1 callersMethodget_all_orders
Get all tracked orders
src/providers/order_tracker.rs:72
↓ 1 callersMethodget_order
Get a specific order by CLOID
src/providers/order_tracker.rs:66
↓ 1 callersMethodhandle_disconnect
Handle disconnection
src/providers/websocket.rs:621
↓ 1 callersMethodinterval
(mut self, interval: impl Into<String>)
src/providers/info.rs:326
↓ 1 callersMethodis_connected
Check if connected
src/providers/websocket.rs:248
↓ 1 callersMethodis_spot
Check if this is a spot symbol (starts with @)
src/types/symbol.rs:22
↓ 1 callersMethodkeepalive_loop
Keep-alive loop
src/providers/websocket.rs:532
↓ 1 callersMethodl2_book
( &self, coin: impl Into<Symbol>, )
src/providers/info.rs:159
↓ 1 callersMethodlimit_buy
Convenience methods for common order types
src/providers/exchange.rs:1056
↓ 1 callersMethodlimit_sell
(self, price: impl ToString, size: impl ToString)
src/providers/exchange.rs:1060
↓ 1 callersMethodmeta
(&self)
src/providers/info.rs:270
↓ 1 callersMethodping
Send a ping to keep connection alive
src/providers/websocket.rs:228
↓ 1 callersMethodplace_order_with_builder_fee
( &self, order: &OrderRequest, builder_fee: u64, )
src/providers/exchange.rs:331
↓ 1 callersMethodrecent_trades
( &self, coin: impl Into<Symbol>, )
src/providers/info.rs:236
↓ 1 callersMethodreconnect_loop
Reconnection loop
src/providers/websocket.rs:550
↓ 1 callersMethodrpc
Internal RPC helper
src/signers/privy.rs:108
↓ 1 callersMethodrun
Run the batching loop (should be spawned as a task)
src/providers/batcher.rs:164
↓ 1 callersMethodshould_rotate
Check if agent should be rotated based on TTL
src/providers/agent.rs:53
↓ 1 callersMethodspot_meta
(&self)
src/providers/info.rs:277
↓ 1 callersMethodsubscribe_all_mids
Subscribe to all mid prices
src/providers/websocket.rs:163
↓ 1 callersMethodsubscribe_l2_book
Subscribe to L2 order book updates
src/providers/websocket.rs:139
↓ 1 callersMethodwith_auto_batching
Enable automatic order batching
src/providers/exchange.rs:1336
↓ 1 callersMethodwith_order_tracking
Enable order tracking for this exchange instance
src/providers/exchange.rs:73
↓ 1 callersMethodwithout_agent_rotation
Disable agent rotation
src/providers/exchange.rs:1369
Methodadd_cancel
Add a cancel to the batch queue
src/providers/batcher.rs:133
Methodaddress
(&self)
src/signers/signer.rs:54
Methodapi_url
(&self)
src/constants.rs:10
Methodapprove_agent_new
Approve a new agent, generating a random key like the original SDK Returns (private_key_hex, response)
src/providers/exchange.rs:670
Methodbuilder
Get the configured builder address
src/providers/exchange.rs:68
Methodbulk_cancel_by_cloid
( &self, cancels: Vec<CancelRequestCloid>, )
src/providers/exchange.rs:516
Methodbulk_modify
( &self, modifies: Vec<ModifyRequest>, )
src/providers/exchange.rs:526
Methodbulk_orders_with_builder_fee
( &self, orders: Vec<OrderRequest>, builder_fee: u64, )
src/providers/exchange.rs:475
Methodbulk_orders_with_cloids
( &self, orders: Vec<(OrderRequest, Option<Uuid>)>, )
src/providers/exchange.rs:494
Methodcancel_order
( &self, asset: u32, oid: u64, )
src/providers/exchange.rs:410
Methodcancel_order_by_cloid
( &self, asset: u32, cloid: Uuid, )
src/providers/exchange.rs:424
Methodchain_id
(&self)
src/types/actions.rs:28
Methodcleanup_deregistered
Clean up deregistered agents
src/providers/agent.rs:197
Methodconnect
Connect to Hyperliquid WebSocket
src/providers/websocket.rs:47
Methodconnect_with_defaults
Connect with default configuration
src/providers/websocket.rs:414
Methodcurrent_nonce
()
src/providers/exchange.rs:772
next →1–100 of 243, ranked by callers