@layerzerolabs/lz-definitions 3.0.167 → 3.1.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/LICENSE ADDED
@@ -0,0 +1,94 @@
1
+ Business Source License 1.1
2
+
3
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
4
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
5
+
6
+ -----------------------------------------------------------------------------
7
+
8
+ Parameters
9
+
10
+ Licensor: LayerZero Labs Ltd
11
+
12
+ Licensed Work: LayerZero Protocol
13
+ The Licensed Work is (c) 2023 LayerZero Labs Ltd
14
+
15
+ Change Date: 2025-02-01
16
+
17
+ -----------------------------------------------------------------------------
18
+
19
+ Terms
20
+
21
+ The Licensor hereby grants you the right to copy, modify, create derivative
22
+ works, redistribute, and make non-production use of the Licensed Work. The
23
+ Licensor may make an Additional Use Grant, above, permitting limited
24
+ production use.
25
+
26
+ Effective on the Change Date, or the fourth anniversary of the first publicly
27
+ available distribution of a specific version of the Licensed Work under this
28
+ License, whichever comes first, the Licensor hereby grants you rights under
29
+ the terms of the Change License, and the rights granted in the paragraph
30
+ above terminate.
31
+
32
+ If your use of the Licensed Work does not comply with the requirements
33
+ currently in effect as described in this License, you must purchase a
34
+ commercial license from the Licensor, its affiliated entities, or authorized
35
+ resellers, or you must refrain from using the Licensed Work.
36
+
37
+ All copies of the original and modified Licensed Work, and derivative works
38
+ of the Licensed Work, are subject to this License. This License applies
39
+ separately for each version of the Licensed Work and the Change Date may vary
40
+ for each version of the Licensed Work released by Licensor.
41
+
42
+ You must conspicuously display this License on each original or modified copy
43
+ of the Licensed Work. If you receive the Licensed Work in original or
44
+ modified form from a third party, the terms and conditions set forth in this
45
+ License apply to your use of that work.
46
+
47
+ Any use of the Licensed Work in violation of this License will automatically
48
+ terminate your rights under this License for the current and all other
49
+ versions of the Licensed Work.
50
+
51
+ This License does not grant you any right in any trademark or logo of
52
+ Licensor or its affiliates (provided that you may use a trademark or logo of
53
+ Licensor as expressly required by this License).
54
+
55
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
56
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
57
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
58
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
59
+ TITLE.
60
+
61
+ MariaDB hereby grants you permission to use this License’s text to license
62
+ your works, and to refer to it using the trademark "Business Source License",
63
+ as long as you comply with the Covenants of Licensor below.
64
+
65
+ -----------------------------------------------------------------------------
66
+
67
+ Covenants of Licensor
68
+
69
+ In consideration of the right to use this License’s text and the "Business
70
+ Source License" name and trademark, Licensor covenants to MariaDB, and to all
71
+ other recipients of the licensed work to be provided by Licensor:
72
+
73
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
74
+ or a license that is compatible with GPL Version 2.0 or a later version,
75
+ where "compatible" means that software provided under the Change License can
76
+ be included in a program with software provided under GPL Version 2.0 or a
77
+ later version. Licensor may specify additional Change Licenses without
78
+ limitation.
79
+
80
+ 2. To either: (a) specify an additional grant of rights to use that does not
81
+ impose any additional restriction on the right granted in this License, as
82
+ the Additional Use Grant; or (b) insert the text "None".
83
+
84
+ 3. To specify a Change Date.
85
+
86
+ 4. Not to modify this License in any other way.
87
+
88
+ -----------------------------------------------------------------------------
89
+
90
+ Notice
91
+
92
+ The Business Source License (this document, or the "License") is not an Open
93
+ Source license. However, the Licensed Work will eventually be made available
94
+ under an Open Source License, as stated in this License.
package/dist/index.cjs CHANGED
@@ -284,6 +284,11 @@ var EvmChain = /* @__PURE__ */ ((EvmChain2) => {
284
284
  EvmChain2["SEISMIC"] = "seismic";
285
285
  EvmChain2["NEOX"] = "neox";
286
286
  EvmChain2["RAYLS"] = "rayls";
287
+ EvmChain2["MONINET"] = "moninet";
288
+ EvmChain2["RITUAL"] = "ritual";
289
+ EvmChain2["ONEMONEY"] = "onemoney";
290
+ EvmChain2["ADI"] = "adi";
291
+ EvmChain2["ADIRI"] = "adiri";
287
292
  return EvmChain2;
288
293
  })(EvmChain || {});
