Smart contract addresses and ABIs for Bounce Tech - DeFi Leveraged Token Protocol built on HyperEVM.
npm install @bouncetech/contracts
# or
yarn add @bouncetech/contracts
# or
pnpm add @bouncetech/contractsimport {
FACTORY_ADDRESS,
GLOBAL_STORAGE_ADDRESS,
GLOBAL_STORAGE_HELPER_ADDRESS,
HYPERLIQUID_HANDLER_ADDRESS,
LEVERAGED_TOKEN_HELPER_ADDRESS,
LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS,
REFERRALS_ADDRESS,
USDC_ADDRESS,
HYPE_BALANCE_HELPER_ADDRESS,
} from "@bouncetech/contracts";
// Use specific addresses
const factoryAddress = FACTORY_ADDRESS;
const globalStorageAddress = GLOBAL_STORAGE_ADDRESS;
const leveragedTokenAddress = LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS;
const usdcAddress = USDC_ADDRESS;
const hypeBalanceHelperAddress = HYPE_BALANCE_HELPER_ADDRESS;import {
FACTORY_ABI,
LEVERAGED_TOKEN_ABI,
GLOBAL_STORAGE_ABI,
GLOBAL_STORAGE_HELPER_ABI,
HYPERLIQUID_HANDLER_ABI,
LEVERAGED_TOKEN_HELPER_ABI,
REFERRALS_ABI,
USDC_ABI,
HYPE_BALANCE_HELPER_ABI,
} from "@bouncetech/contracts";
// Use with ethers.js
import { Contract } from "ethers";
const factoryContract = new Contract(FACTORY_ADDRESS, FACTORY_ABI, provider);
// Use with viem
import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http(),
});
const ltExists = await client.readContract({
address: FACTORY_ADDRESS,
abi: FACTORY_ABI,
functionName: "ltExists",
args: [ltAddress],
});The following contracts are available through this package:
- Factory
- GlobalStorage
- GlobalStorageHelper
- HyperliquidHandler
- LeveragedTokenHelper
- LeveragedTokenImplementation
- Referrals
- USDC
- HypeBalanceHelper
For the latest contract addresses, import them programmatically using the exported address constants.
The following ABIs are available:
FACTORY_ABI- Factory contract ABIGLOBAL_STORAGE_ABI- GlobalStorage contract ABIGLOBAL_STORAGE_HELPER_ABI- GlobalStorageHelper contract ABIHYPERLIQUID_HANDLER_ABI- HyperliquidHandler contract ABILEVERAGED_TOKEN_ABI- Leveraged Token contract ABILEVERAGED_TOKEN_HELPER_ABI- LeveragedTokenHelper contract ABIREFERRALS_ABI- Referrals contract ABIUSDC_ABI- USDC (ERC20) contract ABIHYPE_BALANCE_HELPER_ABI- HypeBalanceHelper contract ABI
When new contract addresses or ABIs are added, simply update your package:
npm update @bouncetech/contractsMIT