@lagoon-protocol/v0-core 0.8.0 → 0.9.0

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.
@@ -28,7 +28,7 @@ var __export = (target, all) => {
28
28
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
29
29
 
30
30
  // ../../node_modules/abitype/dist/esm/version.js
31
- var version = "1.0.8";
31
+ var version = "1.1.0";
32
32
 
33
33
  // ../../node_modules/abitype/dist/esm/errors.js
34
34
  var BaseError;
@@ -509,6 +509,8 @@ function parseAbiParameter(param, options) {
509
509
  components = { components: structs[match.type] };
510
510
  } else if (dynamicIntegerRegex.test(match.type)) {
511
511
  type = `${match.type}256`;
512
+ } else if (match.type === "address payable") {
513
+ type = "address";
512
514
  } else {
513
515
  type = match.type;
514
516
  if (!(options?.type === "struct") && !isSolidityType(type))
@@ -577,7 +579,7 @@ var init_utils = __esm(() => {
577
579
  init_splitParameters();
578
580
  init_cache();
579
581
  init_signatures();
580
- abiParameterWithoutTupleRegex = /^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/;
582
+ abiParameterWithoutTupleRegex = /^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\spayable)?)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/;
581
583
  abiParameterWithTupleRegex = /^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/;
582
584
  dynamicIntegerRegex = /^u?int$/;
583
585
  protectedKeywordsRegex = /^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;
@@ -773,7 +775,7 @@ function size(value) {
773
775
  var init_size = () => {};
774
776
 
775
777
  // ../../node_modules/viem/_esm/errors/version.js
776
- var version2 = "2.31.3";
778
+ var version2 = "2.37.9";
777
779
 
778
780
  // ../../node_modules/viem/_esm/errors/base.js
779
781
  function walk(err, fn) {
@@ -1875,9 +1877,9 @@ function encodeBytes(value, { param }) {
1875
1877
  encoded: concat([padHex(numberToHex(bytesSize, { size: 32 })), value_])
1876
1878
  };
1877
1879
  }
1878
- if (bytesSize !== Number.parseInt(paramSize))
1880
+ if (bytesSize !== Number.parseInt(paramSize, 10))
1879
1881
  throw new AbiEncodingBytesSizeMismatchError({
1880
- expectedSize: Number.parseInt(paramSize),
1882
+ expectedSize: Number.parseInt(paramSize, 10),
1881
1883
  value
1882
1884
  });
1883
1885
  return { dynamic: false, encoded: padHex(value, { dir: "right" }) };
@@ -1986,7 +1988,7 @@ function getAbiItem(parameters) {
1986
1988
  return;
1987
1989
  if (abiItems.length === 1)
1988
1990
  return abiItems[0];
1989
- let matchedAbiItem = undefined;
1991
+ let matchedAbiItem;
1990
1992
  for (const abiItem of abiItems) {
1991
1993
  if (!("inputs" in abiItem))
1992
1994
  continue;
@@ -2669,16 +2671,8 @@ var ChainId;
2669
2671
  ChainId2[ChainId2["ArbitrumMainnet"] = 42161] = "ArbitrumMainnet";
2670
2672
  ChainId2[ChainId2["OptimismMainnet"] = 10] = "OptimismMainnet";
2671
2673
  ChainId2[ChainId2["WorldChainMainnet"] = 480] = "WorldChainMainnet";
2672
- ChainId2[ChainId2["FraxtalMainnet"] = 252] = "FraxtalMainnet";
2673
- ChainId2[ChainId2["ScrollMainnet"] = 534352] = "ScrollMainnet";
2674
- ChainId2[ChainId2["InkMainnet"] = 57073] = "InkMainnet";
2675
2674
  ChainId2[ChainId2["UnichainMainnet"] = 130] = "UnichainMainnet";
2676
2675
  ChainId2[ChainId2["SonicMainnet"] = 146] = "SonicMainnet";
2677
- ChainId2[ChainId2["HemiMainnet"] = 43111] = "HemiMainnet";
2678
- ChainId2[ChainId2["ModeMainnet"] = 34443] = "ModeMainnet";
2679
- ChainId2[ChainId2["CornMainnet"] = 21000000] = "CornMainnet";
2680
- ChainId2[ChainId2["PlumeMainnet"] = 98866] = "PlumeMainnet";
2681
- ChainId2[ChainId2["CampMainnet"] = 123420001114] = "CampMainnet";
2682
2676
  ChainId2[ChainId2["BerachainMainnet"] = 80094] = "BerachainMainnet";
2683
2677
  ChainId2[ChainId2["MantleMainnet"] = 5000] = "MantleMainnet";
2684
2678
  ChainId2[ChainId2["AvalancheMainnet"] = 43114] = "AvalancheMainnet";
@@ -2686,7 +2680,8 @@ var ChainId;
2686
2680
  ChainId2[ChainId2["KatanaMainnet"] = 747474] = "KatanaMainnet";
2687
2681
  ChainId2[ChainId2["BscMainnet"] = 56] = "BscMainnet";
2688
2682
  ChainId2[ChainId2["HyperEVMMainnet"] = 999] = "HyperEVMMainnet";
2689
- ChainId2[ChainId2["Linea"] = 59144] = "Linea";
2683
+ ChainId2[ChainId2["LineaMainnet"] = 59144] = "LineaMainnet";
2684
+ ChainId2[ChainId2["PlasmaMainnet"] = 9745] = "PlasmaMainnet";
2690
2685
  })(ChainId ||= {});
2691
2686
  var ChainUtils;
2692
2687
  ((ChainUtils) => {
@@ -2745,27 +2740,6 @@ var ChainUtils;
2745
2740
  explorerUrl: "https://worldscan.org",
2746
2741
  identifier: "worldchain"
2747
2742
  },
2748
- [252 /* FraxtalMainnet */]: {
2749
- name: "Fraxtal",
2750
- id: 252 /* FraxtalMainnet */,
2751
- nativeCurrency: { name: "Frax Ether", symbol: "frxETH", decimals: 18 },
2752
- explorerUrl: "https://fraxscan.com",
2753
- identifier: "fraxtal"
2754
- },
2755
- [534352 /* ScrollMainnet */]: {
2756
- name: "Scroll",
2757
- id: 534352 /* ScrollMainnet */,
2758
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
2759
- explorerUrl: "https://scrollscan.com",
2760
- identifier: "scroll"
2761
- },
2762
- [57073 /* InkMainnet */]: {
2763
- name: "Ink",
2764
- id: 57073 /* InkMainnet */,
2765
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
2766
- explorerUrl: "https://explorer.inkonchain.com",
2767
- identifier: "ink"
2768
- },
2769
2743
  [130 /* UnichainMainnet */]: {
2770
2744
  name: "Unichain",
2771
2745
  id: 130 /* UnichainMainnet */,
@@ -2780,41 +2754,6 @@ var ChainUtils;
2780
2754
  explorerUrl: "https://sonicscan.org",
2781
2755
  identifier: "sonic"
2782
2756
  },
2783
- [43111 /* HemiMainnet */]: {
2784
- name: "Hemi",
2785
- id: 43111 /* HemiMainnet */,
2786
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
2787
- explorerUrl: "https://explorer.hemi.xyz",
2788
- identifier: "hemi"
2789
- },
2790
- [34443 /* ModeMainnet */]: {
2791
- name: "Mode",
2792
- id: 34443 /* ModeMainnet */,
2793
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
2794
- explorerUrl: "https://modescan.io",
2795
- identifier: "mode"
2796
- },
2797
- [21000000 /* CornMainnet */]: {
2798
- name: "Corn",
2799
- id: 21000000 /* CornMainnet */,
2800
- nativeCurrency: { name: "Bitcoin", symbol: "BTCN", decimals: 18 },
2801
- explorerUrl: "https://cornscan.io",
2802
- identifier: "corn"
2803
- },
2804
- [98866 /* PlumeMainnet */]: {
2805
- name: "Plume",
2806
- id: 98866 /* PlumeMainnet */,
2807
- nativeCurrency: { name: "Plume", symbol: "PLUME", decimals: 18 },
2808
- explorerUrl: "https://phoenix-explorer.plumenetwork.xyz",
2809
- identifier: "plume"
2810
- },
2811
- [123420001114 /* CampMainnet */]: {
2812
- name: "Camp",
2813
- id: 123420001114 /* CampMainnet */,
2814
- nativeCurrency: { name: "Camp", symbol: "CAMP", decimals: 18 },
2815
- explorerUrl: "https://basecamp.cloud.blockscout.com/",
2816
- identifier: "camp"
2817
- },
2818
2757
  [80094 /* BerachainMainnet */]: {
2819
2758
  name: "Berachain",
2820
2759
  id: 80094 /* BerachainMainnet */,
@@ -2864,12 +2803,19 @@ var ChainUtils;
2864
2803
  explorerUrl: "https://hyperevmscan.io/",
2865
2804
  identifier: "hyperevm"
2866
2805
  },
2867
- [59144 /* Linea */]: {
2806
+ [59144 /* LineaMainnet */]: {
2868
2807
  name: "Linea Mainnet",
2869
- id: 59144 /* Linea */,
2808
+ id: 59144 /* LineaMainnet */,
2870
2809
  nativeCurrency: { name: "Linea Ether", symbol: "ETH", decimals: 18 },
2871
2810
  explorerUrl: "https://lineascan.build",
2872
2811
  identifier: "linea"
2812
+ },
2813
+ [9745 /* PlasmaMainnet */]: {
2814
+ name: "Plasma Mainnet Beta",
2815
+ id: 9745 /* PlasmaMainnet */,
2816
+ nativeCurrency: { name: "XPL", symbol: "XPL", decimals: 18 },
2817
+ explorerUrl: "https://plasmascan.to/",
2818
+ identifier: "plasma"
2873
2819
  }
2874
2820
  };
2875
2821
  })(ChainUtils ||= {});
@@ -2969,11 +2915,23 @@ var addresses = {
2969
2915
  wrappedNative: "0x5555555555555555555555555555555555555555",
2970
2916
  optinFactory: "0x90beB507A1BA7D64633540cbce615B574224CD84"
2971
2917
  },
2972
- [59144 /* Linea */]: {
2918
+ [59144 /* LineaMainnet */]: {
2973
2919
  feeRegistry: "0xC81Dd51239119Db80D5a6E1B7347F3C3BC8674d9",
2974
2920
  v0_4_0: "0xC094C224ce0406BC338E00837B96aD2e265F7287",
2975
2921
  wrappedNative: "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
2976
2922
  optinFactory: "0x8D6f5479B14348186faE9BC7E636e947c260f9B1"
2923
+ },
2924
+ [9745 /* PlasmaMainnet */]: {
2925
+ feeRegistry: "0xfd9fa4986C6cB8cbce6b632DD7c587EBCcaEDb7A",
2926
+ v0_5_0: "0xa61FAEB94249F08e05e7eD7502D6Ec86297Bc9e4",
2927
+ wrappedNative: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
2928
+ optinFactory: "0xF838E8Bd649fc6fBC48D44E9D87273c0519C45c9"
2929
+ },
2930
+ [137 /* PolygonMainnet */]: {
2931
+ feeRegistry: "0x744F9cA26CD9F6Be5cf79A00b1Ad457145D9F691",
2932
+ v0_5_0: "0x50f30E712D535b796C8543012D0C05218b89c7d5",
2933
+ wrappedNative: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
2934
+ optinFactory: "0x0C0E287f6e4de685f4b44A5282A3ad4A29D05a91"
2977
2935
  }
2978
2936
  };
2979
2937
  // src/utils.ts
package/dist/esm/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
2
2
 
3
3
  // ../../node_modules/abitype/dist/esm/version.js
4
- var version = "1.0.8";
4
+ var version = "1.1.0";
5
5
 
6
6
  // ../../node_modules/abitype/dist/esm/errors.js
7
7
  var BaseError;
@@ -482,6 +482,8 @@ function parseAbiParameter(param, options) {
482
482
  components = { components: structs[match.type] };
483
483
  } else if (dynamicIntegerRegex.test(match.type)) {
484
484
  type = `${match.type}256`;
485
+ } else if (match.type === "address payable") {
486
+ type = "address";
485
487
  } else {
486
488
  type = match.type;
487
489
  if (!(options?.type === "struct") && !isSolidityType(type))
@@ -550,7 +552,7 @@ var init_utils = __esm(() => {
550
552
  init_splitParameters();
551
553
  init_cache();
552
554
  init_signatures();
553
- abiParameterWithoutTupleRegex = /^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/;
555
+ abiParameterWithoutTupleRegex = /^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\spayable)?)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/;
554
556
  abiParameterWithTupleRegex = /^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/;
555
557
  dynamicIntegerRegex = /^u?int$/;
556
558
  protectedKeywordsRegex = /^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;
@@ -746,7 +748,7 @@ function size(value) {
746
748
  var init_size = () => {};
747
749
 
748
750
  // ../../node_modules/viem/_esm/errors/version.js
749
- var version2 = "2.31.3";
751
+ var version2 = "2.37.9";
750
752
 
751
753
  // ../../node_modules/viem/_esm/errors/base.js
752
754
  function walk(err, fn) {
@@ -1848,9 +1850,9 @@ function encodeBytes(value, { param }) {
1848
1850
  encoded: concat([padHex(numberToHex(bytesSize, { size: 32 })), value_])
1849
1851
  };
1850
1852
  }
1851
- if (bytesSize !== Number.parseInt(paramSize))
1853
+ if (bytesSize !== Number.parseInt(paramSize, 10))
1852
1854
  throw new AbiEncodingBytesSizeMismatchError({
1853
- expectedSize: Number.parseInt(paramSize),
1855
+ expectedSize: Number.parseInt(paramSize, 10),
1854
1856
  value
1855
1857
  });
1856
1858
  return { dynamic: false, encoded: padHex(value, { dir: "right" }) };
@@ -1959,7 +1961,7 @@ function getAbiItem(parameters) {
1959
1961
  return;
1960
1962
  if (abiItems.length === 1)
1961
1963
  return abiItems[0];
1962
- let matchedAbiItem = undefined;
1964
+ let matchedAbiItem;
1963
1965
  for (const abiItem of abiItems) {
1964
1966
  if (!("inputs" in abiItem))
1965
1967
  continue;
@@ -2612,16 +2614,8 @@ var ChainId;
2612
2614
  ChainId2[ChainId2["ArbitrumMainnet"] = 42161] = "ArbitrumMainnet";
2613
2615
  ChainId2[ChainId2["OptimismMainnet"] = 10] = "OptimismMainnet";
2614
2616
  ChainId2[ChainId2["WorldChainMainnet"] = 480] = "WorldChainMainnet";
2615
- ChainId2[ChainId2["FraxtalMainnet"] = 252] = "FraxtalMainnet";
2616
- ChainId2[ChainId2["ScrollMainnet"] = 534352] = "ScrollMainnet";
2617
- ChainId2[ChainId2["InkMainnet"] = 57073] = "InkMainnet";
2618
2617
  ChainId2[ChainId2["UnichainMainnet"] = 130] = "UnichainMainnet";
2619
2618
  ChainId2[ChainId2["SonicMainnet"] = 146] = "SonicMainnet";
2620
- ChainId2[ChainId2["HemiMainnet"] = 43111] = "HemiMainnet";
2621
- ChainId2[ChainId2["ModeMainnet"] = 34443] = "ModeMainnet";
2622
- ChainId2[ChainId2["CornMainnet"] = 21000000] = "CornMainnet";
2623
- ChainId2[ChainId2["PlumeMainnet"] = 98866] = "PlumeMainnet";
2624
- ChainId2[ChainId2["CampMainnet"] = 123420001114] = "CampMainnet";
2625
2619
  ChainId2[ChainId2["BerachainMainnet"] = 80094] = "BerachainMainnet";
2626
2620
  ChainId2[ChainId2["MantleMainnet"] = 5000] = "MantleMainnet";
2627
2621
  ChainId2[ChainId2["AvalancheMainnet"] = 43114] = "AvalancheMainnet";
@@ -2629,7 +2623,8 @@ var ChainId;
2629
2623
  ChainId2[ChainId2["KatanaMainnet"] = 747474] = "KatanaMainnet";
2630
2624
  ChainId2[ChainId2["BscMainnet"] = 56] = "BscMainnet";
2631
2625
  ChainId2[ChainId2["HyperEVMMainnet"] = 999] = "HyperEVMMainnet";
2632
- ChainId2[ChainId2["Linea"] = 59144] = "Linea";
2626
+ ChainId2[ChainId2["LineaMainnet"] = 59144] = "LineaMainnet";
2627
+ ChainId2[ChainId2["PlasmaMainnet"] = 9745] = "PlasmaMainnet";
2633
2628
  })(ChainId ||= {});
2634
2629
  var ChainUtils;
2635
2630
  ((ChainUtils) => {
@@ -2688,27 +2683,6 @@ var ChainUtils;
2688
2683
  explorerUrl: "https://worldscan.org",
2689
2684
  identifier: "worldchain"
2690
2685
  },
2691
- [252 /* FraxtalMainnet */]: {
2692
- name: "Fraxtal",
2693
- id: 252 /* FraxtalMainnet */,
2694
- nativeCurrency: { name: "Frax Ether", symbol: "frxETH", decimals: 18 },
2695
- explorerUrl: "https://fraxscan.com",
2696
- identifier: "fraxtal"
2697
- },
2698
- [534352 /* ScrollMainnet */]: {
2699
- name: "Scroll",
2700
- id: 534352 /* ScrollMainnet */,
2701
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
2702
- explorerUrl: "https://scrollscan.com",
2703
- identifier: "scroll"
2704
- },
2705
- [57073 /* InkMainnet */]: {
2706
- name: "Ink",
2707
- id: 57073 /* InkMainnet */,
2708
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
2709
- explorerUrl: "https://explorer.inkonchain.com",
2710
- identifier: "ink"
2711
- },
2712
2686
  [130 /* UnichainMainnet */]: {
2713
2687
  name: "Unichain",
2714
2688
  id: 130 /* UnichainMainnet */,
@@ -2723,41 +2697,6 @@ var ChainUtils;
2723
2697
  explorerUrl: "https://sonicscan.org",
2724
2698
  identifier: "sonic"
2725
2699
  },
2726
- [43111 /* HemiMainnet */]: {
2727
- name: "Hemi",
2728
- id: 43111 /* HemiMainnet */,
2729
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
2730
- explorerUrl: "https://explorer.hemi.xyz",
2731
- identifier: "hemi"
2732
- },
2733
- [34443 /* ModeMainnet */]: {
2734
- name: "Mode",
2735
- id: 34443 /* ModeMainnet */,
2736
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
2737
- explorerUrl: "https://modescan.io",
2738
- identifier: "mode"
2739
- },
2740
- [21000000 /* CornMainnet */]: {
2741
- name: "Corn",
2742
- id: 21000000 /* CornMainnet */,
2743
- nativeCurrency: { name: "Bitcoin", symbol: "BTCN", decimals: 18 },
2744
- explorerUrl: "https://cornscan.io",
2745
- identifier: "corn"
2746
- },
2747
- [98866 /* PlumeMainnet */]: {
2748
- name: "Plume",
2749
- id: 98866 /* PlumeMainnet */,
2750
- nativeCurrency: { name: "Plume", symbol: "PLUME", decimals: 18 },
2751
- explorerUrl: "https://phoenix-explorer.plumenetwork.xyz",
2752
- identifier: "plume"
2753
- },
2754
- [123420001114 /* CampMainnet */]: {
2755
- name: "Camp",
2756
- id: 123420001114 /* CampMainnet */,
2757
- nativeCurrency: { name: "Camp", symbol: "CAMP", decimals: 18 },
2758
- explorerUrl: "https://basecamp.cloud.blockscout.com/",
2759
- identifier: "camp"
2760
- },
2761
2700
  [80094 /* BerachainMainnet */]: {
2762
2701
  name: "Berachain",
2763
2702
  id: 80094 /* BerachainMainnet */,
@@ -2807,12 +2746,19 @@ var ChainUtils;
2807
2746
  explorerUrl: "https://hyperevmscan.io/",
2808
2747
  identifier: "hyperevm"
2809
2748
  },
2810
- [59144 /* Linea */]: {
2749
+ [59144 /* LineaMainnet */]: {
2811
2750
  name: "Linea Mainnet",
2812
- id: 59144 /* Linea */,
2751
+ id: 59144 /* LineaMainnet */,
2813
2752
  nativeCurrency: { name: "Linea Ether", symbol: "ETH", decimals: 18 },
2814
2753
  explorerUrl: "https://lineascan.build",
2815
2754
  identifier: "linea"
2755
+ },
2756
+ [9745 /* PlasmaMainnet */]: {
2757
+ name: "Plasma Mainnet Beta",
2758
+ id: 9745 /* PlasmaMainnet */,
2759
+ nativeCurrency: { name: "XPL", symbol: "XPL", decimals: 18 },
2760
+ explorerUrl: "https://plasmascan.to/",
2761
+ identifier: "plasma"
2816
2762
  }
2817
2763
  };
2818
2764
  })(ChainUtils ||= {});
@@ -2912,11 +2858,23 @@ var addresses = {
2912
2858
  wrappedNative: "0x5555555555555555555555555555555555555555",
2913
2859
  optinFactory: "0x90beB507A1BA7D64633540cbce615B574224CD84"
2914
2860
  },
2915
- [59144 /* Linea */]: {
2861
+ [59144 /* LineaMainnet */]: {
2916
2862
  feeRegistry: "0xC81Dd51239119Db80D5a6E1B7347F3C3BC8674d9",
2917
2863
  v0_4_0: "0xC094C224ce0406BC338E00837B96aD2e265F7287",
2918
2864
  wrappedNative: "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
2919
2865
  optinFactory: "0x8D6f5479B14348186faE9BC7E636e947c260f9B1"
2866
+ },
2867
+ [9745 /* PlasmaMainnet */]: {
2868
+ feeRegistry: "0xfd9fa4986C6cB8cbce6b632DD7c587EBCcaEDb7A",
2869
+ v0_5_0: "0xa61FAEB94249F08e05e7eD7502D6Ec86297Bc9e4",
2870
+ wrappedNative: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
2871
+ optinFactory: "0xF838E8Bd649fc6fBC48D44E9D87273c0519C45c9"
2872
+ },
2873
+ [137 /* PolygonMainnet */]: {
2874
+ feeRegistry: "0x744F9cA26CD9F6Be5cf79A00b1Ad457145D9F691",
2875
+ v0_5_0: "0x50f30E712D535b796C8543012D0C05218b89c7d5",
2876
+ wrappedNative: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
2877
+ optinFactory: "0x0C0E287f6e4de685f4b44A5282A3ad4A29D05a91"
2920
2878
  }
2921
2879
  };
2922
2880
  // src/utils.ts