@ape.swap/bonds-sdk 3.0.40-test.2 → 3.0.40-test.3

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/main.js CHANGED
@@ -18810,6 +18810,7 @@ const supportedByLIFI = [
18810
18810
  types.ChainId.AVAX,
18811
18811
  types.ChainId.BLAST,
18812
18812
  types.ChainId.SONIC,
18813
+ types.ChainId.BERACHAIN,
18813
18814
  ];
18814
18815
  // we should be good just by using staging on this, as it is only used for token images
18815
18816
  const APESWAP_LIST_REPO = `https://raw.githubusercontent.com/ApeSwapFinance/apeswap-token-lists/staging`;
@@ -22303,6 +22304,7 @@ const SoulZapTokenManager = {
22303
22304
  [types.ChainId.ARBITRUM]: '0x22572A548Ff26Fc5725a17dfd233F49a98c17EE7',
22304
22305
  [types.ChainId.AVAX]: '0xC4dE46cBE21400dabE2E7c66E04F43acE4b5b910',
22305
22306
  [types.ChainId.BLAST]: '0xde9Eb844AD9e8B067309205707e2fFaA6a049cc0',
22307
+ [types.ChainId.BERACHAIN]: '0x9ec6F16B2a762CACe3c7df4F3FbEE7FC994D5571',
22306
22308
  };
22307
22309
  const ACF_TO_ABOND = '0xEce2b9C3704632Ce760271B0b84E3A4A698Ca962';
22308
22310
  const LENS_CONTRACT = {
@@ -68497,6 +68499,16 @@ const WNATIVE = {
68497
68499
  },
68498
68500
  active: true,
68499
68501
  },
68502
+ [types.ChainId.BERACHAIN]: {
68503
+ symbol: 'wBERA',
68504
+ address: {
68505
+ [types.ChainId.BERACHAIN]: '0x6969696969696969696969696969696969696969',
68506
+ },
68507
+ decimals: {
68508
+ [types.ChainId.BERACHAIN]: 18,
68509
+ },
68510
+ active: true,
68511
+ },
68500
68512
  };
68501
68513
  const zapInputTokens = {
68502
68514
  [types.ChainId.MAINNET]: [
@@ -68935,6 +68947,38 @@ const zapInputTokens = {
68935
68947
  active: true,
68936
68948
  },
68937
68949
  ],
68950
+ [types.ChainId.BERACHAIN]: [
68951
+ {
68952
+ symbol: 'BTC',
68953
+ address: {
68954
+ [types.ChainId.BERACHAIN]: '0x0555E30da8f98308EdB960aa94C0Db47230d2B9c',
68955
+ },
68956
+ decimals: {
68957
+ [types.ChainId.BERACHAIN]: 8,
68958
+ },
68959
+ active: true,
68960
+ },
68961
+ {
68962
+ symbol: 'USDe',
68963
+ address: {
68964
+ [types.ChainId.BERACHAIN]: '0x5d3a1ff2b6bab83b63cd9ad0787074081a52ef34',
68965
+ },
68966
+ decimals: {
68967
+ [types.ChainId.BERACHAIN]: 18,
68968
+ },
68969
+ active: true,
68970
+ },
68971
+ {
68972
+ symbol: 'WETH',
68973
+ address: {
68974
+ [types.ChainId.BERACHAIN]: '0x7dcc39b4d1c53cb31e1abc0e358b43987fef80f7',
68975
+ },
68976
+ decimals: {
68977
+ [types.ChainId.BERACHAIN]: 18,
68978
+ },
68979
+ active: true,
68980
+ },
68981
+ ]
68938
68982
  };
68939
68983
 
68940
68984
  var PRICE_GETTER_V3_ABI = [
@@ -74971,6 +75015,7 @@ var NetworkNames;
74971
75015
  NetworkNames["AVAX"] = "ava";
74972
75016
  NetworkNames["BLAST"] = "bls";
74973
75017
  NetworkNames["SONIC"] = "son";
75018
+ NetworkNames["BERACHAIN"] = "ber";
74974
75019
  })(NetworkNames || (NetworkNames = {}));
74975
75020
  const getChainParam = (chain) => {
74976
75021
  return chain === types.ChainId.LINEA
@@ -74991,7 +75036,9 @@ const getChainParam = (chain) => {
74991
75036
  ? NetworkNames.BLAST
74992
75037
  : chain === types.ChainId.SONIC
74993
75038
  ? NetworkNames.SONIC
74994
- : null;
75039
+ : chain === types.ChainId.BERACHAIN
75040
+ ? NetworkNames.BERACHAIN
75041
+ : null;
74995
75042
  };
74996
75043
  const getLpType = (protocol) => {
74997
75044
  return protocol === types.Protocols.Algebra
@@ -8,7 +8,8 @@ declare enum NetworkNames {
8
8
  BASE = "bas",
9
9
  AVAX = "ava",
10
10
  BLAST = "bls",
11
- SONIC = "son"
11
+ SONIC = "son",
12
+ BERACHAIN = "ber"
12
13
  }
13
14
  export declare const getChainParam: (chain?: ChainId) => NetworkNames | null;
14
15
  export declare const getLpType: (protocol?: Protocols) => "ichi" | "solidly" | "univ2" | "curve" | null;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "3.0.40-test.2",
6
+ "version": "3.0.40-test.3",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",