@bouncetech/contracts 1.4.3 → 1.4.4

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.
@@ -6,6 +6,25 @@ export declare const leveragedTokenHelperAbi: readonly [{
6
6
  readonly internalType: "address";
7
7
  }];
8
8
  readonly stateMutability: "nonpayable";
9
+ }, {
10
+ readonly type: "function";
11
+ readonly name: "getExchangeRates";
12
+ readonly inputs: readonly [];
13
+ readonly outputs: readonly [{
14
+ readonly name: "";
15
+ readonly type: "tuple[]";
16
+ readonly internalType: "struct ILeveragedTokenHelper.ExchangeRates[]";
17
+ readonly components: readonly [{
18
+ readonly name: "leveragedTokenAddress";
19
+ readonly type: "address";
20
+ readonly internalType: "address";
21
+ }, {
22
+ readonly name: "exchangeRate";
23
+ readonly type: "uint256";
24
+ readonly internalType: "uint256";
25
+ }];
26
+ }];
27
+ readonly stateMutability: "view";
9
28
  }, {
10
29
  readonly type: "function";
11
30
  readonly name: "getLeveragedTokenBufferAssetValue";
@@ -13,6 +13,31 @@ exports.leveragedTokenHelperAbi = [
13
13
  ],
14
14
  "stateMutability": "nonpayable",
15
15
  },
16
+ {
17
+ "type": "function",
18
+ "name": "getExchangeRates",
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "",
23
+ "type": "tuple[]",
24
+ "internalType": "struct ILeveragedTokenHelper.ExchangeRates[]",
25
+ "components": [
26
+ {
27
+ "name": "leveragedTokenAddress",
28
+ "type": "address",
29
+ "internalType": "address",
30
+ },
31
+ {
32
+ "name": "exchangeRate",
33
+ "type": "uint256",
34
+ "internalType": "uint256",
35
+ },
36
+ ],
37
+ },
38
+ ],
39
+ "stateMutability": "view",
40
+ },
16
41
  {
17
42
  "type": "function",
18
43
  "name": "getLeveragedTokenBufferAssetValue",
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export declare const FACTORY_ADDRESS = "0xeD8bCDe433EB7c4B69DB1235483bf0Edb726Fc
3
3
  export declare const GLOBAL_STORAGE_ADDRESS = "0xa07d06383c1863c8A54d427aC890643d76cc03ff";
4
4
  export declare const GLOBAL_STORAGE_HELPER_ADDRESS = "0x99836aCBD207d5BCa57E3Fe0448bD1AB0A4BDf5C";
5
5
  export declare const HYPERLIQUID_HANDLER_ADDRESS = "0x0f1365392EA9Df901dEb94d100679E7440E499bc";
6
- export declare const LEVERAGED_TOKEN_HELPER_ADDRESS = "0xb896d6D547350418e9510065389c9c0d92ca4F17";
6
+ export declare const LEVERAGED_TOKEN_HELPER_ADDRESS = "0x31205dc06Ce1c0b3D30Fe0C0006D5A4Cb486b2FB";
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";
@@ -2319,6 +2319,25 @@ export declare const LEVERAGED_TOKEN_HELPER_ABI: readonly [{
2319
2319
  readonly internalType: "address";
2320
2320
  }];
2321
2321
  readonly stateMutability: "nonpayable";
2322
+ }, {
2323
+ readonly type: "function";
2324
+ readonly name: "getExchangeRates";
2325
+ readonly inputs: readonly [];
2326
+ readonly outputs: readonly [{
2327
+ readonly name: "";
2328
+ readonly type: "tuple[]";
2329
+ readonly internalType: "struct ILeveragedTokenHelper.ExchangeRates[]";
2330
+ readonly components: readonly [{
2331
+ readonly name: "leveragedTokenAddress";
2332
+ readonly type: "address";
2333
+ readonly internalType: "address";
2334
+ }, {
2335
+ readonly name: "exchangeRate";
2336
+ readonly type: "uint256";
2337
+ readonly internalType: "uint256";
2338
+ }];
2339
+ }];
2340
+ readonly stateMutability: "view";
2322
2341
  }, {
2323
2342
  readonly type: "function";
2324
2343
  readonly name: "getLeveragedTokenBufferAssetValue";
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ exports.FACTORY_ADDRESS = "0xeD8bCDe433EB7c4B69DB1235483bf0Edb726Fc1B";
15
15
  exports.GLOBAL_STORAGE_ADDRESS = "0xa07d06383c1863c8A54d427aC890643d76cc03ff";
16
16
  exports.GLOBAL_STORAGE_HELPER_ADDRESS = "0x99836aCBD207d5BCa57E3Fe0448bD1AB0A4BDf5C";
17
17
  exports.HYPERLIQUID_HANDLER_ADDRESS = "0x0f1365392EA9Df901dEb94d100679E7440E499bc";
18
- exports.LEVERAGED_TOKEN_HELPER_ADDRESS = "0xb896d6D547350418e9510065389c9c0d92ca4F17";
18
+ exports.LEVERAGED_TOKEN_HELPER_ADDRESS = "0x31205dc06Ce1c0b3D30Fe0C0006D5A4Cb486b2FB";
19
19
  exports.LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS = "0x126e039f97Dd34fa64E685Ba4b37ca97b1a03DcB";
20
20
  exports.REFERRALS_ADDRESS = "0xfD3A6323878Fc991447CcDd4c644ab419afC6f76";
21
21
  exports.USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bouncetech/contracts",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
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",