df-hyperliquid-core 0.0.8-beta.1

Hyperliquid SDK for Rust: markets, account, trading, transfers, earn and deploy, with exact decimals and signing. Native and wasm.
Documentation
//! HYPE staking: moves between spot and staking, delegation, validators and rewards.
#![deny(clippy::float_arithmetic)]

pub mod account;
pub mod actions;
pub mod plan;
pub mod reads;

pub use crate::utils::sign::UserAction;
pub use account::{PendingWithdrawal, REWARDS_WINDOW_MS, Staking, pending_withdrawals, rewards_since, staking};
pub use actions::{CDeposit, CWithdraw, HYPE_DECIMALS, TokenDelegate, hype_wei};
pub use plan::{Balance, Change, Ctx, Effect, Key, Plan, Refused, key};
pub use reads::{
    Delegation, DelegatorSummary, MAINNET_DELEGATION_LOCK_MS, MAINNET_UNSTAKING_MS, MAX_PENDING_WITHDRAWALS, Reward,
    StakeDelta, StakeEvent, TESTNET_DELEGATION_LOCK_MS, TESTNET_UNSTAKING_MS, ValidatorStats, ValidatorSummary,
    delegation_lock_ms, delegations, delegations_request, delegator_history, delegator_history_request,
    delegator_rewards, delegator_rewards_request, delegator_summary, delegator_summary_request, locked_until,
    unstaking_ms, validator_summaries, validator_summaries_request,
};