本文へスキップ

    / で検索、[ と ] で前後のページに移動します。

    開発者向けリファレンス

    コントラクトアドレス

    HyperEVMメインネット上のコントラクトです。

    HyperEVMメインネットのチェーンIDは999です。各アドレスはエクスプローラーにリンクしています。アップグレード可能なコントラクトはプロキシで、呼び出すべきなのは以下のアドレスです。このページの内容はすべて、リポジトリ内のデプロイマニフェストと設定からビルド時に生成しており、手で入力したものはありません。何かを送る前に、必ずアドレスをこのページとエクスプローラーで確認してください。

    • Exchange: 残高、ポジション、決済、LP、支払いキュー。
    • BatchExecutor: リレイヤーがまとめて送る署名済みインテントを、決められた関数にだけ転送します。
    • SessionKeyManager: セッションキーを登録・確認・取り消し、すべての署名を検証します。
    • BuilderRegistry: 承認済みのビルダーとビルダー手数料率(アップグレード不可)。
    • DepositProxyFactory: 各アカウントの入金アドレスを導出し、デプロイします。
    • BACKトークン: 手数料の分配を受けるトークン。負けたトレーダーに発行されます。
    • Staking: トークンのステーキングと、USDC報酬の累積。
    • Tokenomics: 発行ルール、記帳上のLP、テールの進み具合。
    • PriceOracle: サービス向けの、読み取り専用のHyperliquid価格ヘルパー。
    • ExchangeLens: アプリとサービス向けの、Exchangeの読み取り専用ビュー。
    • ExchangeLens(価格): 価格の読み取り専用ビュー(破産価格、プレビュー)。
    • CoreLens: HyperCoreの残高の読み取り専用ビュー。

    担保とガバナンス

    • USDC: 担保のトークン。HyperEVM上のCircleのネイティブUSDCです。
      0xb88339CB7199b77E23DB6E890353E22632Ba630f
    • タイムロック: アップグレード可能なすべてのコントラクトを所有します。所有者の操作はいずれも、実行までここで2日待機します。
    • ロール用タイムロック: タイムロックのロールを誰が持つかを管理します。遅延は7日です。
    • ガバナンス・マルチシグ: タイムロック上で所有者の操作を予約し、実行します。
    • ガーディアン・マルチシグ: 緊急用のキー:取引の一時停止、マーケットの廃止、予約済み操作の取り消し。
    • トレジャリー・マルチシグ: チームの手数料の取り分を受け取ります。

    すべてのネットワーク

    各ネットワークの完全なマニフェスト:銘柄、プロトコル、ガバナンス、外部アドレス。

    メインネット · チェーンID 999

    近日公開:このネットワークにコントラクトがデプロイされしだい、ここに掲載します。

    入出金ルート

    入出金ルートメインネット
    HyperCore(Hyperliquidの現物またはパーペチュアル口座)有効
    HyperEVM有効
    Solana(CCTP)近日公開
    Arbitrum(CCTP)近日公開
    Ethereum(CCTP)近日公開
    Robinhood Chain(Across)近日公開

    パラメーター

    ドキュメントで引用しているすべてのパラメーターと、その出典:

    パラメーター値出典
    winFee2%contracts/script/config/risk-profiles.json (parity)
    lossFee2%contracts/script/config/risk-profiles.json (parity)
    liqFee2%contracts/script/config/risk-profiles.json (parity)
    stakerFeeShare50%contracts/script/config/risk-profiles.json (parity) constants.stakerFeeShift
    minMargin$10contracts/script/config/risk-profiles.json (parity)
    minNotional$500contracts/script/config/risk-profiles.json (parity)
    maxCloseIds25contracts/script/config/risk-profiles.json (parity)
    maxLiqBatch20contracts/script/config/risk-profiles.json (parity)
    maxOpenPositions64contracts/script/config/risk-profiles.json (parity)
    maxDebtNodes50contracts/script/config/risk-profiles.json (parity)
    harvestMaxEntries64contracts/script/config/risk-profiles.json (parity)
    stakingPrecision10^36contracts/script/config/risk-profiles.json (parity)
    stakingMinAlloc1 BACKcontracts/script/config/risk-profiles.json (parity)
    minDeposit10 USDCcontracts/script/config/risk-profiles.json (parity) minSweepWei
    activationFee1 USDCcontracts/script/config/risk-profiles.json (parity) activationFeeWei
    sweepFinalizeBlocks1contracts/script/config/risk-profiles.json (parity)
    sweepTimeoutBlocks5contracts/script/config/risk-profiles.json (parity)
    unconfirmedTtl30日contracts/script/config/risk-profiles.json (parity)
    contractMinWithdraw下限なしcontracts/script/config/risk-profiles.json (parity) minWithdraw6
    maxLeverage1000×contracts/script/config/risk-profiles.json (parity)
    maxNotional$10,000,000contracts/script/config/risk-profiles.json (parity)
    deadband0.002%contracts/script/config/risk-profiles.json (parity) deadbandDivisor
    deadbandDivisor50,000contracts/script/config/risk-profiles.json (parity)
    baseRate10%contracts/script/config/risk-profiles.json (parity)
    maxImpactShare90%contracts/script/config/risk-profiles.json (parity) 1 − baseRate
    rateMultiplier15,000contracts/script/config/risk-profiles.json (parity)
    referenceNotional$100,000contracts/script/config/risk-profiles.json (parity)
    holdbackStandardBand0.0075%–0.06%contracts/src/lib/PnlMath.sol (the payout curves)
    holdbackOffHoursBand0.003%–0.1%contracts/src/lib/PnlMath.sol (the payout curves)
    holdbackStandardScale3.597contracts/src/lib/PnlMath.sol (the payout curves)
    holdbackOffHoursScale6.085contracts/src/lib/PnlMath.sol (the payout curves)
    holdbackStandardPeak値動き0.0338%で0.0118%contracts/src/lib/PnlMath.sol (the payout curves)
    holdbackOffHoursPeak値動き0.0418%で0.0204%contracts/src/lib/PnlMath.sol (the payout curves)
    builderFee0.5%contracts/script/config/risk-profiles.json (parity) builderRegistry.maxBuilderFee
    builderFeeCap15%contracts/src/lib/Bounds.sol MAX_TOTAL_FEE (ADR 0029)
    totalFeeCap15%contracts/src/lib/Bounds.sol MAX_TOTAL_FEE (ADR 0029)
    stakerShare50%contracts/script/config/risk-profiles.json (launch) exchange.stakerShareBps
    referralFee1.2%contracts/script/config/risk-profiles.json (launch) exchange.referralFeeBps
    referralDiscount0.2%contracts/script/config/risk-profiles.json (launch) exchange.referralDiscountBps
    referralFeeReferred1%contracts/script/config/risk-profiles.json (launch) exchange.referralFeeBps − referralDiscountBps
    referralToReferrer1%contracts/script/config/risk-profiles.json (launch) exchange.referralFeeBps − referralDiscountBps
    liqReferraloffcontracts/script/config/risk-profiles.json (launch) exchange.liqReferralEnabled
    insolvencyBonusMax5×contracts/src/lib/RebateMath.sol (m = 1 + 4u(2 − u))
    insolvencyBonusRamp3日contracts/src/lib/RebateMath.sol BONUS_RAMP
    flatThreshold$500,000contracts/script/config/risk-profiles.json (launch)
    flatRate100contracts/script/config/risk-profiles.json (launch)
    tailDecayScale$120,000,000contracts/script/config/risk-profiles.json (launch)
    stakerRewardCap$500,000contracts/script/config/risk-profiles.json (launch)
    lpSeed$0contracts/script/config/risk-profiles.json (parity)
    tokenTransfers無効contracts/script/config/risk-profiles.json (parity)
    instrumentsBTCとETHcontracts/script/config/risk-profiles.json (parity)
    intentTtl1時間contracts/script/config/mainnet.json
    intakeMaxTtl61分contracts/script/config/mainnet.json
    sessionKeyTtl30日contracts/script/config/mainnet.json
    timelockDelay2日contracts/script/config/mainnet.json
    roleTimelockDelay7日contracts/script/config/mainnet.json
    chainId999contracts/script/config/mainnet.json
    closeHold6秒services/relayer/src/intake/rules.ts DEFAULT_CLOSE_HOLD_MS
    intakeMinWithdraw10 USDCservices/relayer/src/intake/rules.ts
    sessionKeyLimit8services/relayer/src/intake/rules.ts
    maxActiveIntents32services/relayer/src/intake/rules.ts
    distributeInterval30秒services/keepers/src/config.ts
    distributeMinUsd$100services/keepers/src/config.ts
    onwardGasAllowance0.1 USDCpackages/hl/src/onward.ts ONWARD_GAS_ALLOWANCE6
    usdDecimals18constants.json precision.USD_DECIMALS
    wadDecimals18constants.json precision.WAD
    maxRevokeKeys32constants.json
    harvestKeeperEntries32services/keepers/src/config.ts HARVEST_MAX_ENTRIES
    precompile.bbo0x000000000000000000000000000000000000080epackages/chain/src/precompileLens.ts PRECOMPILES.bbo
    precompile.mark0x0000000000000000000000000000000000000806packages/chain/src/precompileLens.ts PRECOMPILES.markPx
    precompile.oracle0x0000000000000000000000000000000000000807packages/chain/src/precompileLens.ts PRECOMPILES.oraclePx
    coreWriter0x3333333333333333333333333333333333333333packages/chain/src/decoder.ts CORE_WRITER_ADDRESS
    capBand10%config/stages/s0..s3.json offchain.keeper.defaults.bandBps
    assetIndex.BTC0contracts/script/config/mainnet.json instruments
    assetIndex.ETH1contracts/script/config/mainnet.json instruments
    bustBuffer.BTC0.0476%contracts/script/config/risk-profiles.json (parity)
    positionMultiplier.BTC814.598contracts/script/config/risk-profiles.json (parity)
    maxLeverage.BTC1000×contracts/script/config/risk-profiles.json (parity)
    bustDistance.BTC0.0524%contracts/script/config/risk-profiles.json (parity): PnlMath.bustPrice at maxLeverage
    bustBuffer.ETH0.0481%contracts/script/config/risk-profiles.json (parity)
    positionMultiplier.ETH483.979contracts/script/config/risk-profiles.json (parity)
    maxLeverage.ETH1000×contracts/script/config/risk-profiles.json (parity)
    bustDistance.ETH0.0519%contracts/script/config/risk-profiles.json (parity): PnlMath.bustPrice at maxLeverage

    コントラクトの上下限

    各ガバナンス・セッターが確認する上下限、コードに固定された定数、休止中の防御をオフのままにするエンコーディングを、コントラクトがエクスポートしているとおりに示します(生の整数。USD金額はUSDの小数桁を持ち、レートはwadです)。

    パラメーター値
    WAD1,000,000,000,000,000,000
    BPS10,000
    ACC_PRECISION1,000,000,000,000,000,000,000,000,000,000,000,000
    USD_DECIMALS18
    USDC_EVM_DECIMALS6
    CORE_USDC_WEI_DECIMALS8
    PERP_USD_DECIMALS6
    MAX_TOTAL_FEE150,000,000,000,000,000
    BPS10,000
    BPS_TO_WAD100,000,000,000,000
    MIN_MARGIN_LOWER1,000,000,000,000,000,000
    MIN_MARGIN_UPPER10,000,000,000,000,000,000,000
    MIN_NOTIONAL_LOWER10,000,000,000,000,000,000
    MIN_NOTIONAL_UPPER1,000,000,000,000,000,000,000,000
    MAX_LEVERAGE_LOWER1
    MAX_LEVERAGE_UPPER1,000
    MAX_NOTIONAL_UPPER50,000,000,000,000,000,000,000,000
    MAX_BUST_BUFFER10,000,000,000,000,000
    MAX_BUST_BUFFER_TIMES_LEVERAGE500,000,000,000,000,000
    DEADBAND_DIVISOR_LOWER20,000
    DEADBAND_DIVISOR_UPPER10,000,000
    MAX_BASE_RATE500,000,000,000,000,000
    MAX_BASE_RATE_STEP50,000,000,000,000,000
    RATE_MULTIPLIER_LOWER1,000,000,000,000,000,000
    RATE_MULTIPLIER_UPPER1,000,000,000,000,000,000,000,000
    POSITION_MULTIPLIER_LOWER1,000,000,000,000,000,000
    POSITION_MULTIPLIER_UPPER1,000,000,000,000,000,000,000,000
    REFERENCE_NOTIONAL_LOWER1,000,000,000,000,000,000,000
    REFERENCE_NOTIONAL_UPPER100,000,000,000,000,000,000,000,000
    MAX_ASSET_INDEX_EXCLUSIVE10,000
    MAX_INSTRUMENTS16
    GUARD_MODE_MAX2
    MAX_SPREAD_BPS_LOWER1
    MAX_SPREAD_BPS_UPPER500
    MARK_BAND_BPS_LOWER1
    MARK_BAND_BPS_UPPER1,000
    ORACLE_BAND_BPS_LOWER1
    ORACLE_BAND_BPS_UPPER2,000
    MAX_CLAMP_BPS1,000
    CLAMP_OFF65,535
    MAX_PROFIT_HOLD_SECS300
    DEFAULT_MAX_SPREAD_BPS5
    DEFAULT_MARK_BAND_BPS15
    DEFAULT_ORACLE_BAND_BPS75
    DEFAULT_MARK_CLAMP_BPS3
    DEFAULT_ORACLE_CLAMP_BPS12
    FLOW_OFF0
    ACCOUNT_CAP_OFF0
    MAX_SIDE_CAP_EQUITY_BPS1,000,000
    SIDE_CAP_OFF4,294,967,295
    CAP_CEILING_OFF340,282,366,920,938,463,463,374,607,431,768,211,455
    MAX_CLOSE_IDS_LOWER1
    MAX_CLOSE_IDS_UPPER25
    MAX_LIQ_BATCH_LOWER1
    MAX_LIQ_BATCH_UPPER50
    MAX_OPEN_POSITIONS_LOWER1
    MAX_OPEN_POSITIONS_UPPER256
    MAX_DEBT_NODES_LOWER1
    MAX_DEBT_NODES_UPPER100
    MAX_AUTO_HARVEST_ENTRIES8
    HARVEST_MAX_ENTRIES64
    MAX_SYNC_ENTRIES32
    BREAKER_HALF_LIFE_LOWER300
    BREAKER_HALF_LIFE_UPPER86,400
    MAX_DRAWDOWN_BPS10,000
    DRAWDOWN_FLOOR_OFF340,282,366,920,938,463,463,374,607,431,768,211,455
    AUTO_RESET_LOWER3,600
    AUTO_RESET_UPPER604,800
    GUARDIAN_RESET_DELAY_LOWER60
    GUARDIAN_RESET_DELAY_UPPER3,600
    GUARDIAN_TRIPS_PER_WINDOW2
    GUARDIAN_TRIP_WINDOW86,400
    MIN_SWEEP_WEI_LOWER100,000,000
    MIN_SWEEP_WEI_UPPER100,000,000,000
    MAX_SWEEP_RESERVE_WEI100,000,000
    FINALIZE_DELAY_LOWER1
    FINALIZE_DELAY_UPPER10
    SWEEP_TIMEOUT_UPPER600
    IN_FLIGHT_RING_SIZE8
    IN_FLIGHT_WINDOW_LOWER1
    UNCONFIRMED_TTL_LOWER86,400
    UNCONFIRMED_TTL_UPPER7,776,000
    MAX_MIN_WITHDRAW6100,000,000
    MAX_ACTIVATION_FEE_WEI1,000,000,000
    DIRECT_CLOSE_MODE_MAX2
    FAILSAFE_DELAY_LOWER600
    FAILSAFE_DELAY_UPPER604,800
    PRECOMPILE_GAS_LOWER20,000
    PRECOMPILE_GAS_UPPER200,000
    HOOK_GAS200,000
    HOOK_GAS_OVERHEAD12,000
    HOOK_GAS_FLOOR215,175
    INTENT_TTL_LOWER300
    INTENT_TTL_UPPER86,400
    SESSION_DURATION_LOWER3,600
    SESSION_DURATION_UPPER7,776,000
    TTL_OFF4,294,967,295
    MAX_REVOKE_KEYS32
    MAX_BATCH_CALLS32
    MAX_RESULT_BYTES256
    CORE_LENS_READ_GAS30,000
    MAX_FLAT_THRESHOLD_USD1,000,000,000,000,000,000,000,000,000
    MAX_FLAT_RATE1,000,000,000,000,000,000,000
    TAIL_DECAY_SCALE_LOWER1,000,000,000,000,000,000,000,000
    TAIL_DECAY_SCALE_UPPER1,000,000,000,000,000,000,000,000,000,000
    STAKER_CAP_UPPER10,000,000,000,000,000,000,000,000,000
    MIN_ALLOC1,000,000,000,000,000,000
    最終更新: