@layerzerolabs/lz-definitions 3.0.168 → 3.1.1

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
@@ -285,6 +285,10 @@ var EvmChain = /* @__PURE__ */ ((EvmChain2) => {
285
285
  EvmChain2["NEOX"] = "neox";
286
286
  EvmChain2["RAYLS"] = "rayls";
287
287
  EvmChain2["MONINET"] = "moninet";
288
+ EvmChain2["RITUAL"] = "ritual";
289
+ EvmChain2["ONEMONEY"] = "onemoney";
290
+ EvmChain2["ADI"] = "adi";
291
+ EvmChain2["ADIRI"] = "adiri";
288
292
  return EvmChain2;
289
293
  })(EvmChain || {});
290
294
 
@@ -535,6 +539,9 @@ var MainnetEndpointId = /* @__PURE__ */ ((MainnetEndpointId2) => {
535
539
  MainnetEndpointId2[MainnetEndpointId2["GENSYN_MAINNET"] = 412] = "GENSYN_MAINNET";
536
540
  MainnetEndpointId2[MainnetEndpointId2["AULT_MAINNET"] = 413] = "AULT_MAINNET";
537
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";
538
545
  return MainnetEndpointId2;
539
546
  })(MainnetEndpointId || {});
540
547
  var TestnetEndpointId = /* @__PURE__ */ ((TestnetEndpointId2) => {
@@ -779,6 +786,10 @@ var TestnetEndpointId = /* @__PURE__ */ ((TestnetEndpointId2) => {
779
786
  TestnetEndpointId2[TestnetEndpointId2["NEOX_TESTNET"] = 10457] = "NEOX_TESTNET";
780
787
  TestnetEndpointId2[TestnetEndpointId2["RAYLS_TESTNET"] = 10458] = "RAYLS_TESTNET";
781
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";
782
793
  return TestnetEndpointId2;
783
794
  })(TestnetEndpointId || {});
784
795
  var SandboxEndpointId = /* @__PURE__ */ ((SandboxEndpointId2) => {
@@ -977,6 +988,9 @@ var MainnetV2EndpointId = /* @__PURE__ */ ((MainnetV2EndpointId2) => {
977
988
  MainnetV2EndpointId2[MainnetV2EndpointId2["GENSYN_V2_MAINNET"] = 30412] = "GENSYN_V2_MAINNET";
978
989
  MainnetV2EndpointId2[MainnetV2EndpointId2["AULT_V2_MAINNET"] = 30413] = "AULT_V2_MAINNET";
979
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";
980
994
  MainnetV2EndpointId2[MainnetV2EndpointId2["STELLAR_V2_MAINNET"] = 30600] = "STELLAR_V2_MAINNET";
981
995
  return MainnetV2EndpointId2;
982
996
  })(MainnetV2EndpointId || {});
@@ -1227,6 +1241,10 @@ var TestnetV2EndpointId = /* @__PURE__ */ ((TestnetV2EndpointId2) => {
1227
1241
  TestnetV2EndpointId2[TestnetV2EndpointId2["NEOX_V2_TESTNET"] = 40457] = "NEOX_V2_TESTNET";
1228
1242
  TestnetV2EndpointId2[TestnetV2EndpointId2["RAYLS_V2_TESTNET"] = 40458] = "RAYLS_V2_TESTNET";
1229
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";
1230
1248
  return TestnetV2EndpointId2;
1231
1249
  })(TestnetV2EndpointId || {});
1232
1250
  var SandboxV2EndpointId = /* @__PURE__ */ ((SandboxV2EndpointId2) => {
@@ -1747,6 +1765,13 @@ var ChainKey = /* @__PURE__ */ ((ChainKey3) => {
1747
1765
  ChainKey3["RAYLS_TESTNET"] = "rayls-testnet";
1748
1766
  ChainKey3["MONINET_TESTNET"] = "moninet-testnet";
1749
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";
1750
1775
  return ChainKey3;
1751
1776
  })(ChainKey || {});
1752
1777
 
@@ -1941,6 +1966,9 @@ var CHAIN_KEY = {
1941
1966
  [EndpointId.GENSYN_MAINNET]: "gensyn" /* GENSYN */,
1942
1967
  [EndpointId.AULT_MAINNET]: "ault" /* AULT */,
1943
1968
  [EndpointId.NEOX_MAINNET]: "neox" /* NEOX */,
1969
+ [EndpointId.RAYLS_MAINNET]: "rayls" /* RAYLS */,
1970
+ [EndpointId.ROBINHOOD_MAINNET]: "robinhood" /* ROBINHOOD */,
1971
+ [EndpointId.ARC_MAINNET]: "arc" /* ARC */,
1944
1972
  // v2 mainnet
1945
1973
  [EndpointId.ETHEREUM_V2_MAINNET]: "ethereum" /* ETHEREUM */,
1946
1974
  [EndpointId.BSC_V2_MAINNET]: "bsc" /* BSC */,
@@ -2122,6 +2150,9 @@ var CHAIN_KEY = {
2122
2150
  [EndpointId.GENSYN_V2_MAINNET]: "gensyn" /* GENSYN */,
2123
2151
  [EndpointId.AULT_V2_MAINNET]: "ault" /* AULT */,
2124
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 */,
2125
2156
  [EndpointId.STELLAR_V2_MAINNET]: "stellar" /* STELLAR */,
2126
2157
  // testnet
2127
2158
  [EndpointId.ETHEREUM_TESTNET]: "sepolia" /* SEPOLIA */,
@@ -2365,6 +2396,10 @@ var CHAIN_KEY = {
2365
2396
  [EndpointId.NEOX_TESTNET]: "neox-testnet" /* NEOX_TESTNET */,
2366
2397
  [EndpointId.RAYLS_TESTNET]: "rayls-testnet" /* RAYLS_TESTNET */,
2367
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 */,
2368
2403
  // v2 testnet
2369
2404
  [EndpointId.ETHEREUM_V2_TESTNET]: "sepolia" /* SEPOLIA */,
2370
2405
  [EndpointId.POLYGON_V2_TESTNET]: "mumbai" /* MUMBAI */,
@@ -2612,6 +2647,10 @@ var CHAIN_KEY = {
2612
2647
  [EndpointId.NEOX_V2_TESTNET]: "neox-testnet" /* NEOX_TESTNET */,
2613
2648
  [EndpointId.RAYLS_V2_TESTNET]: "rayls-testnet" /* RAYLS_TESTNET */,
2614
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 */,
2615
2654
  // sandbox
2616
2655
  [EndpointId.ETHEREUM_SANDBOX]: "ethereum-sandbox" /* ETHEREUM_SANDBOX */,
2617
2656
  [EndpointId.BSC_SANDBOX]: "bsc-sandbox" /* BSC_SANDBOX */,
@@ -2822,6 +2861,9 @@ var ENVIRONMENT = {
2822
2861
  [EndpointId.GENSYN_MAINNET]: "mainnet" /* MAINNET */,
2823
2862
  [EndpointId.AULT_MAINNET]: "mainnet" /* MAINNET */,
2824
2863
  [EndpointId.NEOX_MAINNET]: "mainnet" /* MAINNET */,
2864
+ [EndpointId.RAYLS_MAINNET]: "mainnet" /* MAINNET */,
2865
+ [EndpointId.ROBINHOOD_MAINNET]: "mainnet" /* MAINNET */,
2866
+ [EndpointId.ARC_MAINNET]: "mainnet" /* MAINNET */,
2825
2867
  // v2 mainnet
2826
2868
  [EndpointId.ETHEREUM_V2_MAINNET]: "mainnet" /* MAINNET */,
2827
2869
  [EndpointId.BSC_V2_MAINNET]: "mainnet" /* MAINNET */,
@@ -3001,6 +3043,9 @@ var ENVIRONMENT = {
3001
3043
  [EndpointId.GENSYN_V2_MAINNET]: "mainnet" /* MAINNET */,
3002
3044
  [EndpointId.AULT_V2_MAINNET]: "mainnet" /* MAINNET */,
3003
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 */,
3004
3049
  // non evm
3005
3050
  [EndpointId.STELLAR_V2_MAINNET]: "mainnet" /* MAINNET */,
3006
3051
  [EndpointId.IOTAL1_V2_MAINNET]: "mainnet" /* MAINNET */,
@@ -3247,6 +3292,10 @@ var ENVIRONMENT = {
3247
3292
  [EndpointId.NEOX_TESTNET]: "testnet" /* TESTNET */,
3248
3293
  [EndpointId.RAYLS_TESTNET]: "testnet" /* TESTNET */,
3249
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 */,
3250
3299
  // v2 testnet
3251
3300
  [EndpointId.ETHEREUM_V2_TESTNET]: "testnet" /* TESTNET */,
3252
3301
  [EndpointId.POLYGON_V2_TESTNET]: "testnet" /* TESTNET */,
@@ -3494,6 +3543,10 @@ var ENVIRONMENT = {
3494
3543
  [EndpointId.NEOX_V2_TESTNET]: "testnet" /* TESTNET */,
3495
3544
  [EndpointId.RAYLS_V2_TESTNET]: "testnet" /* TESTNET */,
3496
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 */,
3497
3550
  // sandbox
3498
3551
  [EndpointId.ETHEREUM_SANDBOX]: "testnet" /* TESTNET */,
3499
3552
  [EndpointId.BSC_SANDBOX]: "testnet" /* TESTNET */,