Skip to main content

Module deploy

Module deploy 

Source
Expand description

Deploying on Hyperliquid: spot tokens and their auction, HIP-3 perp dexes, HIP-4 outcome markets and aligned quote assets.

Re-exports§

pub use aligned::AqaRole;
pub use aligned::AuthorizeAqav2Role;
pub use aligned::ValidatorL1Stream;
pub use annotation::Annotation;
pub use auction::GasAuction;
pub use dexes::perp_deploy_auction;
pub use dexes::perp_deploy_auction_request;
pub use error::BadDeploy;
pub use name::DexName;
pub use perp::PerpDeploy;
pub use spot::FinalizeEvmContract;
pub use spot::SpotDeploy;
pub use tokens::DeployingToken;
pub use tokens::SpotDeployState;
pub use tokens::TokenSpec;
pub use tokens::spot_deploy_state;
pub use tokens::spot_deploy_state_request;
pub use tokens::spot_pair_deploy_auction;
pub use tokens::spot_pair_deploy_auction_request;

Modules§

aligned
Aligned quote assets: a validator’s vote on the risk-free rate (validatorL1Stream) and an AQAv2 deployer authorizing its role from its staking account (authorizeAqav2Role). Both are L1 actions.
annotation
What frontends show for a spot token or a HIP-3 perp: the text setTokenAnnotation and setPerpAnnotation carry, checked against the lengths the docs give. The venue counts those lengths in UTF-8 bytes, not characters: testnet refused a Chinese display name of 6 characters and 18 bytes, and took one of 2 characters and 6 bytes.
auction
The Dutch auction a deploy slot is bought in, the one shape a spot token, a spot pair and a HIP-3 perp past a dex’s first three all answer. Each round is 31 hours; its price is HYPE and is never refunded.
dexes
perpDeployAuctionStatus: the auction every dex shares for a perp past a dex’s first three. A reserve deployment skips it.
error
What a spot deploy, perp deploy or aligned quote action is refused for before it is signed: a name, figure or list the docs rule out.
name
A perp dex’s name, which is also the form of a spot deployer’s label: both share one set of names.
outcomes
Deploying HIP-4 outcome markets: the actions a deployer signs, checked against outcomeMeta where a settlement depends on it.
perp
Deploying and running a HIP-3 perp dex: every perpDeploy variant the docs list, all L1 actions. The deploy auction read is in dexes. The testnet-only HIP-3* star operations are not here.
spot
Deploying a HIP-1 spot token and its HIP-2 hyperliquidity: every spotDeploy variant, all L1 actions, and finalizeEvmContract, which completes a token’s link to a HyperEVM contract. The reads that go with them are in tokens.
tokens
Spot deploys in progress: an account’s unfinished token deployments and the token auction (spotDeployState), and the auction for a pair of existing tokens (spotPairDeployAuctionStatus).