289
294
 
@@ -533,6 +538,10 @@ var MainnetEndpointId = /* @__PURE__ */ ((MainnetEndpointId2) => {
533
538
  MainnetEndpointId2[MainnetEndpointId2["EDGE_MAINNET"] = 411] = "EDGE_MAINNET";
534
539
  MainnetEndpointId2[MainnetEndpointId2["GENSYN_MAINNET"] = 412] = "GENSYN_MAINNET";
535
540
  MainnetEndpointId2[MainnetEndpointId2["AULT_MAINNET"] = 413] = "AULT_MAINNET";
541
+ MainnetEndpointId2[MainnetEndpointId2["NEOX_MAINNET"] = 414] = "NEOX_MAINNET";
542
+ MainnetEndpointId2[MainnetEndpointId2["RAYLS_MAINNET"] = 415] = "RAYLS_MAINNET";
543
+ MainnetEndpointId2[MainnetEndpointId2["ROBINHOOD_MAINNET"] = 416] = "ROBINHOOD_MAINNET";
544
+ MainnetEndpointId2[MainnetEndpointId2["ARC_MAINNET"] = 417] = "ARC_MAINNET";
536
545
  return MainnetEndpointId2;
537
546
  })(MainnetEndpointId || {});
538
547
  var TestnetEndpointId = /* @__PURE__ */ ((TestnetEndpointId2) => {
@@ -776,6 +785,11 @@ var TestnetEndpointId = /* @__PURE__ */ ((TestnetEndpointId2) => {
776
785
  TestnetEndpointId2[TestnetEndpointId2["SEISMIC_TESTNET"] = 10456] = "SEISMIC_TESTNET";
777
786
  TestnetEndpointId2[TestnetEndpointId2["NEOX_TESTNET"] = 10457] = "NEOX_TESTNET";
778
787
  TestnetEndpointId2[TestnetEndpointId2["RAYLS_TESTNET"] = 10458] = "RAYLS_TESTNET";
788
+ TestnetEndpointId2[TestnetEndpointId2["MONINET_TESTNET"] = 10459] = "MONINET_TESTNET";
789
+ TestnetEndpointId2[TestnetEndpointId2["RITUAL_TESTNET"] = 10460] = "RITUAL_TESTNET";
790
+ TestnetEndpointId2[TestnetEndpointId2["ONEMONEY_TESTNET"] = 10461] = "ONEMONEY_TESTNET";
791
+ TestnetEndpointId2[TestnetEndpointId2["ADI_TESTNET"] = 10462] = "ADI_TESTNET";
792
+ TestnetEndpointId2[TestnetEndpointId2["ADIRI_TESTNET"] = 10463] = "ADIRI_TESTNET";
779
793
  return TestnetEndpointId2;
780
794
  })(TestnetEndpointId || {});
781
795
  var SandboxEndpointId = /* @__PURE__ */ ((SandboxEndpointId2) => {
@@ -973,6 +987,10 @@ var MainnetV2EndpointId = /* @__PURE__ */ ((MainnetV2EndpointId2) => {
973
987
  MainnetV2EndpointId2[MainnetV2EndpointId2["EDGE_V2_MAINNET"] = 30411] = "EDGE_V2_MAINNET";
974
988
  MainnetV2EndpointId2[MainnetV2EndpointId2["GENSYN_V2_MAINNET"] = 30412] = "GENSYN_V2_MAINNET";
975
989
  MainnetV2EndpointId2[MainnetV2EndpointId2["AULT_V2_MAINNET"] = 30413] = "AULT_V2_MAINNET";
990
+ MainnetV2EndpointId2[MainnetV2EndpointId2["NEOX_V2_MAINNET"] = 30414] = "NEOX_V2_MAINNET";
991
+ MainnetV2EndpointId2[MainnetV2EndpointId2["RAYLS_V2_MAINNET"] = 30415] = "RAYLS_V2_MAINNET";
992
+ MainnetV2EndpointId2[MainnetV2EndpointId2["ROBINHOOD_V2_MAINNET"] = 30416] = "ROBINHOOD_V2_MAINNET";
993
+ MainnetV2EndpointId2[MainnetV2EndpointId2["ARC_V2_MAINNET"] = 30417] = "ARC_V2_MAINNET";
976
994
  MainnetV2EndpointId2[MainnetV2EndpointId2["STELLAR_V2_MAINNET"] = 30600] = "STELLAR_V2_MAINNET";
977
995
  return MainnetV2EndpointId2;
978
996
  })(MainnetV2EndpointId || {});
@@ -1222,6 +1240,11 @@ var TestnetV2EndpointId = /* @__PURE__ */ ((TestnetV2EndpointId2) => {
1222
1240
  TestnetV2EndpointId2[TestnetV2EndpointId2["STELLAR_V2_TESTNET"] = 40600] = "STELLAR_V2_TESTNET";
1223
1241
  TestnetV2EndpointId2[TestnetV2EndpointId2["NEOX_V2_TESTNET"] = 40457] = "NEOX_V2_TESTNET";
1224
1242
  TestnetV2EndpointId2[TestnetV2EndpointId2["RAYLS_V2_TESTNET"] = 40458] = "RAYLS_V2_TESTNET";
1243
+ TestnetV2EndpointId2[TestnetV2EndpointId2["MONINET_V2_TESTNET"] = 40459] = "MONINET_V2_TESTNET";
1244
+ TestnetV2EndpointId2[TestnetV2EndpointId2["RITUAL_V2_TESTNET"] = 40460] = "RITUAL_V2_TESTNET";
1245
+ TestnetV2EndpointId2[TestnetV2EndpointId2["ONEMONEY_V2_TESTNET"] = 40461] = "ONEMONEY_V2_TESTNET";
1246
+ TestnetV2EndpointId2[TestnetV2EndpointId2["ADI_V2_TESTNET"] = 40462] = "ADI_V2_TESTNET";
1247
+ TestnetV2EndpointId2[TestnetV2EndpointId2["ADIRI_V2_TESTNET"] = 40463] = "ADIRI_V2_TESTNET";
1225
1248
  return TestnetV2EndpointId2;
1226
1249
  })(TestnetV2EndpointId || {});
1227
1250
  var SandboxV2EndpointId = /* @__PURE__ */ ((SandboxV2EndpointId2) => {
@@ -1740,6 +1763,15 @@ var ChainKey = /* @__PURE__ */ ((ChainKey3) => {
1740
1763
  ChainKey3["STELLAR_TESTNET"] = "stellar-testnet";
1741
1764
  ChainKey3["NEOX_TESTNET"] = "neox-testnet";
1742
1765
  ChainKey3["RAYLS_TESTNET"] = "rayls-testnet";
1766
+ ChainKey3["MONINET_TESTNET"] = "moninet-testnet";
1767
+ ChainKey3["NEOX"] = "neox";
1768
+ ChainKey3["RITUAL_TESTNET"] = "ritual-testnet";
1769
+ ChainKey3["ONEMONEY_TESTNET"] = "onemoney-testnet";
1770
+ ChainKey3["ADI_TESTNET"] = "adi-testnet";
1771
+ ChainKey3["ADIRI_TESTNET"] = "adiri-testnet";
1772
+ ChainKey3["RAYLS"] = "rayls";
1773
+ ChainKey3["ROBINHOOD"] = "robinhood";
1774
+ ChainKey3["ARC"] = "arc";
1743
1775
  return ChainKey3;
1744
1776
  })(ChainKey || {});
1745
1777
 
@@ -1933,6 +1965,10 @@ var CHAIN_KEY = {
1933
1965
  [EndpointId.EDGE_MAINNET]: "edge" /* EDGE */,
1934
1966
  [EndpointId.GENSYN_MAINNET]: "gensyn" /* GENSYN */,
1935
1967
  [EndpointId.AULT_MAINNET]: "ault" /* AULT */,
1968
+ [EndpointId.NEOX_MAINNET]: "neox" /* NEOX */,
1969
+ [EndpointId.RAYLS_MAINNET]: "rayls" /* RAYLS */,
1970
+ [EndpointId.ROBINHOOD_MAINNET]: "robinhood" /* ROBINHOOD */,
1971
+ [EndpointId.ARC_MAINNET]: "arc" /* ARC */,
1936
1972
  // v2 mainnet
1937
1973
  [EndpointId.ETHEREUM_V2_MAINNET]: "ethereum" /* ETHEREUM */,
1938
1974
  [EndpointId.BSC_V2_MAINNET]: "bsc" /* BSC */,
@@ -2113,6 +2149,10 @@ var CHAIN_KEY = {
2113
2149
  [EndpointId.EDGE_V2_MAINNET]: "edge" /* EDGE */,
2114
2150
  [EndpointId.GENSYN_V2_MAINNET]: "gensyn" /* GENSYN */,
2115
2151
  [EndpointId.AULT_V2_MAINNET]: "ault" /* AULT */,
2152
+ [EndpointId.NEOX_V2_MAINNET]: "neox" /* NEOX */,
2153
+ [EndpointId.RAYLS_V2_MAINNET]: "rayls" /* RAYLS */,
2154
+ [EndpointId.ROBINHOOD_V2_MAINNET]: "robinhood" /* ROBINHOOD */,
2155
+ [EndpointId.ARC_V2_MAINNET]: "arc" /* ARC */,
2116
2156
  [EndpointId.STELLAR_V2_MAINNET]: "stellar" /* STELLAR */,
2117
2157
  // testnet
2118
2158
  [EndpointId.ETHEREUM_TESTNET]: "sepolia" /* SEPOLIA */,
@@ -2355,6 +2395,11 @@ var CHAIN_KEY = {
2355
2395
  [EndpointId.SEISMIC_TESTNET]: "seismic-testnet" /* SEISMIC_TESTNET */,
2356
2396
  [EndpointId.NEOX_TESTNET]: "neox-testnet" /* NEOX_TESTNET */,
2357
2397
  [EndpointId.RAYLS_TESTNET]: "rayls-testnet" /* RAYLS_TESTNET */,
2398
+ [EndpointId.MONINET_TESTNET]: "moninet-testnet" /* MONINET_TESTNET */,
2399
+ [EndpointId.RITUAL_TESTNET]: "ritual-testnet" /* RITUAL_TESTNET */,
2400
+ [EndpointId.ONEMONEY_TESTNET]: "onemoney-testnet" /* ONEMONEY_TESTNET */,
2401
+ [EndpointId.ADI_TESTNET]: "adi-testnet" /* ADI_TESTNET */,
2402
+ [EndpointId.ADIRI_TESTNET]: "adiri-testnet" /* ADIRI_TESTNET */,
2358
2403
  // v2 testnet
2359
2404
  [EndpointId.ETHEREUM_V2_TESTNET]: "sepolia" /* SEPOLIA */,
2360
2405
  [EndpointId.POLYGON_V2_TESTNET]: "mumbai" /* MUMBAI */,
@@ -2601,6 +2646,11 @@ var CHAIN_KEY = {
2601
2646
  [EndpointId.STELLAR_V2_TESTNET]: "stellar-testnet" /* STELLAR_TESTNET */,
2602
2647
  [EndpointId.NEOX_V2_TESTNET]: "neox-testnet" /* NEOX_TESTNET */,
2603
2648
  [EndpointId.RAYLS_V2_TESTNET]: "rayls-testnet" /* RAYLS_TESTNET */,
2649
+ [EndpointId.MONINET_V2_TESTNET]: "moninet-testnet" /* MONINET_TESTNET */,
2650
+ [EndpointId.RITUAL_V2_TESTNET]: "ritual-testnet" /* RITUAL_TESTNET */,
2651
+ [EndpointId.ONEMONEY_V2_TESTNET]: "onemoney-testnet" /* ONEMONEY_TESTNET */,
2652
+ [EndpointId.ADI_V2_TESTNET]: "adi-testnet" /* ADI_TESTNET */,
2653
+ [EndpointId.ADIRI_V2_TESTNET]: "adiri-testnet" /* ADIRI_TESTNET */,
2604
2654
  // sandbox
2605
2655
  [EndpointId.ETHEREUM_SANDBOX]: "ethereum-sandbox" /* ETHEREUM_SANDBOX */,
2606
2656
  [EndpointId.BSC_SANDBOX]: "bsc-sandbox" /* BSC_SANDBOX */,
@@ -2810,6 +2860,10 @@ var ENVIRONMENT = {
2810
2860
  [EndpointId.EDGE_MAINNET]: "mainnet" /* MAINNET */,
2811
2861
  [EndpointId.GENSYN_MAINNET]: "mainnet" /* MAINNET */,
2812
2862
  [EndpointId.AULT_MAINNET]: "mainnet" /* MAINNET */,
2863
+ [EndpointId.NEOX_MAINNET]: "mainnet" /* MAINNET */,
2864
+ [EndpointId.RAYLS_MAINNET]: "mainnet" /* MAINNET */,
2865
+ [EndpointId.ROBINHOOD_MAINNET]: "mainnet" /* MAINNET */,
2866
+ [EndpointId.ARC_MAINNET]: "mainnet" /* MAINNET */,
2813
2867
  // v2 mainnet
2814
2868
  [EndpointId.ETHEREUM_V2_MAINNET]: "mainnet" /* MAINNET */,
2815
2869
  [EndpointId.BSC_V2_MAINNET]: "mainnet" /* MAINNET */,
@@ -2988,6 +3042,10 @@ var ENVIRONMENT = {
2988
3042
  [EndpointId.EDGE_V2_MAINNET]: "mainnet" /* MAINNET */,
2989
3043
  [EndpointId.GENSYN_V2_MAINNET]: "mainnet" /* MAINNET */,
2990
3044
  [EndpointId.AULT_V2_MAINNET]: "mainnet" /* MAINNET */,
3045
+ [EndpointId.NEOX_V2_MAINNET]: "mainnet" /* MAINNET */,
3046
+ [EndpointId.RAYLS_V2_MAINNET]: "mainnet" /* MAINNET */,
3047
+ [EndpointId.ROBINHOOD_V2_MAINNET]: "mainnet" /* MAINNET */,
3048
+ [EndpointId.ARC_V2_MAINNET]: "mainnet" /* MAINNET */,
2991
3049
  // non evm
2992
3050
  [EndpointId.STELLAR_V2_MAINNET]: "mainnet" /* MAINNET */,
2993
3051
  [EndpointId.IOTAL1_V2_MAINNET]: "mainnet" /* MAINNET */,
@@ -3233,6 +3291,11 @@ var ENVIRONMENT = {
3233
3291
  [EndpointId.SEISMIC_TESTNET]: "testnet" /* TESTNET */,
3234
3292
  [EndpointId.NEOX_TESTNET]: "testnet" /* TESTNET */,
3235
3293
  [EndpointId.RAYLS_TESTNET]: "testnet" /* TESTNET */,
3294
+ [EndpointId.MONINET_TESTNET]: "testnet" /* TESTNET */,
3295
+ [EndpointId.RITUAL_TESTNET]: "testnet" /* TESTNET */,
3296
+ [EndpointId.ONEMONEY_TESTNET]: "testnet" /* TESTNET */,
3297
+ [EndpointId.ADI_TESTNET]: "testnet" /* TESTNET */,
3298
+ [EndpointId.ADIRI_TESTNET]: "testnet" /* TESTNET */,
3236
3299
  // v2 testnet
3237
3300
  [EndpointId.ETHEREUM_V2_TESTNET]: "testnet" /* TESTNET */,
3238
3301
  [EndpointId.POLYGON_V2_TESTNET]: "testnet" /* TESTNET */,
@@ -3479,6 +3542,11 @@ var ENVIRONMENT = {
3479
3542
  [EndpointId.STELLAR_V2_TESTNET]: "testnet" /* TESTNET */,
3480
3543
  [EndpointId.NEOX_V2_TESTNET]: "testnet" /* TESTNET */,
3481
3544
  [EndpointId.RAYLS_V2_TESTNET]: "testnet" /* TESTNET */,
3545
+ [EndpointId.MONINET_V2_TESTNET]: "testnet" /* TESTNET */,
3546
+ [EndpointId.RITUAL_V2_TESTNET]: "testnet" /* TESTNET */,
3547
+ [EndpointId.ONEMONEY_V2_TESTNET]: "testnet" /* TESTNET */,
3548
+ [EndpointId.ADI_V2_TESTNET]: "testnet" /* TESTNET */,
3549
+ [EndpointId.ADIRI_V2_TESTNET]: "testnet" /* TESTNET */,
3482
3550
  // sandbox
3483
3551
  [EndpointId.ETHEREUM_SANDBOX]: "testnet" /* TESTNET */,
3484
3552
  [EndpointId.BSC_SANDBOX]: "testnet" /* TESTNET */,