@stargatefinance/stg-definitions-v2 1.2.4 → 1.3.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.
package/dist/index.cjs CHANGED
@@ -4713,6 +4713,7 @@ var DVNS = {
4713
4713
  [EndpointId.MANTLE_V2_MAINNET]: "0xB19A9370D404308040A9760678c8Ca28aFfbbb76",
4714
4714
  [EndpointId.METIS_V2_MAINNET]: "0x6ABdb569Dc985504cCcB541ADE8445E5266e7388",
4715
4715
  [EndpointId.OPTIMISM_V2_MAINNET]: "0xa7b5189bcA84Cd304D8553977c7C614329750d99",
4716
+ [EndpointId.PEAQ_V2_MAINNET]: "0x725fafe20b74ff6f88daea0c506190a8f1037635",
4716
4717
  [EndpointId.POLYGON_V2_MAINNET]: "0x31F748a368a893Bdb5aBB67ec95F232507601A73",
4717
4718
  [EndpointId.RARIBLE_V2_MAINNET]: "0xb53648ca1aa054a80159c1175c03679fdc76bf88",
4718
4719
  [EndpointId.SCROLL_V2_MAINNET]: "0x446755349101cB20c582C224462c3912d3584dCE",
@@ -4759,6 +4760,7 @@ var DVNS = {
4759
4760
  [EndpointId.LIGHTLINK_V2_MAINNET]: "0x0e95cf21ad9376a26997c97f326c5a0a267bb8ff",
4760
4761
  [EndpointId.METIS_V2_MAINNET]: "0x61a1b61a1087be03abedc04900cfcc1c14187237",
4761
4762
  [EndpointId.OPTIMISM_V2_MAINNET]: "0xfe6507f094155cabb4784403cd784c2df04122dd",
4763
+ [EndpointId.PEAQ_V2_MAINNET]: "0x18f76f0d8ccd176bbe59b3870fa486d1fff87026",
4762
4764
  [EndpointId.POLYGON_V2_MAINNET]: "0xc79f0b1bcb7cdae9f9ba547dcfc57cbfcd2993a5",
4763
4765
  [EndpointId.RARIBLE_V2_MAINNET]: "0x2fa870cee4da57de84d1db36759d4716ad7e5038",
4764
4766
  [EndpointId.SCROLL_V2_MAINNET]: "0xb87591d8b0b93fae8b631a073577c40e8dd46a62",
@@ -4791,6 +4793,7 @@ var EXECUTORS = {
4791
4793
  [EndpointId.MANTLE_V2_MAINNET]: "0x4Fc3f4A38Acd6E4cC0ccBc04B3Dd1CCAeFd7F3Cd",
4792
4794
  [EndpointId.METIS_V2_MAINNET]: "0xE6AB3B3E632f3C65c3cb4c250DcC42f5E915A1cf",
4793
4795
  [EndpointId.OPTIMISM_V2_MAINNET]: "0x2D2ea0697bdbede3F01553D2Ae4B8d0c486B666e",
4796
+ [EndpointId.PEAQ_V2_MAINNET]: "0xcCE466a522984415bC91338c232d98869193D46e",
4794
4797
  [EndpointId.POLYGON_V2_MAINNET]: "0xCd3F213AD101472e1713C72B1697E727C803885b",
4795
4798
  [EndpointId.RARIBLE_V2_MAINNET]: "0x1E4CAc6c2c955cAED779ef24d5B8C5EE90b1f914",
4796
4799
  [EndpointId.SCROLL_V2_MAINNET]: "0x581b26F362AD383f7B51eF8A165Efa13DDe398a4",
@@ -4874,6 +4877,11 @@ var ASSETS = {
4874
4877
  [EndpointId.OPTIMISM_V2_MAINNET]: {
4875
4878
  type: "Native" /* Native */
4876
4879
  },
4880
+ [EndpointId.PEAQ_V2_MAINNET]: {
4881
+ symbol: "WETH",
4882
+ name: "WETH",
4883
+ type: "OFT" /* Oft */
4884
+ },
4877
4885
  [EndpointId.SCROLL_V2_MAINNET]: {
4878
4886
  type: "Native" /* Native */
4879
4887
  },
@@ -4923,6 +4931,13 @@ var ASSETS = {
4923
4931
  //
4924
4932
  // MAINNET
4925
4933
  //
4934
+ /*
4935
+ EXAMPLE:
4936
+ [EndpointId.ABC_V2_MAINNET]: {
4937
+ type: StargateType.Oft,
4938
+ address: '0xABC123',
4939
+ },
4940
+ */
4926
4941
  [EndpointId.ARBITRUM_V2_MAINNET]: {
4927
4942
  type: "Pool" /* Pool */,
4928
4943
  address: "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9"
@@ -4977,6 +4992,10 @@ var ASSETS = {
4977
4992
  type: "Pool" /* Pool */,
4978
4993
  address: "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58"
4979
4994
  },
4995
+ [EndpointId.PEAQ_V2_MAINNET]: {
4996
+ type: "OFT" /* Oft */,
4997
+ address: "0xef589ab11Ff43e87F50Dc6D8C20a91C5CaDF1901"
4998
+ },
4980
4999
  [EndpointId.POLYGON_V2_MAINNET]: {
4981
5000
  type: "Pool" /* Pool */,
4982
5001
  address: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f"
@@ -5095,6 +5114,10 @@ var ASSETS = {
5095
5114
  address: "0x0b2c639c533813f4aa9d7837caf62653d097ff85",
5096
5115
  type: "Pool" /* Pool */
5097
5116
  },
5117
+ [EndpointId.PEAQ_V2_MAINNET]: {
5118
+ type: "OFT" /* Oft */,
5119
+ address: "0xbbA60da06c2c5424f03f7434542280FCAd453d10"
5120
+ },
5098
5121
  [EndpointId.POLYGON_V2_MAINNET]: {
5099
5122
  address: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
5100
5123
  type: "Pool" /* Pool */
@@ -5230,6 +5253,7 @@ var OFT_WRAPPER = {
5230
5253
  [EndpointId.MOONRIVER_V2_MAINNET]: {},
5231
5254
  [EndpointId.OPBNB_V2_MAINNET]: {},
5232
5255
  [EndpointId.OPTIMISM_V2_MAINNET]: {},
5256
+ [EndpointId.PEAQ_V2_MAINNET]: {},
5233
5257
  [EndpointId.POLYGON_V2_MAINNET]: {},
5234
5258
  [EndpointId.RARIBLE_V2_MAINNET]: {},
5235
5259
  [EndpointId.SCROLL_V2_MAINNET]: {},
@@ -5521,15 +5545,13 @@ var NETWORKS = {
5521
5545
  creditMessaging: {
5522
5546
  ...DEFAULT_CREDIT_MESSAGING_NETWORK_CONFIG,
5523
5547
  requiredDVNs: [DVNS.NETHERMIND[EndpointId.EBI_V2_MAINNET], DVNS.STG[EndpointId.EBI_V2_MAINNET]],
5524
- executor: EXECUTORS.LZ_LABS[EndpointId.EBI_V2_MAINNET],
5525
- confirmations: BigInt(50)
5548
+ executor: EXECUTORS.LZ_LABS[EndpointId.EBI_V2_MAINNET]
5526
5549
  },
5527
5550
  tokenMessaging: {
5528
5551
  ...DEFAULT_TOKEN_MESSAGING_NETWORK_CONFIG,
5529
5552
  requiredDVNs: [DVNS.NETHERMIND[EndpointId.EBI_V2_MAINNET], DVNS.STG[EndpointId.EBI_V2_MAINNET]],
5530
5553
  executor: EXECUTORS.LZ_LABS[EndpointId.EBI_V2_MAINNET],
5531
- nativeDropAmount: parseEther("0.00003").toBigInt(),
5532
- confirmations: BigInt(50)
5554
+ nativeDropAmount: parseEther("0.00003").toBigInt()
5533
5555
  },
5534
5556
  safeConfig: {
5535
5557
  safeAddress: "0xb93Aa694A3De8662E1ca9aD0C811440E48cDFe5E",
@@ -5817,6 +5839,35 @@ var NETWORKS = {
5817
5839
  safeUrl: "https://safe-transaction-optimism.safe.global/"
5818
5840
  }
5819
5841
  },
5842
+ [EndpointId.PEAQ_V2_MAINNET]: {
5843
+ creditMessaging: {
5844
+ ...DEFAULT_CREDIT_MESSAGING_NETWORK_CONFIG,
5845
+ requiredDVNs: [DVNS.NETHERMIND[EndpointId.PEAQ_V2_MAINNET], DVNS.STG[EndpointId.PEAQ_V2_MAINNET]],
5846
+ executor: EXECUTORS.LZ_LABS[EndpointId.PEAQ_V2_MAINNET]
5847
+ },
5848
+ tokenMessaging: {
5849
+ ...DEFAULT_TOKEN_MESSAGING_NETWORK_CONFIG,
5850
+ requiredDVNs: [DVNS.NETHERMIND[EndpointId.PEAQ_V2_MAINNET], DVNS.STG[EndpointId.PEAQ_V2_MAINNET]],
5851
+ executor: EXECUTORS.LZ_LABS[EndpointId.PEAQ_V2_MAINNET],
5852
+ nativeDropAmount: parseEther("0.01").toBigInt()
5853
+ },
5854
+ safeConfig: {
5855
+ safeAddress: "0xB2687F7F6290aBa4ED3290ffFF6cB2e1cc30686D",
5856
+ safeUrl: "https://peaq-tx.lzdevnet.org/",
5857
+ contractNetworks: {
5858
+ [3338]: {
5859
+ multiSendAddress: "0x3150DF8a991204d541AD13988B609C6f50af0B7b",
5860
+ multiSendCallOnlyAddress: "0x6E5df01a1bEFe75bb01FCC20d3a8cCbF6c8f0356",
5861
+ safeMasterCopyAddress: "0xEFABd4B65F9E7097Dc7bf69de6FC9CbA2C227b9C",
5862
+ safeProxyFactoryAddress: "0xF545Fd55CeB06365f660AD8cC45A838eDAcBa6dC",
5863
+ fallbackHandlerAddress: "0xE3AfD9dDd88F10355C51197A350855B9c3FdC9d5",
5864
+ createCallAddress: "0x3fde1294F61A6f70e5eA7A4E4f3a4047E0C0eC11",
5865
+ signMessageLibAddress: "0xde261fCa19e0C85A46308D268C9968D001AF4d72",
5866
+ simulateTxAccessorAddress: "0x2023FD9E5d626425b55B8Beb62Ae5934e27a9f5e"
5867
+ }
5868
+ }
5869
+ }
5870
+ },
5820
5871
  [EndpointId.POLYGON_V2_MAINNET]: {
5821
5872
  creditMessaging: {
5822
5873
  ...DEFAULT_CREDIT_MESSAGING_NETWORK_CONFIG,