@bouncetech/contracts 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ export declare const LEVERAGED_TOKEN_HELPER_ADDRESS = "0x4a548ad41888B023850130B
7
7
  export declare const LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS = "0x126e039f97Dd34fa64E685Ba4b37ca97b1a03DcB";
8
8
  export declare const REFERRALS_ADDRESS = "0xfD3A6323878Fc991447CcDd4c644ab419afC6f76";
9
9
  export declare const USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
10
- export declare const HYPE_BALANCE_HELPER = "0x7B8CFf7E3b8Be150e735f2AF56DBB69ec44d91b3";
10
+ export declare const HYPE_BALANCE_HELPER_ADDRESS = "0x7B8CFf7E3b8Be150e735f2AF56DBB69ec44d91b3";
11
11
  export declare const FACTORY_ABI: readonly [{
12
12
  readonly type: "constructor";
13
13
  readonly inputs: readonly [{
@@ -3226,3 +3226,27 @@ export declare const USDC_ABI: readonly [{
3226
3226
  }];
3227
3227
  readonly anonymous: false;
3228
3228
  }];
3229
+ export declare const HYPE_BALANCE_HELPER_ABI: readonly [{
3230
+ readonly type: "function";
3231
+ readonly name: "getHypeBalances";
3232
+ readonly inputs: readonly [{
3233
+ readonly name: "users_";
3234
+ readonly type: "address[]";
3235
+ readonly internalType: "address[]";
3236
+ }];
3237
+ readonly outputs: readonly [{
3238
+ readonly name: "";
3239
+ readonly type: "tuple[]";
3240
+ readonly internalType: "struct IHypeBalanceHelper.UserBalance[]";
3241
+ readonly components: readonly [{
3242
+ readonly name: "user";
3243
+ readonly type: "address";
3244
+ readonly internalType: "address";
3245
+ }, {
3246
+ readonly name: "balance";
3247
+ readonly type: "uint256";
3248
+ readonly internalType: "uint256";
3249
+ }];
3250
+ }];
3251
+ readonly stateMutability: "view";
3252
+ }];
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.USDC_ABI = exports.REFERRALS_ABI = exports.LEVERAGED_TOKEN_HELPER_ABI = exports.LEVERAGED_TOKEN_ABI = exports.HYPERLIQUID_HANDLER_ABI = exports.GLOBAL_STORAGE_HELPER_ABI = exports.GLOBAL_STORAGE_ABI = exports.FACTORY_ABI = exports.HYPE_BALANCE_HELPER = exports.USDC_ADDRESS = exports.REFERRALS_ADDRESS = exports.LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS = exports.LEVERAGED_TOKEN_HELPER_ADDRESS = exports.HYPERLIQUID_HANDLER_ADDRESS = exports.GLOBAL_STORAGE_HELPER_ADDRESS = exports.GLOBAL_STORAGE_ADDRESS = exports.FACTORY_ADDRESS = void 0;
3
+ exports.HYPE_BALANCE_HELPER_ABI = exports.USDC_ABI = exports.REFERRALS_ABI = exports.LEVERAGED_TOKEN_HELPER_ABI = exports.LEVERAGED_TOKEN_ABI = exports.HYPERLIQUID_HANDLER_ABI = exports.GLOBAL_STORAGE_HELPER_ABI = exports.GLOBAL_STORAGE_ABI = exports.FACTORY_ABI = exports.HYPE_BALANCE_HELPER_ADDRESS = exports.USDC_ADDRESS = exports.REFERRALS_ADDRESS = exports.LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS = exports.LEVERAGED_TOKEN_HELPER_ADDRESS = exports.HYPERLIQUID_HANDLER_ADDRESS = exports.GLOBAL_STORAGE_HELPER_ADDRESS = exports.GLOBAL_STORAGE_ADDRESS = exports.FACTORY_ADDRESS = void 0;
4
4
  const leveraged_token_abi_1 = require("./abis/leveraged-token-abi");
5
5
  const factory_abi_1 = require("./abis/factory-abi");
6
6
  const global_storage_abi_1 = require("./abis/global-storage-abi");
@@ -9,6 +9,7 @@ const hyperliquid_handler_abi_1 = require("./abis/hyperliquid-handler-abi");
9
9
  const leveraged_token_helper_abi_1 = require("./abis/leveraged-token-helper-abi");
10
10
  const referrals_abi_1 = require("./abis/referrals-abi");
11
11
  const erc20_abi_1 = require("./abis/erc20-abi");
12
+ const hype_balance_helper_abi_1 = require("./abis/hype-balance-helper-abi");
12
13
  // Addresses
13
14
  exports.FACTORY_ADDRESS = "0xeD8bCDe433EB7c4B69DB1235483bf0Edb726Fc1B";
14
15
  exports.GLOBAL_STORAGE_ADDRESS = "0xa07d06383c1863c8A54d427aC890643d76cc03ff";
@@ -18,7 +19,7 @@ exports.LEVERAGED_TOKEN_HELPER_ADDRESS = "0x4a548ad41888B023850130Bf931453Bb7d07
18
19
  exports.LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS = "0x126e039f97Dd34fa64E685Ba4b37ca97b1a03DcB";
19
20
  exports.REFERRALS_ADDRESS = "0xfD3A6323878Fc991447CcDd4c644ab419afC6f76";
20
21
  exports.USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
21
- exports.HYPE_BALANCE_HELPER = "0x7B8CFf7E3b8Be150e735f2AF56DBB69ec44d91b3";
22
+ exports.HYPE_BALANCE_HELPER_ADDRESS = "0x7B8CFf7E3b8Be150e735f2AF56DBB69ec44d91b3";
22
23
  // ABIs
23
24
  exports.FACTORY_ABI = factory_abi_1.factoryAbi;
24
25
  exports.GLOBAL_STORAGE_ABI = global_storage_abi_1.globalStorageAbi;
@@ -28,3 +29,4 @@ exports.LEVERAGED_TOKEN_ABI = leveraged_token_abi_1.leveragedTokenAbi;
28
29
  exports.LEVERAGED_TOKEN_HELPER_ABI = leveraged_token_helper_abi_1.leveragedTokenHelperAbi;
29
30
  exports.REFERRALS_ABI = referrals_abi_1.referralsAbi;
30
31
  exports.USDC_ABI = erc20_abi_1.erc20Abi;
32
+ exports.HYPE_BALANCE_HELPER_ABI = hype_balance_helper_abi_1.hypeBalanceHelperAbi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bouncetech/contracts",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Smart contract addresses and ABIs for Bounce Tech - DeFi Leveraged Token Protocol on HyperEVM",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",