df-hyperliquid-core 0.0.9-beta

Hyperliquid SDK for Rust: markets, account, trading, transfers, earn and deploy, with exact decimals and signing. Native and wasm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Money moved on the venue: the actions that send USDC and spot tokens and move them between an
//! account's own balances, the plan that turns a move into exactly what is signed, amounts in the
//! form that is hashed, a spot token as a transfer names it, and the check on a recipient.

pub mod actions;
pub mod amount;
pub mod check;
pub mod plan;
pub mod token;

pub use actions::{
    AgentSendAsset, PERP_DEX, SPOT_DEX, SendAsset, SpotOut, SpotSend, UsdClassTransfer, UsdSend, Withdraw3,
};
pub use amount::{Amount, BadAmount, MAX_DECIMALS, clean_amount};
pub use check::{PreTransferCheck, pre_transfer_check, pre_transfer_check_request};
pub use plan::{Balance, Change, Ctx, Effect, Plan, Refused, key};
pub use token::{EvmContract, HYPE_EVM_DECIMALS, SpotToken};